View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004593 | Kali Linux | Kali Package Bug | public | 2018-03-04 23:30 | 2018-05-08 07:58 |
Reporter | johnny_moss | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2018.1 | ||||
Summary | 0004593: Verbose output in terminal when starting or stopping openvas services. | ||||
Description | When I want to use the Openvas vulnerability scanner, the first thing I do is start the service (from the terminal) thus:
and a few moments later, I am returned to my normal prompt. There is no information of any kind output to my terminal. Now however, there is a great deal of information output when I start the service. There is also a separate window opened displaying an error message:
and likewise, when I stop the service there is another page or two of information. This never used to happen before. I have, rightly or wrongly, marked the "bug" as minor. Now when I run a scan, things appear to be working as they should except that the scan progress bar appears to be stuck at 1%. So I can't tell if the scan has finished or not! I copied and pasted all the output and have included it as an uploaded file. Thanks in advance for any help. | ||||
Steps To Reproduce | Open a terminal and start the Openvas service with:
| ||||
Additional Information | Functionality of the Openvas scanner seems to have been affected (the progress bar indicator) though not to any great extent. | ||||
Attached Files | openvas_output (7,379 bytes)
:~$ sudo openvas-start [*] Please wait for the OpenVAS services to start. [*] [*] You might need to refresh your browser once it opens. [*] [*] Web UI (Greenbone Security Assistant): https://127.0.0.1:9392 ● greenbone-security-assistant.service - Greenbone Security Assistant Loaded: loaded (/lib/systemd/system/greenbone-security-assistant.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2018-03-04 22:18:24 GMT; 5s ago Docs: man:gsad(8) http://www.openvas.org/ Main PID: 7827 (gsad) Tasks: 4 (limit: 4543) CGroup: /system.slice/greenbone-security-assistant.service ├─7827 /usr/sbin/gsad --foreground --listen=127.0.0.1 --port=9392 --mlisten=127.0.0.1 --mport=9390 └─7829 /usr/sbin/gsad --foreground --listen=127.0.0.1 --port=9392 --mlisten=127.0.0.1 --mport=9390 Mar 04 22:18:24 kali systemd[1]: Started Greenbone Security Assistant. Mar 04 22:18:24 kali gsad[7827]: Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Mar 04 22:18:24 kali gsad[7827]: Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. ● openvas-scanner.service - Open Vulnerability Assessment System Scanner Daemon Loaded: loaded (/lib/systemd/system/openvas-scanner.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2018-03-04 22:18:25 GMT; 5s ago Docs: man:openvassd(8) http://www.openvas.org/ Process: 7825 ExecStart=/usr/sbin/openvassd --unix-socket=/var/run/openvassd.sock (code=exited, status=0/SUCCESS) Main PID: 7848 (openvassd) Tasks: 2 (limit: 4543) CGroup: /system.slice/openvas-scanner.service ├─7848 openvassd: Reloaded 12550 of 54630 NVTs (22% / ETA: 00:16) └─7849 openvassd (Loading Handler) Mar 04 22:18:24 kali systemd[1]: Starting Open Vulnerability Assessment System Scanner Daemon... Mar 04 22:18:25 kali systemd[1]: Started Open Vulnerability Assessment System Scanner Daemon. ● openvas-manager.service - Open Vulnerability Assessment System Manager Daemon Loaded: loaded (/lib/systemd/system/openvas-manager.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2018-03-04 22:18:25 GMT; 5s ago Docs: man:openvasmd(8) http://www.openvas.org/ Process: 7826 ExecStart=/usr/sbin/openvasmd --listen=127.0.0.1 --port=9390 --database=/var/lib/openvas/mgr/tasks.db (code=exited, status=0/SUCCESS) Main PID: 7828 (openvasmd) Tasks: 1 (limit: 4543) CGroup: /system.slice/openvas-manager.service └─7828 openvasmd Mar 04 22:18:24 kali systemd[1]: Starting Open Vulnerability Assessment System Manager Daemon... Mar 04 22:18:24 kali systemd[1]: openvas-manager.service: Can't open PID file /var/run/openvasmd.pid (yet?) after start: No such file or directory Mar 04 22:18:25 kali systemd[1]: Started Open Vulnerability Assessment System Manager Daemon. [*] Opening Web UI (https://127.0.0.1:9392) in: 5... 4... 3... 2... 1... :~$ sudo openvas-stop [>] Stopping OpenVAS services ● greenbone-security-assistant.service - Greenbone Security Assistant Loaded: loaded (/lib/systemd/system/greenbone-security-assistant.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:gsad(8) http://www.openvas.org/ Mar 04 21:40:32 kali systemd[1]: Started Greenbone Security Assistant. Mar 04 21:40:32 kali gsad[5109]: Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Mar 04 21:40:32 kali gsad[5109]: Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Mar 04 22:09:14 kali systemd[1]: Stopping Greenbone Security Assistant... Mar 04 22:09:14 kali systemd[1]: Stopped Greenbone Security Assistant. Mar 04 22:18:24 kali systemd[1]: Started Greenbone Security Assistant. Mar 04 22:18:24 kali gsad[7827]: Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Mar 04 22:18:24 kali gsad[7827]: Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Mar 04 22:25:23 kali systemd[1]: Stopping Greenbone Security Assistant... Mar 04 22:25:23 kali systemd[1]: Stopped Greenbone Security Assistant. ● openvas-scanner.service - Open Vulnerability Assessment System Scanner Daemon Loaded: loaded (/lib/systemd/system/openvas-scanner.service; disabled; vendor preset: disabled) Active: failed (Result: signal) since Sun 2018-03-04 22:25:26 GMT; 29ms ago Docs: man:openvassd(8) http://www.openvas.org/ Process: 7825 ExecStart=/usr/sbin/openvassd --unix-socket=/var/run/openvassd.sock (code=exited, status=0/SUCCESS) Main PID: 7848 (code=killed, signal=KILL) Mar 04 22:18:24 kali systemd[1]: Starting Open Vulnerability Assessment System Scanner Daemon... Mar 04 22:18:25 kali systemd[1]: Started Open Vulnerability Assessment System Scanner Daemon. Mar 04 22:25:23 kali systemd[1]: Stopping Open Vulnerability Assessment System Scanner Daemon... Mar 04 22:25:26 kali systemd[1]: openvas-scanner.service: Main process exited, code=killed, status=9/KILL Mar 04 22:25:26 kali systemd[1]: openvas-scanner.service: Failed with result 'signal'. Mar 04 22:25:26 kali systemd[1]: Stopped Open Vulnerability Assessment System Scanner Daemon. ● openvas-manager.service - Open Vulnerability Assessment System Manager Daemon Loaded: loaded (/lib/systemd/system/openvas-manager.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:openvasmd(8) http://www.openvas.org/ Mar 04 21:40:32 kali systemd[1]: Starting Open Vulnerability Assessment System Manager Daemon... Mar 04 21:40:32 kali systemd[1]: openvas-manager.service: Can't open PID file /var/run/openvasmd.pid (yet?) after start: No such file or directory Mar 04 21:41:26 kali systemd[1]: Started Open Vulnerability Assessment System Manager Daemon. Mar 04 22:09:14 kali systemd[1]: Stopping Open Vulnerability Assessment System Manager Daemon... Mar 04 22:09:14 kali systemd[1]: Stopped Open Vulnerability Assessment System Manager Daemon. Mar 04 22:18:24 kali systemd[1]: Starting Open Vulnerability Assessment System Manager Daemon... Mar 04 22:18:24 kali systemd[1]: openvas-manager.service: Can't open PID file /var/run/openvasmd.pid (yet?) after start: No such file or directory Mar 04 22:18:25 kali systemd[1]: Started Open Vulnerability Assessment System Manager Daemon. Mar 04 22:25:23 kali systemd[1]: Stopping Open Vulnerability Assessment System Manager Daemon... Mar 04 22:25:23 kali systemd[1]: Stopped Open Vulnerability Assessment System Manager Daemon. | ||||
The package recently (since 9.0.2kali3) had an update:
Commits:
"Failed to execute default Web Browser", I believe is a XFCE error? What is your Kali environment and setup? "scan progress bar appears to be stuck at 1%". How long for? Other than the package being updated, anything else being altered in the scanning environment? What happens if you do:
and then try and re-scan? The only other suggestion I have is opening the OpenVAS feeds before scanning. |
|
Thank you very much for that. I'm using Kali Light which uses XFCE by default. I'm running it on a HP laptop, 2GHz quad-core, 4GB ram. I update/upgrade my system daily. The progress bar doesn't move off 1% because once I switch to a different task view, it ceased to auto-refresh; I had this feature originally set to 'every 30 seconds'. I tested it this morning on a VM and it seems to work OK; no automatic browser opening, though it never used to do that anyway so it's not something I miss! Thanks again; much appreciated. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-04 23:30 | johnny_moss | New Issue | |
2018-03-04 23:30 | johnny_moss | File Added: openvas_output | |
2018-03-05 07:29 | g0tmi1k | Note Added: 0008854 | |
2018-03-05 11:18 | johnny_moss | Note Added: 0008856 | |
2018-03-06 10:46 | g0tmi1k | Relationship added | related to 0004606 |
2018-05-08 07:58 | g0tmi1k | Status | new => resolved |
2018-05-08 07:58 | g0tmi1k | Resolution | open => fixed |