Re: [Openvas-discuss] OpenVAS 9 Scanner 5.1.2 - lib kb_redis-CRITICAL **: fetch_max_db_index:

2018-04-15 Thread Pete @ GREENUP ENGINEERING
Awesome! thanks Christian. Someone else from this team will prob check this
out, and follow up here if there are more questions.

Cheers!
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

[Openvas-discuss] OpenVAS 9 Scanner 5.1.2 - lib kb_redis-CRITICAL **: fetch_max_db_index:

2018-04-10 Thread Pete @ GREENUP ENGINEERING

Hi folks

I got the following error on a 2 out of 3 servers im running after 
leaving  scan /24's. I have to flush redis, restart services and rebuild 
openvas to fix it. Can someone point me in the right direction for 
discovering what maybe causing it?


 openvas-scanner.service - LSB: remote network security auditor - scanner
   Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: 
enabled)

   Active: active (exited) since Mon 2018-04-09 22:34:08 UTC; 18h ago
 Docs: man:systemd-sysv-generator(8)
  Process: 1349 ExecStart=/etc/init.d/openvas-scanner start 
(code=exited, status=0/SUCCESS)


Apr 09 22:33:07 02 systemd[1]: Starting LSB: remote network 
security auditor - scanner...
Apr 09 22:33:08 02 openvas-scanner[1349]: (openvassd:1409): lib  
kb_redis-CRITICAL **: fetch_max_db_index: cannot retrieve max DB number: 
LOADING Redis is loading the dataset in memory
Apr 09 22:34:08 02 systemd[1]: Started LSB: remote network 
security auditor - scanner.


Thanks!

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] OpenVAS9 hanging nasl tasks (REDUX)

2018-04-09 Thread Pete @ GREENUP ENGINEERING
That did the trick. Thanks!

I think i'm back in action with this. :-)

Pete
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] OpenVAS9 hanging nasl tasks (REDUX)

2018-04-05 Thread Pete @ GREENUP ENGINEERING
Ok, so with an upgrade (and then another one) I just have a mixed bag of 
different issues across 3 installs. 2 of them i think are sorted (for 
now), but the last one has me a bit stumped, and isn't related to the 
subject/original topic.


Last night i did an upgrade via the repo on the three servers. It was to 
a level beyond where i was at, but not up to source code level yet. 
Everything installed ok, and scans started taking the time i would 
expect. I thought "IT'S FIXED!!!": Pleased i was.


But no such luck - this morning, although scans moved along and 
finished, 2 servers had issues. One had the manager stopped and the 
other had the scanner stopped, the 3rd was was chugging along fine.  
Pleased i wasn't. On one of them i did some flushing and rebuilding and 
things came good again, am back scanning fast and all services seem to 
be remaining running.


I couldn't find a way to get the other one where the manager service 
wouldn't start working, so thought i would try to get it on the 
source-code level. Mohammad had just yesterday brought his repo up to 
source-code level, so I took a snapshot and did the upgrade and lots of 
stuff failed. I backed out to the snapshot point and tried again (i dont 
think i did anything different), things when smoother this time, and 
services seem to be running, but with the gsa 7.0.3 upgrade a problem 
was introduced which means i cant access the WebUI. I get the login page 
ok, enter my username and password, then get a one line text response of


"The request contained an unknown or invalid Host header. If you are 
trying to access GSA via its hostname or a proxy, make sure GSA is set 
up to allow it."


Searching for those words don't yield me answers beyond the fact that 
this error text was recently added to the gsad.c file in 7.0.3 (wasn't 
there in 7.0.2 which is what i am successfully running on the other 2 
systems).


https://fossies.org/linux/misc/openvas/gsa-7.0.3.tar.gz/gsa-7.0.3/src/gsad.c#l_261 


https://fossies.org/diffs/gsa/7.0.2_vs_7.0.3/src/gsad.c-diff.html

Seems like something isn;t right in the new GSA 7.0.3 version. Was 
wondering if anyone else has some input, although might be better to 
start a new thread?


Cheers
Thanks

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] OpenVAS9 hanging nasl tasks (REDUX)

2018-04-04 Thread Pete @ GREENUP ENGINEERING
Hi
I sent a response, not sure why it didn't come through on my other address.

I noticed Mohammad's openvas9 repo DOES have a small update (6 days ago)
beyond what i was running.

I did an apt-get update and upgrade and it updated openvas scanner,
manager, gsa, and a few other things (libopenvas9 i think) so now things
work as expected: Scans don't hang, and move through at an expected pace.

Cheers/Thanks
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] OpenVAS9 hanging nasl tasks (REDUX)

2018-04-04 Thread Pete Greenup
Thanks.This is a prod system and need it to be repo built so i can 
easily keep it current/updated.

Can i do a manual install of the latest code from source over the top of 
the existing repo install, leave the repo in place and when it gets 
updated, running an update would bring things to currency with a repo?

Thanks

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



[Openvas-discuss] OpenVAS9 hanging nasl tasks (REDUX)

2018-04-03 Thread Pete Greenup
I seem to be running into the exact same symptoms as Thijs here:
https://lists.wald.intevation.org/pipermail/openvas-discuss/2017-May/011045.html

and this fellow here:
https://forums.atomicorp.com/viewtopic.php?f=31&t=8584

I installed from Mohammad Razavi's repo 
here:https://launchpad.net/~mrazavi/+archive/ubuntu/openvas

I am running Ubuntu 16.04, OpenVAS Scanner 5.1.1 and OpenVAS Manager 7.0.1

Get the same stalls/hangs on the same .nasl files. Same redis monitor output. 
The version i am running has the 2 referenced patched .nasl files already 
fixed, so not sure what to next

Is this known issue definitively fixed in in the later versions?: 
http://www.openvas.org/install-source.html (has later versions than i am 
running: scanner 5.1.2 and Manager 7.0.3) would i be better to either install 
that from source, or see if/when Mohammad will update the repo to include the 
latest code?

Any other advice?

Cheers/thanks


___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss