Problem with OpenVas [SOLVED]

Started by AnselmoNaranja, November 18, 2013, 01:41:20 AM

Previous topic - Next topic

AnselmoNaranja

Hello,
i've a problem by using openvas.
I've followed this steps:
- Updated By using Service-->Openvas-->Update
- Reinitialized with sudo openvasmd --rebuild
- Created a New Openvas User
- Started the Openvas Services

Now, if i try to load the Openvas Login Page, the browser in order return:
- Warning dangerus site. --> Save in the exception
- Connection Failed
Connessione non riuscita

Firefox non può stabilire una connessione con il server localhost:9392.

I've launched this command:

root@Brigante:~# netstat -launtp | grep gsad
tcp        0      0 127.0.0.1:9392          0.0.0.0:*               LISTEN      3481/gsad      

then it all seems OK..

When i try to load login page, in this same console appear this error:

root@Brigante:~# Failed to receive data: A TLS fatal alert has been received.
Failed to receive data: A TLS fatal alert has been received.

Can you help me?
I'm not very expert..

Ah, my openvas-check-setup seems ok..
Ah2, i'v lounched all command both in Root and User mode using SUDO prefix..

Thanks



b4d_bl0ck

Hi,
we have lots of these kind of threads on the forum. Please, use the search function instead of opening a new thread.
Anyways we are investigating since not everyone is having this issue, and maybe a fix will be ready in the near future.
bool secure = check_paranoia() ? true : false;

AnselmoNaranja

Hello b4d_bl0ck,
i'm sorry if the post may seem the other and i've read other post but nobody helped me to solve my problem.
I've tried the other solutions but nothing.. The browser don't show me the login page...

HELP  :'(

b4d_bl0ck

[OT]I didn't say other threads were solved, it was all about writing under an old post instead of opening a new one.[/OT]

As said before some of us have the same problem, so we are trying to understand.
Anyways please, don't come here to cry since this is a community voluntary work and we all have busy days with different amounts of time to dedicate.
Hope you'll understand...

Have fun! ;)
bool secure = check_paranoia() ? true : false;

AnselmoNaranja

I respect your work and I do not come here to cry. I have not seen tread complaining about the same problem, or that fail to display the login page even though all services are started correctly.
thanks anyway

ostendali

slow down lads,
no need to create any tensions here.

what  b4d_bl0ck was trying to explain was that this is a common problem that happen to not many but just a few people. For example I don't have this issue. But for whomever has this problem there are many ways of solving it. You can kill the all openvas processes and restart it again using BB restart script (in the menu). Otherwise try to use the systems service command to restart and see what is happening. Or else try to check the logs for openvas and see what is going wrong while you are trying to restart and you will be able to catch the issue in the logs.

Once you have done all these steps, you will have more info and if still not solved, come back with all the info you have and ask your question. But use one of existing threads that already opened. If you already read them and that didn't help that doesn't mean the new one will help you. Just post your query over there to keep up to date the thread.

must be clear enough now.

ciao

sinflooddotnet

Please check out some of the steps in these links (2 articles for configuring+tshooting)
http://sinflood.net/?tag=openvas

And please give us some output of the openvas manager/administrator log files. Let me know how it goes.

BTW in case nothing works, you can also try an OpenVAS VM instead of BackBox. But you should be able solve it ;)

AnselmoNaranja

Hello,
I've solved the problem.
In a openvas log i've founded an autentication database fault error. Btw I've purged/installed again postgresql and started it. Now openvas work normally

b4d_bl0ck

Hi AnselmoNaranja,
Thanks for sharing the workaround! Maybe someone will find it useful. :)
If you could tell us the log file you found the error in, this would be helpful too, thus understanding the failing openvas module.

Bye!
Have fun!  ;)
bool secure = check_paranoia() ? true : false;

AnselmoNaranja

Ciao,
this is the openvasmd.log spool:
md   main:WARNING:2013-09-17 17h16.51 utc:22870: sql_x: sqlite3_prepare failed: no such table: main.meta
md   main:WARNING:2013-09-17 17h18.44 utc:22870: sql_parse_time: Failed to parse time: Wed Aug 21 16:07:49 CEST 2013
..
lib auth:   INFO:2013-11-18 00h47.39 utc:4080: Authentication configuration not found.
lib auth:   INFO:2013-11-18 00h51.04 utc:4402: Authentication configuration not found.
md   main:WARNING:2013-11-18 19h19.27 utc:2877: main: database is already at the supported version
GLib:WARNING:2013-11-18 19h20.09 utc:2878: g_strcompress: trailing \
md   main:WARNING:2013-11-18 19h20.10 utc:2878: sql_parse_time: Failed to parse time: Mon Sep 09 11:11:22 CEST 2013
md   main:WARNING:2013-11-18 19h20.10 utc:2878: sql_parse_time: Failed to parse time: Mon Sep 09 11:07:49 CEST 2013
...

I don't know why i've logged in 2013-09-17.. i've not installed BB at that time..  ???

this is the openvasad.log spool:
lib auth:   INFO:2013-11-18 00h17.27 CET:4127: Authentication configuration not found.
lib auth:   INFO:2013-11-18 00h21.16 CET:4309: Authentication configuration not found.
lib auth:   INFO:2013-11-18 00h42.22 CET:12154: Authentication configuration not found.
lib auth:   INFO:2013-11-18 00h52.32 CET:12406: Authentication configuration not found.

Ciao