[Openvas-discuss] No OpenVAS SCAP database found

2018-06-05 Thread Ibrahim Ramku - TD-K A/S
Hi Team,

I'm trying to install OpenVAS on Kali linux 2018.2.
The overall process goes well, but I'm getting the error:
"Login failed. Waiting for OMP service to become available."

Besides this, when I run openvas-setup-check, I get the following output. I've 
tried to run greenbone-scapdata-sync and it goes well.
"openvas-check-setup 2.3.7
  Test completeness and readiness of OpenVAS-9

  Please report us any non-detected problems and
  help us to improve this check routine:
  http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

  Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the 
problem.

  Use the parameter --server to skip checks for client tools
  like GSD and OpenVAS-CLI.

Step 1: Checking OpenVAS Scanner ...
OK: OpenVAS Scanner is present in version 5.1.1.
OK: redis-server is present in version v=4.0.9.
OK: scanner (kb_location setting) is configured properly using the 
redis-server socket: /var/run/redis-openvas/redis-server.sock
OK: redis-server is running and listening on socket: 
/var/run/redis-openvas/redis-server.sock.
OK: redis-server configuration is OK and redis-server is running.
OK: NVT collection in /var/lib/openvas/plugins contains 45266 NVTs.
WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.
SUGGEST: Enable signature checking (see 
http://www.openvas.org/trusted-nvts.html).
OK: The NVT cache in /var/cache/openvas contains 45266 files for 45266 
NVTs.
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 45262 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!

Please follow the instructions marked with FIX above and run this
script again.

If you think this result is wrong, please report your observation
and help us to improve this check routine:
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
Please attach the log-file (/tmp/openvas-check-setup.log) to help us analyze 
the problem."


Output from 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/s0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 105 bytes  296.00 bytes/sec
total size is 13  speedup is 0.09"


​Med venlig hilsen / Kind regards
Ibrahim
Ramku
Sr. Network Consultant
+45 7026 6900
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] No OpenVAS SCAP database found

2018-05-17 Thread Xinhuan Zheng
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"
 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/s0: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/s0: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


Re: [Openvas-discuss] No OpenVAS SCAP database found

2018-05-17 Thread Reindl Harald

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] No OpenVAS SCAP database found

2018-05-17 Thread 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/s0: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/s0: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?

- xinhuan
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] No OpenVAS SCAP database found

2015-09-21 Thread Eero Volotinen
How about reading error message(s)

*FIX: Run a SCAP synchronization script like openvas-scapdata-sync *

*Eero*

2015-09-21 3:02 GMT+03:00 Coulibaly Ismael Hassan :

> I work on kali linux 2.0
> Please can help me fix this problem:
>
>
> *ERROR: No OpenVAS SCAP database found. (Tried:
> /var/lib/openvas/scap-data/scap.db)FIX: Run a SCAP synchronization
> script like openvas-scapdata-sync or greenbone-scapdata-sync.*
>
> the .log file is below.
>
> --
> *COULIBALY Ismaël Hassan *
> *Elève ingénieur à l' Institut National des Postes et Télécommunications *
> *Filière:Informatique*
>
> ___
> 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

Re: [Openvas-discuss] No OpenVAS SCAP database found

2015-09-21 Thread Eero Volotinen
Well, then your should talk to firewall admin to allow outgoing rsync to
that port.

Eero
21.9.2015 2.15 ip. "Coulibaly Ismael Hassan" 
kirjoitti:

> I done it but while the process I obtained some errors like:
>
>
>
> *Configured SCAP data rsync feed:
> rsync://feed.openvas.org:/scap-datarsync: failed to connect to
> feed.openvas.org  (78.47.251.61): Connection timed
> out (110)rsync error: error in socket IO (code 10) at clientserver.c(128)
> [Receiver=3.1.1][e] Error: rsync failed. Your SCAP data might be broken
> now.*
>
>
> 2015-09-21 2:18 GMT-04:00 Eero Volotinen :
>
>> How about reading error message(s)
>>
>> *FIX: Run a SCAP synchronization script like openvas-scapdata-sync *
>>
>> *Eero*
>>
>> 2015-09-21 3:02 GMT+03:00 Coulibaly Ismael Hassan <
>> cismaelhas...@gmail.com>:
>>
>>> I work on kali linux 2.0
>>> Please can help me fix this problem:
>>>
>>>
>>> *ERROR: No OpenVAS SCAP database found. (Tried:
>>> /var/lib/openvas/scap-data/scap.db)FIX: Run a SCAP synchronization
>>> script like openvas-scapdata-sync or greenbone-scapdata-sync.*
>>>
>>> the .log file is below.
>>>
>>> --
>>> *COULIBALY Ismaël Hassan *
>>> *Elève ingénieur à l' Institut National des Postes et
>>> Télécommunications *
>>> *Filière:Informatique*
>>>
>>> ___
>>> Openvas-discuss mailing list
>>> Openvas-discuss@wald.intevation.org
>>>
>>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>>>
>>
>>
>
>
> --
> *COULIBALY Ismaël Hassan *
> *Elève ingénieur à l' Institut National des Postes et Télécommunications *
> *Filière:Informatique*
>
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss