Hi,

Download this file: openvas-check-setup
<https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup>

and run with parameters --v8

Eero

2015-10-14 11:50 GMT+03:00 Manisha Bathia <[email protected]>:

> Hi,
>
> I have installed centos7 and then installed openvas8. Getting following
> error when I run the setup file:
>
>
> ----------------------------------------------------------------------------
> ./openvas-check-setup.sh
> ./openvas-check-setup.sh: line 1: penVAS: command not found
> openvas-check-setup 2.3.3
>   Test completeness and readiness of OpenVAS-8
>   (add '--v6' or '--v7' or '--v9'
>    if you want to check for another OpenVAS version)
>   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
> proble
> m.
>   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.0.4.
>         OK: OpenVAS Scanner CA Certificate is present as
> /var/lib/openvas/CA/cac
> ert.pem.
>         OK: redis-server is present in version v=2.8.21.
>         OK: scanner (kb_location setting) is configured properly using the
> redis
> -server socket: /tmp/redis.sock
>         OK: redis-server is running and listening on socket:
> /tmp/redis.sock.
>         OK: redis-server configuration is OK and redis-server is running.
>         OK: NVT collection in /var/lib/openvas/plugins contains 43636 NVTs.
>         WARNING: Signature checking of NVTs is not enabled in OpenVAS
> Scanner.
>         SUGGEST: Enable signature checking (see
> http://www.openvas.org/trusted-n
> vts.html).
>         OK: The NVT cache in /var/cache/openvas contains 43636 files for
> 43636
> N
> VTs.
> Step 2: Checking OpenVAS Manager ...
>         OK: OpenVAS Manager is present in version 6.0.6.
>         OK: OpenVAS Manager client certificate is present as
> /var/lib/openvas/CA
> /clientcert.pem.
>         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
> e
> nabled.
>         OK: OpenVAS Manager database is at revision 146.
>         OK: OpenVAS Manager expects database at revision 146.
>         OK: Database schema is up to date.
>         *ERROR: The number of NVTs in the OpenVAS Manager database is too
> low.*
> *        FIX: Make sure OpenVAS Scanner is running with an up-to-date NVT
> collect    *
> ion and run 'openvasmd --rebuild'.
>  ERROR: Your OpenVAS-8 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.
>
>
>
> -----------------------------------------------------------------------------
>
> For fixing the above error, can you please provide exact steps that I need
> to follow, not understanding what this error means.
>
> Regards,
> Manisha
>
> On Tue, Oct 13, 2015 at 12:13 PM, Eero Volotinen <[email protected]>
> wrote:
>
>> How about installing scanner on other machine or on virtual machine ?
>>
>> --
>> Eero
>>
>> 2015-10-13 9:34 GMT+03:00 Manisha Bathia <[email protected]>:
>>
>>> Our client environment is Centos 6.4, hence difficult to change this
>>> version, Can you suggest some other workaround?
>>>
>>> Regards,
>>> Manisha
>>>
>>> On Tue, Oct 13, 2015 at 11:51 AM, Eero Volotinen <[email protected]>
>>> wrote:
>>>
>>>> Is it possible to use Centos 7 with openvas8?
>>>>
>>>> --
>>>> Eero
>>>>
>>>> 2015-10-13 9:04 GMT+03:00 Manisha Bathia <[email protected]>:
>>>>
>>>>> *Hi,*
>>>>>
>>>>>
>>>>>
>>>>> *I  have CentOS6.4 OS on my PC. I have installed OpenVAS as per the
>>>>> instructions given in your site as below:*
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------------------------------------------------
>>>>> OpenVAS for CentOS via Atomic[image: Inline image 3]Setup and start
>>>>> OpenVAS <http://www.openvas.org/setup-and-start.html>
>>>>> Atomicorp Repository
>>>>> <http://www.openvas.org/install-packages-v6.html#atomic>
>>>>>
>>>>> *Step 1: Configure Atomicorp Repository*
>>>>> (as user root, only once)
>>>>>
>>>>> wget -q -O - http://www.atomicorp.com/installers/atomic |sh
>>>>>
>>>>> *Step 2: Quick-Install OpenVAS*
>>>>> (as user root, only once)
>>>>>
>>>>> yum upgrade
>>>>>
>>>>> yum install openvas
>>>>>
>>>>> openvas-setup
>>>>>
>>>>> *Step 3: Quick-Start OpenVAS*
>>>>>
>>>>> ( nothing to do, all is up and running directly after installation )
>>>>>
>>>>> *Step 4: Log into OpenVAS with user created in the step 2*
>>>>>
>>>>> Open https://localhost:9392/.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>> *However when I run the openvas-check-setup.sh file, I get following
>>>>> error in the /tmp/openvas-check-setup.log file, content is as below:*
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------------------
>>>>>
>>>>> openvas-check-setup 2.3.0
>>>>>
>>>>>   Mode:  desktop
>>>>>
>>>>>   Date:  Sat, 10 Oct 2015 22:43:51 +0530
>>>>>
>>>>>
>>>>>
>>>>> Checking for old OpenVAS Scanner <= 2.0 ...
>>>>>
>>>>> ./openvas-check-setup: line 163: openvasd: command not found
>>>>>
>>>>>
>>>>>
>>>>> Checking presence of OpenVAS Scanner ...
>>>>>
>>>>> OpenVAS Scanner 4.0.6
>>>>>
>>>>> Nessus origin: (C) 2004 Renaud Deraison <[email protected]>
>>>>>
>>>>> Most new code since OpenVAS: (C) 2013 Greenbone Networks GmbH
>>>>>
>>>>> License GPLv2: GNU GPL version 2
>>>>>
>>>>> This is free software: you are free to change and redistribute it.
>>>>>
>>>>> There is NO WARRANTY, to the extent permitted by law.
>>>>>
>>>>>
>>>>>
>>>>> Checking OpenVAS Scanner version ...
>>>>>
>>>>>         ERROR: OpenVAS Scanner too old or too new: 4.0.6
>>>>>
>>>>>         FIX: Please install OpenVAS Scanner 5.0.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------------------------
>>>>>
>>>>> I tried again installing OpenVAS Scanner 5.0 as per the above error in
>>>>> the log file, however I still get the same error
>>>>>
>>>>>
>>>>>
>>>>> *Also when I try to access the link http://localhost:9392/
>>>>> <http://localhost:9392/>, I get an error saying: “Unable to retrieve
>>>>> http:localhost:9392/: Error reading from socket*
>>>>>
>>>>>
>>>>>
>>>>> *Regards,*
>>>>>
>>>>> *Manisha*
>>>>>
>>>>> _______________________________________________
>>>>> Openvas-discuss mailing list
>>>>> [email protected]
>>>>>
>>>>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>>>>>
>>>>
>>>>
>>>
>>
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to