Problem installing openvas on RHEL 7.3

Support/Development for OpenVAS
User_42
New Forum User
New Forum User
Posts: 2
Joined: Wed Dec 07, 2016 9:47 am
Location: italy

Problem installing openvas on RHEL 7.3

Unread post by User_42 »

Hi,
as described in the topic I've some issue during the installation of the latest version of OpenVas on my Red Hat machine.
I've followed the step described in this guide:

http://forums.atomicorp.com/viewtopic.php?f=31&t=8047

Following the detail of the error:



[root]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)


[root]# openvas-setup --help

Openvas Setup, Version: 1.0


Step 1: Update NVT, CERT, and SCAP data
Please note this step could take some time.
Once completed, this will be updated automatically every 24 hours

Select download method
* wget (NVT download only)
* curl (NVT download only)
* rsync

Note: If rsync requires a proxy, you should define that before this step.
Downloader [Default: rsync]
Updating NVTs....
openvassd: symbol lookup error: /lib64/libopenvas_base.so.8: undefined symbol: ssh_pki_key_ecdsa_name
This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
NVT dir:
[w] Could not determine feed version.
rsync is not recommended for the initial sync. Falling back on http.
Will use wget
Using GNU wget: /usr/bin/wget
Configured NVT http feed: http://www.openvas.org/openvas-nvt-feed-current.tar.bz2
Downloading to: /tmp/openvas-nvt-sync.7KVnJrffkV/openvas-feed-2016-12-19-10549.tar.bz2
mkdir: cannot create directory ââ: No such file or directory
Checking dir: ok
[i] Checking MD5 checksum: /usr/bin/md5sum: /md5sums: No such file or directory
not ok
Error: md5sums not correct. Your NVT collection might be broken now.
Please try this for details: cd "" ; /usr/bin/md5sum -c "/md5sums" | less



Someone have any clue about this issue?

Thanks in advance for your help,
42
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problem installing openvas on RHEL 7.3

Unread post by scott »

Do you get the same result on Centos 7?
User_42
New Forum User
New Forum User
Posts: 2
Joined: Wed Dec 07, 2016 9:47 am
Location: italy

Re: Problem installing openvas on RHEL 7.3

Unread post by User_42 »

hi,
unfortunately I've to install OpenVas on this distribution of RH. i can't test it on Centos.
JakobHolst
New Forum User
New Forum User
Posts: 1
Joined: Tue Dec 27, 2016 11:08 am
Location: Denmark

Re: Problem installing openvas on RHEL 7.3

Unread post by JakobHolst »

scott wrote:Do you get the same result on Centos 7?
I have the same problem on a shiny screamingedge RHEL 7.3 and I've just installed it on a Centos 7 the using the same install guide without any problems.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problem installing openvas on RHEL 7.3

Unread post by scott »

Have a go at it now, we just mirrored a hiredis package to atomic.
gdrub
New Forum User
New Forum User
Posts: 2
Joined: Fri Dec 01, 2017 9:51 am
Location: FRANCE

Re: Problem installing openvas on RHEL 7.3

Unread post by gdrub »

Hi,

When I first run the openvas-setup script, I get the same error message :

---%<-----------------------------------------------------------------------------------------------------------
Redirecting to /bin/systemctl start redis.service
Pausing while openvas-scanner loads NVTs...Done
/usr/sbin/openvasmd: symbol lookup error: /lib64/libopenvas_misc.so.9: undefined symbol: ssh_pki_key_ecdsa_name

Step 2: Configure GSAD
The Greenbone Security Assistant is a Web Based front end
for managing scans. By default it is configured to only allow
connections from localhost.

Allow connections from any IP? [Default: yes]
Redirecting to /bin/systemctl restart gsad.service
Job for gsad.service failed because the control process exited with error code. See "systemctl status gsad.service" and "journalctl -xe" for details.

Step 3: Choose the GSAD admin users password.
The admin user is used to configure accounts,
Update NVT's manually, and manage roles.

Enter administrator username [Default: admin] :
Enter Administrator Password:
Verify Administrator Password:

/usr/sbin/openvasmd: symbol lookup error: /lib64/libopenvas_misc.so.9: undefined symbol: ssh_pki_key_ecdsa_name
/usr/sbin/openvasmd: symbol lookup error: /lib64/libopenvas_misc.so.9: undefined symbol: ssh_pki_key_ecdsa_name


Setup complete, you can now access GSAD at:
https://<IP>:9392
---%<-----------------------------------------------------------------------------------------------------------

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)

# rpm -qa openvas
openvas-9.0.0-2745.el7.art.noarch
(install from packages : https://forums.atomicorp.com/viewtopic. ... 539#p44057)

# rpm -qa libssh
libssh-0.6.3-1.el7.art.x86_64

# netstat -laputen | grep -i listen | grep 9392
# echo $?
# 1

How to fix it ?

Thank you very much.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problem installing openvas on RHEL 7.3

Unread post by scott »

Looks like libssh is out of date? This is what I have on mine:

[root@localhost ~]# rpm -q libssh
libssh-0.7.1-3.el7.x86_64
gdrub
New Forum User
New Forum User
Posts: 2
Joined: Fri Dec 01, 2017 9:51 am
Location: FRANCE

Re: Problem installing openvas on RHEL 7.3

Unread post by gdrub »

Hi scott,

libssh installed from http://mirror.centos.org/centos/7/extra ... x86_64.rpm

All is fine !!

Thx so much ;-)
Post Reply