Hello, > > I tried to install openvas on a plain Centos 6.4. After running > openvas-setup the server did not start. Then I tried ?openvas-check-setup. > This fails with > > Checking OpenVAS Manager database (NVT data) ... > ??????? 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 > collection and run 'openvasmd --rebuild'. >
Hi, I tried to install openvas on a plain CentOS recently and I had problems too, including the one you reported. After 3 or 4 reinstalls and some information mining on net, it worked. The process I used that worked was like: 1.Desable SELINUX vi/etc/selinux/config ... SELINUX=disabled 2.Install wget yum install wget -y 3.Update OS yum update -y reboot 4. Install atomic repository wget-q -O - http://www.atomicorp.com/installers/atomic |sh 5. Change /etc/yum.repos.d/CentOS-Base.repo file Include “exclude=libmicrohttpd” in all configs of the file, some sample: *[base] name=CentOS-$releasever - Base mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ exclude=libmicrohttpd* * gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 * * 1. released updates * *[updates] name=CentOS-$releasever- Updates mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ exclude=libmicrohttpd gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6* 6.Install some packages using yum: libyaml fakeroot fakeroot python rpm-build make m4 gcc-c++ autoconf automake redhat-rpm-config mod_dav_svn mod_ssl mod_wsgi gsd 7.Install OpenVAS yum install openvas -y 8.Run "openvas-setup" for OpenVAS config openvas-setup openvas-certdata-sync openvas-nvt-sync openvassd openvasmd –rebuild openvas-mkcert -f openvas-check-setup After this, openvas-check-setup it should return “It seems like your OpenVAS-6 installation is OK.” message 7. Configure "/etc/sysconfig/iptables", including the following lines: ... -AINPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -AINPUT -m state --state NEW -m tcp -p tcp --dport 9392 -j ACCEPT ... Run “service iptables restart” 8. /usr/share/openvas/openvas-lsc-rpm-creator.sh Change line: MD5="001440a0272902dbcf1a6e242c26124c" for: MD5="60a13a2ed1228b66d53423898c2ab38c" Change line: #%install section... do it now, and then disable it, for: #install section... do it now, and then disable it, 9.Connect to your OpenVas server with browser on https://openvas_server_IP:9392 Gustavo Costa
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
