Discussion:
[Openvas-discuss] openvas-nvt-sync ERROR
Frédéric Boucher
2015-08-05 15:53:46 UTC
Permalink
Hi,
When in try to running this command, i have this error.
[***@OPENVAS001 ~]# openvas-nvt-sync[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.[i] Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.[i] NVT dir: /var/lib/openvas/plugins[w] Could not determine feed version.[i] rsync is not recommended for the initial sync. Falling back on http.[i] Will use wget[i] Using GNU wget: /bin/wget[i] Configured NVT http feed: http://www.openvas.org/openvas-nvt-feed-current.tar.bz2[i] Downloading to: /tmp/openvas-nvt-sync.ywgwhjGXRd/openvas-feed-2015-08-05-4310.tar.bz2--2015-08-05 11:51:18-- http://www.openvas.org/openvas-nvt-feed-current.tar.bz2Resolving www.openvas.org (www.openvas.org)... 5.9.98.186Connecting to www.openvas.org (www.openvas.org)|5.9.98.186|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 17165265 (16M) [application/x-bzip2]Saving to: ‘/tmp/openvas-nvt-sync.ywgwhjGXRd/openvas-feed-2015-08-05-4310.tar.bz2’
100%[=========================================================>] 17,165,265 3.88MB/s in 7.4s
2015-08-05 11:51:25 (2.20 MB/s) - ‘/tmp/openvas-nvt-sync.ywgwhjGXRd/openvas-feed-2015-08-05-4310.tar.bz2’ saved [17165265/17165265]
tar (child): bzip2: Cannot exec: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting now[i] Checking dir: ok[i] Checking MD5 checksum: /bin/md5sum: /var/lib/openvas/plugins/md5sums: No such file or directorynot okError: md5sums not correct. Your NVT collection might be broken now.Please try this for details: cd "/var/lib/openvas/plugins" ; /bin/md5sum -c "/var/lib/openvas/plugins/md5sums" | less
Can you help my with that.
Thank you,

Frédéric
Chris
2015-08-05 15:56:01 UTC
Permalink
Hi,
Post by Frédéric Boucher
tar (child): bzip2: Cannot exec: No such file or directory
seems you need to install bzip2
Eero Volotinen
2015-08-05 16:03:32 UTC
Permalink
sounds like centos 7 (minimal install) + openvas from atomic repo?

yum install -y bzip2 fixes the problem..

--
Eero
Post by Frédéric Boucher
Hi,
When in try to running this command, i have this error.
*[i] This script synchronizes an NVT collection with the 'OpenVAS NVT
Feed'.*
*[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.*
'http://www.openvas.org/openvas-nvt-feed.html
<http://www.openvas.org/openvas-nvt-feed.html>'.*
*[i] NVT dir: /var/lib/openvas/plugins*
*[w] Could not determine feed version.*
*[i] rsync is not recommended for the initial sync. Falling back on http.*
*[i] Will use wget*
*[i] Using GNU wget: /bin/wget*
http://www.openvas.org/openvas-nvt-feed-current.tar.bz2
<http://www.openvas.org/openvas-nvt-feed-current.tar.bz2>*
/tmp/openvas-nvt-sync.ywgwhjGXRd/openvas-feed-2015-08-05-4310.tar.bz2*
*--2015-08-05 11:51:18--
http://www.openvas.org/openvas-nvt-feed-current.tar.bz2
<http://www.openvas.org/openvas-nvt-feed-current.tar.bz2>*
*Resolving www.openvas.org <http://www.openvas.org> (www.openvas.org
<http://www.openvas.org>)... 5.9.98.186*
*Connecting to www.openvas.org <http://www.openvas.org> (www.openvas.org
<http://www.openvas.org>)|5.9.98.186|:80... connected.*
*HTTP request sent, awaiting response... 200 OK*
*Length: 17165265 (16M) [application/x-bzip2]*
‘/tmp/openvas-nvt-sync.ywgwhjGXRd/openvas-feed-2015-08-05-4310.tar.bz2’*
*100%[=========================================================>]
17,165,265 3.88MB/s in 7.4s*
*2015-08-05 11:51:25 (2.20 MB/s) -
‘/tmp/openvas-nvt-sync.ywgwhjGXRd/openvas-feed-2015-08-05-4310.tar.bz2’
saved [17165265/17165265]*
*tar (child): bzip2: Cannot exec: No such file or directory*
*tar (child): Error is not recoverable: exiting now*
*tar: Child returned status 2*
*tar: Error is not recoverable: exiting now*
*[i] Checking dir: ok*
No such file or directory*
*not ok*
*Error: md5sums not correct. Your NVT collection might be broken now.*
*Please try this for details: cd "/var/lib/openvas/plugins" ; /bin/md5sum
-c "/var/lib/openvas/plugins/md5sums" | less*
Can you help my with that.
Thank you,
Frédéric
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Loading...