OpenVas services not working [SOLVED]

Started by reaperz73, June 02, 2013, 05:39:58 AM

Previous topic - Next topic

reaperz73

Backbox 3.5 64bit


Whenever I use the start service for OpenVas from the menu it does not work
I get this
[i] Starting OpenVAS services...

Starting OpenVAS Scanner: openvassd.
Starting OpenVAS Manager: ERROR.

reaperz73@bbox:~$


However I can start services manually from the command line and all is good but the one click start the whole thing is not working.
Any fix for this?

ZEROF

#1
When you get that error, just go back to menu and run restart option, and openvas will start ;).

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

reaperz73

nope same thing
[i] Stopping OpenVAS services...

Stopping Greenbone Security Assistant: gsad.
Stopping OpenVAS Administrator: openvasad.
Stopping OpenVAS Manager: openvasmd.
Stopping OpenVAS Scanner: openvassd.

[i] Starting OpenVAS services...

Starting OpenVAS Scanner: openvassd.
Starting OpenVAS Manager: ERROR.

reaperz73@bbox:~$

ZEROF

#3
Ok, let's see. You mast have boot conflicts. After update some services can start when you boot your system, as openvas was updated few days before, i guess your system start some of openvas services in boot.

Open terminal and run:

sudo -i

Then copy all and run in terminal :

update-rc.d -f greenbone-security-assistant remove;
update-rc.d -f openvas-administrator remove;
update-rc.d -f openvas-manager remove;
update-rc.d -f openvas-scanner remove;

Reboot your system, and openvas will start from menu.

;)

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

reaperz73

Nope still didn't work . that last one you posted ZEROF really had my hopes up.
Thought for sure that would work.

ZEROF

Run system update, then do what i write in last topic.

sudo -i

apt-get update && apt-get upgrade && apt-get dist-upgrade

...

This solution work, when you start openvas for the 1st time it will take some time (few min). But i'm sure it's good solution.

And i want to check something. Install chkconfig tool, and post terminal output (with pastebin) when you run command chkconfig --list.

;)

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

reaperz73

Got it working now. Had to purge openvas and reinstall. But all good now.

romeyro

---
ROmeyro

TH3CR4CK3R

I have ran into this same issue before and usually clicking the update option from the services menu will do the trick. and you also have to create the user, this is the command I use to do so.

openvasad -c 'add_user' -n <name> -r Admin

sinflooddotnet

sudo openvas-services stop
sudo openvasmd --rebuild
sudo openvas-services start

for openvas setup see also: http://sinflood.net/?p=104

qednet

Hi

I also have a problem with openvas. I have followed the steps suggested here. No good.

I ran the openvas-check-setup script, did the fixes it suggested. No good http://www.openvas.org/setup-and-start.html

The problem seems to be with the Greenbone Security Assistant. It crashes with this error message

"Error: received handshake message out of context"

:/

raffaele

raffaele@backbox:~$ Get root or die tryin'

ostendali

As we stated earlier, OpenVAs is working for most of us without any issues.

Please follow the wiki page tutorial and if it doesn't work, come back with your full logs that we can help and dig in further.

Cheers