flagflag  If you want to see English page, please click "English" Button at Left.
8: 2020-11-01 (日) 22:03:43 iseki ソース 9: 2020-11-02 (月) 01:06:04 iseki ソース
Line 18: Line 18:
 ERROR: The default postgresql version is not 13 required by libgvmd  ERROR: The default postgresql version is not 13 required by libgvmd
 Error: Use pg_upgradecluster to update your postgres cluster  Error: Use pg_upgradecluster to update your postgres cluster
-- 一旦 postgresql,gvm をアンインストールすて,gvm を入れ直し. ++ 一旦 postgresql,gvm をアンインストールすて,gvm を入れ直し. 
-- gvm-check-setup を使ってチェック++ gvm-check-setup を使ってチェック
-- runuser -u _gvm -- gvm-manage-certs -a -f  証明書を作る -- runuser -u _gvm -- gvm-manage-certs -a -f  証明書を作る
- 
-- redis-server の起動  (REmote DIctionary Server. In Memory DB, NO SQL) -- redis-server の起動  (REmote DIctionary Server. In Memory DB, NO SQL)
--- redis-openvas.conf だと起動しない? --- redis-openvas.conf だと起動しない?
Line 29: Line 28:
 # cd /var/run/redis-openvas  # cd /var/run/redis-openvas
 # ln -s ../redis/redis-server.sock .  # ln -s ../redis/redis-server.sock .
- 
---ディレクトリに ln 張った方が早いか? ---ディレクトリに ln 張った方が早いか?
- 
-- runuser -u _gvm -- greenbone-nvt-sync -- runuser -u _gvm -- greenbone-nvt-sync
--- NASL(Nessus Attack Scripting Language)ファイルをガンガン download し始める. --- NASL(Nessus Attack Scripting Language)ファイルをガンガン download し始める.
- 
-- runuser -u _gvm -- greenbone-scapdata-sync -- runuser -u _gvm -- greenbone-scapdata-sync
--- NVD(National Vulnerability Database) から CVE (Common Vulnerabilities and Exposures:脆弱性データベース) を落とし始める --- NVD(National Vulnerability Database) から CVE (Common Vulnerabilities and Exposures:脆弱性データベース) を落とし始める
 +-- runuser -u _gvm -- greenbone-certdata-sync
 +--- ...
 +-- ERROR: The default postgresql version is not the one used for gvmd compilation: (11, need 13).
 +--- https://www.paulox.net/2020/04/24/upgrad​ing-postgresql-from-version-11-to-12-on-​ubuntu-20-04-focal-fossa/
 + # dpkg -l | grep postgresql
 + # pg_lsclusters
 + # pg_dropcluster 12 main --stop
 + # pg_dropcluster 13 main --stop
 + # pg_upgradecluster 11 main
 + # ps ax|grep post
 +-- runuser -u postgres -- /usr/share/gvm/create-postgresql-databas​e 
 +-- sudo runuser -u _gvm -- gvmd --create-user=<name> --password=<password> 
 ++ gvm-setup 
 +-- /usr/bin/gvm-start スクリプトの URL の 127.0.0.1 を書き換える 
 ++ gvm-start 
 +-- このスクリプトは,最後に GUIのxdg-open を起動しようとしているので,X-Window でない場合は xgd-openを止める. 
 +-- systemctl start greenbone-security-assistant gvmd ospd-openvas  の方が良いかも 
 +-- systemctl --no-pager -l status greenbone-security-assistant gvmd ospd-openvas  続いてこれも実行される. 
 +-- localhost 以外からのアクセスは /usr/lib/systemd/system/greenbone-securi​ty-assistant.service を修正する 
 ++ gvm-stop 
 + systemctl stop greenbone-security-assistant gvmd ospd-openvas 
 + systemctl --no-pager -l status greenbone-security-assistant gvmd ospd-openvas
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

77 人のユーザが現在オンラインです。 (8 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 77

もっと...

アクセスカウンタ

今日 : 1024310243102431024310243
昨日 : 1265612656126561265612656
総計 : 2353567423535674235356742353567423535674235356742353567423535674
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com