Hi Winfred, Thanks for the input. I don't really need the CLI tools as i have never used them. When i ran the script as you suggested with the --server option, it shows that my installation is okay and i am now able to log into my system.
On Thu, May 28, 2015 at 12:15 PM, Wahib Yusuf <[email protected]> wrote: > Hi Eero, > > How do i install omp-cli tools. When i try Yum i get the following > options. > > [root@VM-LX-VAS-01 ~]# yum install openvas- > openvas-cli-debuginfo.x86_64 openvas-libraries-devel.x86_64 > openvas-scanner-debuginfo.x86_64 > openvas-libraries-debuginfo.x86_64 openvas-manager-debuginfo.x86_64 > openvas-smb-debuginfo.x86_64 > > > > > On Wed, May 27, 2015 at 1:59 PM, Eero Volotinen <[email protected]> > wrote: > >> run openvas-check-setup --server or install omp-cli tools .. >> >> -- >> Eero >> >> 2015-05-27 12:42 GMT+03:00 Wahib Yusuf <[email protected]>: >> >>> Thanks Ryan. Indeed i didn't do the openvasmd --migrate step. I am >>> now getting this far. Any ideas how to solve this. >>> >>> Step 1: Checking OpenVAS Scanner ... >>> OK: OpenVAS Scanner is present in version 5.0.1. >>> OK: OpenVAS Scanner CA Certificate is present as >>> /var/lib/openvas/CA/cacert.pem. >>> OK: NVT collection in /var/lib/openvas/plugins contains 39045 >>> NVTs. >>> OK: Signature checking of NVTs is enabled in OpenVAS Scanner. >>> OK: The NVT cache in /var/cache/openvas contains 39045 files for >>> 39045 NVTs. >>> OK: redis-server is present in version v=2.8.20. >>> 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. >>> Step 2: Checking OpenVAS Manager ... >>> OK: OpenVAS Manager is present in version 6.0.1. >>> 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: At least one user exists. >>> OK: sqlite3 found, extended checks of the OpenVAS Manager >>> installation enabled. >>> OK: OpenVAS Manager database is at revision 146. >>> OK: OpenVAS Manager expects database at revision 146. >>> OK: Database schema is up to date. >>> OK: OpenVAS Manager database contains information about 39035 >>> NVTs. >>> OK: OpenVAS SCAP database found in >>> /var/lib/openvas/scap-data/scap.db. >>> OK: OpenVAS CERT database found in >>> /var/lib/openvas/cert-data/cert.db. >>> OK: xsltproc found. >>> Step 3: Checking user configuration ... >>> WARNING: Your password policy is empty. >>> SUGGEST: Edit the /etc/openvas/pwpolicy.conf file to set a >>> password policy. >>> Step 4: Checking Greenbone Security Assistant (GSA) ... >>> OK: Greenbone Security Assistant is present in version 6.0.1. >>> Step 5: Checking OpenVAS CLI ... >>> ERROR: No OpenVAS CLI (omp) found. >>> FIX: Please install OpenVAS CLI. >>> >>> ERROR: Your OpenVAS-8 installation is not yet complete! >>> >>> Please follow the instructions marked with FIX above and run this >>> script again. >>> >>> >>> On Wed, May 27, 2015 at 12:43 PM, Ryan <[email protected]> wrote: >>> >>>> That looks good. If I execute the commands on my testserver with the >>>> same version it looks like this: >>>> >>>> foo:~# openvasmd --create-user=test01 --role=Admin && openvasmd >>>> --user=test01 --new-password=test123! >>>> User created with password 'd6a3ac7f-7371-44d3-a3ab-ea68979e95df'. >>>> foo:~# openvasmd --delete-user=test01 >>>> User deleted. >>>> >>>> Is there anything in your /var/log/openvas/openvasmd.log that points >>>> towards problems? Maybe a missing openvasmd --migrate? >>>> >>>> >>>> >>>> On 2015-05-27 06:42, Wahib Yusuf wrote: >>>> >>>> Hi Ryan, >>>> >>>> OpenVAS Manager 6.0.1 >>>> Manager DB revision 146 >>>> Copyright (C) 2010-2015 Greenbone Networks GmbH >>>> License GPLv2+: GNU GPL version 2 or later >>>> >>>> >>>> On Tue, May 26, 2015 at 2:10 PM, Ryan <[email protected]> wrote: >>>> >>>>> What version of openvasmd are you using (openvasmd --version) >>>>> And you are missing a sudo for the 2nd call of openvasmd (but that >>>>> doesn't matter for now since the account doesn't seems to be created at >>>>> all) >>>>> >>>>> >>>>> >>>>> On 2015-05-26 11:59, Wahib Yusuf wrote: >>>>> >>>>> As it you can see below, i just tried adding a test user and then >>>>> tried again to run the check script but same error is coming. >>>>> >>>>> [wahib@VM-LX-VAS-01 ~]$ sudo openvasmd --create-user=test01 >>>>> --role=Admin && openvasmd --user=test01 --new-password=test123! >>>>> [wahib@VM-LX-VAS-01 ~]$ >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >> >> >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
