Interrupted at 0%

Hi.

Now I have an error when I scan.

When I try to scan, “Status” is “Interrupted at 0%”.

Someone know how to solve it?

I installed GVM 20.08 referencing this URL
(https://www.howtoforge.com/how-to-install-and-use-gvm-vulnerability-scanner-on-ubuntu-20-04/)

Also My computer’s OS is Ubuntu 20.04.

Thanks.

Log is below.

[openvas.log]
lib nvticache:WARNING:2021-06-29 10h31.57 utc:9911: nvt_feed_version: Failed to open file “/opt/gvm/var/lib/openvas/plugins/plugin_feed_info.inc”: No such file or directory
lib nvticache:WARNING:2021-06-29 11h03.29 utc:13244: nvt_feed_version: Failed to open file “/opt/gvm/var/lib/openvas/plugins/plugin_feed_info.inc”: No such file or directory
lib nvticache:WARNING:2021-06-29 11h46.05 utc:2769: nvt_feed_version: Failed to open file “/opt/gvm/var/lib/openvas/plugins/plugin_feed_info.inc”: No such file or directory

[ospd-openvas.log]
OSPD[745] 2021-06-29 11:17:18,231: INFO: (ospd.main) Starting OSPd OpenVAS version 20.8.3.dev1.

OSPD[745] 2021-06-29 11:17:29,116: ERROR: (ospd_openvas.openvas) OpenVAS Scanner failed to load VTs. Command ‘[‘openvas’, ‘–update-vt-info’]’ died with <Signals.SIGABRT: 6>.

This indicates you don’t have any VT data. Please run the greenbone-nvt-sync script to download the VTs from the community feed.

1 Like

Mr. bricks

Thank you for reply.

I already downloaded, but I can’t scan.

When I downloaded, I used " greenbone-nvt-sync".

Thanks.

You need to check if the directory /opt/gvm/var/lib/openvas/plugins/ contains nasl files and if the /opt/gvm/var/lib/openvas/plugins/plugin_feed_info.inc file is available. If not there is something wrong. Otherwise I would try restarting redis and ospd-openvas.

1 Like

Mr. bricks

Thank you for reply.

The directory “/opt/gvm/var/lib/openvas/plugins” contains no file.

So I tried to restarting redis (“systemctl restart redis-server”) and ospd-openvas(systemctl restart ospd-openvas
), but I can’t scan and same error.

Thanks.

That means the feed sync didn’t work at all. Did you take a look at the output of greenbone-nvt-sync? The output of which greenbone-nvt-sync would be helpful too. And also your installation method (where did you get GVM from?).

1 Like

Output of “greenbone-nvt-sync” is below.

Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - 'h’ttp://www.greenbone.net/
↑New user can put only 2 URLs, so I change h to ‘h’.

All transactions are logged.

If you have any questions, please use the Greenbone community portal.
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
plugin_feed_info.inc
1,014 100% 990.23kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 1,126 bytes 155.87 bytes/sec
total size is 1,014 speedup is 0.87

Also when I download GVM, I use this command.

git clone -b gvm-libs-20.08 --single-branch https://github.com/greenbone/gvm-libs.git
git clone -b openvas-20.08 --single-branch https://github.com/greenbone/openvas.git 
git clone -b gvmd-20.08 --single-branch https://github.com/greenbone/gvmd.git 
git clone -b master --single-branch https://github.com/greenbone/openvas-smb.git 
git clone -b gsa-20.08 --single-branch https://github.com/greenbone/gsa.git 
git clone -b ospd-openvas-20.08 --single-branch https://github.com/greenbone/ospd-openvas.git 
git clone -b ospd-20.08 --single-branch https://github.com/greenbone/ospd.git

Could you paste the output please?

Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - 'h’ttp://www.greenbone.net/
↑New user can put only 2 URLs, so I change h to ‘h’.

All transactions are logged.

If you have any questions, please use the Greenbone community portal.
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
plugin_feed_info.inc
1,014 100% 990.23kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 1,125 bytes 467.20 bytes/sec
total size is 1,014 speedup is 0.87

Output is like that.

I’m new user, so I can’t put only 2 URLs.

I need the output of exactly that command which should give you the absolute path to the script.

Sorry.

“which greenbone-nvt-sync” output is below.

/usr/sbin/greenbone-nvt-sync

Ok it seems you mixed up two different installations. One with the /usr prefix and one with /opt/gvm/

I suppose you did install openvas-scanner with the distribution packages AND manually via the source checkout. You need to choose one of them.

1 Like

Thank you for reply.

I’m beginner, so I don’t know how to choose that, and I have to choose /opt/gvm ?

Thanks

Mr. bricks

I have to install “greebone-nvt-sync” to “/opt/gvm”, right?

But I don’t know how to install it there.

Thanks.