I created this directory under /var/lib/openvas: mkdir -p scap-download Ran greenbone-scapdata-sync, still getting the same error. Where is supposed to be /scap-download directory created? Thanks, - xinhuan
On 5/17/18, 3:50 PM, "Openvas-discuss on behalf of Reindl Harald" <openvas-discuss-boun...@wald.intevation.org on behalf of h.rei...@thelounge.net> wrote: > >receiving incremental file list >rsync: opendir "/scap-download" (in scap-data) failed: Permission denied >(13) >IO error encountered -- skipping file deletion > >Am 17.05.2018 um 21:48 schrieb Xinhuan Zheng: >> Hello, >> >> Today when I set up a brand new OpenVAS server on CentOS 7 system, after >> running openvas-setup, I received below error when logging into GUI: >> >> Warning: SecInfo Database Missing >> >> I ran openvas-check-setup -v9. There is errors: >> >> Step 2: Checking OpenVAS Manager ... >> OK: OpenVAS Manager is present in version 7.0.2. >> OK: OpenVAS Manager database found in >>/var/lib/openvas/mgr/tasks.db. >> OK: Access rights for the OpenVAS Manager database are correct. >> OK: sqlite3 found, extended checks of the OpenVAS Manager >> installation enabled. >> OK: OpenVAS Manager database is at revision 184. >> OK: OpenVAS Manager expects database at revision 184. >> OK: Database schema is up to date. >> OK: OpenVAS Manager database contains information about 45004 >>NVTs. >> OK: At least one user exists. >> ERROR: No OpenVAS SCAP database found. (Tried: >> /var/lib/openvas/scap-data/scap.db) >> FIX: Run a SCAP synchronization script like >>greenbone-scapdata-sync. >> >> ERROR: Your OpenVAS-9 installation is not yet complete! >> >> However, when I tried to run /usr/sbin/greenbone-scapdata-sync, I >> received below errors: >> >> # /usr/sbin/greenbone-scapdata-sync >> OpenVAS community feed server - http://www.openvas.org/ >> This service is hosted by Greenbone Networks - http://www.greenbone.net/ >> >> All transactions are logged. >> >> If you have any questions, please use the OpenVAS mailing lists >> or the OpenVAS IRC chat. See http://www.openvas.org/ for details. >> >> By using this service you agree to our terms and conditions. >> >> Only one sync per time, otherwise the source ip will be blocked. >> >> receiving incremental file list >> timestamp >> 13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1) >> >> sent 43 bytes received 105 bytes 98.67 bytes/sec >> total size is 13 speedup is 0.09 >> OpenVAS community feed server - http://www.openvas.org/ >> This service is hosted by Greenbone Networks - http://www.greenbone.net/ >> >> All transactions are logged. >> >> If you have any questions, please use the OpenVAS mailing lists >> or the OpenVAS IRC chat. See http://www.openvas.org/ for details. >> >> By using this service you agree to our terms and conditions. >> >> Only one sync per time, otherwise the source ip will be blocked. >> >> receiving incremental file list >> rsync: opendir "/scap-download" (in scap-data) failed: Permission denied >> (13) >> IO error encountered -- skipping file deletion >> ./ >> timestamp >> 13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=102/162) >> >> sent 99 bytes received 4,236 bytes 2,890.00 bytes/sec >> total size is 1,866,433,683 speedup is 430,549.87 >> rsync error: some files/attrs were not transferred (see previous errors) >> (code 23) at main.c(1650) [generator=3.1.2] >> >> Can someone please help? >_______________________________________________ >Openvas-discuss mailing list >Openvas-discuss@wald.intevation.org >https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss _______________________________________________ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss