Re: [Openvas-discuss] openvassd stuck at "Reloaded all the NVTs"

2016-11-16 Thread Christian Fischer
Hi,

On 17.11.2016 03:46, Kaon Thana wrote:
> I did not think about restarting the redis service. It had been up for
> months. 

to avoid such issues with redis you might need to update your redis
config. Have a look at this posting:

https://lists.wald.intevation.org/pipermail/openvas-discuss/2016-April/009497.html

Without the "Save" statements in your redis.conf this issue should
disappear.

Regards,

-- 

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] openvassd stuck at "Reloaded all the NVTs"

2016-11-16 Thread Kaon Thana
I did not think about restarting the redis service. It had been up for
months. 

 

I stopped it and restarted the scanner service and now it works fine.

 

Thanks a lot for the tip! This can be marked as SOLVED.

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

Re: [Openvas-discuss] tasks hang indefinitely at start openvas 8/centos 6

2016-11-16 Thread Fábio Fernandes
Check if all OpenVAS executables are running properly. Try ps -xau | grep -E 
“openvas|gsad”

Fabio

> No dia 16/11/2016, às 04:00, ccavello+open...@gmail.com escreveu:
> 
> I am using Openvas 8 running on Centos 6.
> For a few weeks everything was running fine.
> Nothing changed to my knowledge, besides the nightly cron updates of
> the NVT/scap/cert and daily task runs.
> Last week, no task would start. Wouldn't even get to "1%". Task start
> would hang from the GUI or from the command line (opm).
> 
> 
> omp -u openvasuser -w REDACTEDPASSWORD -G
> works fine, and returns a list of tasks.
> However, when I try to start a task, as below, it hangs
> omp -u openvasuser -w REDACTEDPASSWORD -S
> d7839d94-f5aa-4245-ae6a-38e2f47d8b20 -v
> 
> I included parts of a few straces below.
> 
> 
> Could there be anything in the OS that went afoul? I have tried
> uninstalling and reinstalling openvas but get the same result.
> 
> listener:
> [ccavello@dc1pcore-nvt01 ~]$ sudo lsof -P -itcp:9390,9391,9392
> COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> gsad   1707 root5u  IPv4  12621  0t0  TCP *:9392 (LISTEN)
> openvassd  8728 root4u  IPv4 593398  0t0  TCP *:9391 (LISTEN)
> openvasmd 13364 root5u  IPv4 689561  0t0  TCP *:9390 (LISTEN)
> 
> [ccavello@dc1pcore-nvt01 ~]$ ps -ef | egrep "gsad|openv"
> root  1707 1  0 Nov14 ?00:06:42 /usr/sbin/gsad
> --listen=0.0.0.0 --port=9392 --mlisten=127.0.0.1 --mport=9390
> root  8728 1  0 00:00 ?00:01:32 openvassd: Reloaded all
> the NVTs.
> root 13364 1  0 10:54 ?00:00:07 openvasmd
> 
> [ccavello@dc1pcore-nvt01 ~]$ sudo strace -tt -f -p 13364
> 
> [pid 14169] 14:06:50.283441 read(16, "127.0.0.1   localhost
> localhost."..., 4096) = 259
> [pid 14169] 14:06:50.283500 read(16, "", 4096) = 0
> [pid 14169] 14:06:50.283534 close(16)   = 0
> [pid 14169] 14:06:50.283561 munmap(0x7f032c2d, 4096) = 0
> [pid 14169] 14:06:50.283599 open("/etc/gai.conf", O_RDONLY) = 16
> [pid 14169] 14:06:50.283634 fstat(16, {st_mode=S_IFREG|0644, st_size=0,
> ...}) = 0
> [pid 14169] 14:06:50.283691 fstat(16, {st_mode=S_IFREG|0644, st_size=0,
> ...}) = 0
> [pid 14169] 14:06:50.283726 mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f032c2d
> [pid 14169] 14:06:50.283758 read(16, "", 4096) = 0
> [pid 14169] 14:06:50.283799 close(16)   = 0
> [pid 14169] 14:06:50.283828 munmap(0x7f032c2d, 4096) = 0
> [pid 14169] 14:06:50.283869 futex(0x3d37b90f24, FUTEX_WAKE_PRIVATE,
> 2147483647) = 0
> [pid 14169] 14:06:50.283976 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 16
> [pid 14169] 14:06:50.284015 connect(16, {sa_family=AF_INET,
> sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
> [pid 14169] 14:06:50.284053 getsockname(16, {sa_family=AF_INET,
> sin_port=htons(45031), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
> [pid 14169] 14:06:50.284090 close(16)   = 0
> [pid 14169] 14:06:50.284176 fcntl(11, F_SETLK, {type=F_RDLCK,
> whence=SEEK_SET, start=1073741824, len=1}) = 0
> [pid 14169] 14:06:50.284216 fcntl(11, F_SETLK, {type=F_RDLCK,
> whence=SEEK_SET, start=1073741826, len=510}) = 0
> [pid 14169] 14:06:50.284247 fcntl(11, F_SETLK, {type=F_UNLCK,
> whence=SEEK_SET, start=1073741824, len=1}) = 0
> [pid 14169] 14:06:50.284279
> access("/var/lib/openvas/mgr/tasks.db-journal", F_OK) = -1 ENOENT (No
> such file or directory)
> [pid 14169] 14:06:50.284317 fstat(11, {st_mode=S_IFREG|0600,
> st_size=1404740608, ...}) = 0
> [pid 14169] 14:06:50.284350 lseek(11, 24, SEEK_SET) = 24
> [pid 14169] 14:06:50.284377 read(11,
> "\2\247p\\\0\24\356\251\0\n\200\273\0\10\337l", 16) = 16
> [pid 14169] 14:06:50.284408 fstat(11, {st_mode=S_IFREG|0600,
> st_size=1404740608, ...}) = 0
> [pid 14169] 14:06:50.284438 access("/var/lib/openvas/mgr/tasks.db-wal",
> F_OK) = -1 ENOENT (No such file or directory)
> [pid 14169] 14:06:50.284472 fstat(11, {st_mode=S_IFREG|0600,
> st_size=1404740608, ...}) = 0
> [pid 14169] 14:06:50.284511 lseek(11, 1283979264, SEEK_SET) = 1283979264
> [pid 14169] 14:06:50.284539 read(11,
> "\0\23\"2GMxcGNvcmUt\nbnZ0MDExIDAeBgkq"..., 1024) = 1024
> [pid 14169] 14:06:50.284573 lseek(11, 1284031488, SEEK_SET) = 1284031488
> [pid 14169] 14:06:50.284600 read(11,
> "\0\23\"\237kNlcnRpZmljYXRpb24gQXV0aG9ya"..., 1024) = 1024
> [pid 14169] 14:06:50.284646 fcntl(11, F_SETLK, {type=F_UNLCK,
> whence=SEEK_SET, start=0, len=0}) = 0
> [pid 14169] 14:06:50.285155 fcntl(11, F_SETLK, {type=F_RDLCK,
> whence=SEEK_SET, start=1073741824, len=1}) = 0
> [pid 14169] 14:06:50.285195 fcntl(11, F_SETLK, {type=F_RDLCK,
> whence=SEEK_SET, start=1073741826, len=510}) = 0
> [pid 14169] 14:06:50.285227 fcntl(11, F_SETLK, {type=F_UNLCK,
> whence=SEEK_SET, start=1073741824, len=1}) = 0
> [pid 14169] 14:06:50.285259
> access("/var/lib/openvas/mgr/tasks.db-journal", F_OK) = -1 ENOENT (No
> such file or directory)
> [pid 14169] 14:06:50.285309 fstat(11, {st_mode=S_IFREG|0600,
> st_size=1404740608, ...}) = 0
> [pid 14169] 

Re: [Openvas-discuss] openvassd stuck at "Reloaded all the NVTs"

2016-11-16 Thread ccavello+openvas
I have to stop openvasmd, gsad, and redis in order to get the rebuild to
not hang.


On 11/16/2016 2:17 PM, Kaon Thana wrote:
>
> I think my scanner is broke, has anyone seen this issue before?
>
>  
>
> The scanner usually shows: “Waiting for incoming connections”.
>
>  
>
> But now I only see: “openvassd: Reloaded all the NVTs.”
>
>  
>
> It also hangs when I try to run openvasmd –rebuild.
>
>  
>
> The last log entry shows the last NVT loaded:
>
> [Thu Jul 21 02:00:14 2016][13561] Loading esoft_slk_ssa_2004_124_02.nasl
>
>  
>
> Usually the line after says something like “openvassd 5.0.5 started”.
> But I haven’t seen this log entry since Last Saturday Nov 12th (I run
> daily NVT updates).
>
>  
>
> Versions:
>
> openvassd 5.0.5
>
> OpenVAS Manager version 6.0.8 (DB revision 146)
>
> OS: Linux 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
>  
>
> I have tried following this guide to update the certs but no luck:
> http://plugins.openvas.org/ova_503.txt
>
>  
>
>  
>
>
>
> ___
> Openvas-discuss mailing list
> Openvas-discuss@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


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

[Openvas-discuss] openvassd stuck at "Reloaded all the NVTs"

2016-11-16 Thread Kaon Thana
I think my scanner is broke, has anyone seen this issue before?

 

The scanner usually shows: "Waiting for incoming connections".

 

But now I only see: "openvassd: Reloaded all the NVTs."

 

It also hangs when I try to run openvasmd -rebuild.

 

The last log entry shows the last NVT loaded:

[Thu Jul 21 02:00:14 2016][13561] Loading esoft_slk_ssa_2004_124_02.nasl

 

Usually the line after says something like "openvassd 5.0.5 started". But
I haven't seen this log entry since Last Saturday Nov 12th (I run daily
NVT updates). 

 

Versions:

openvassd 5.0.5

OpenVAS Manager version 6.0.8 (DB revision 146)

OS: Linux 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux

 

I have tried following this guide to update the certs but no luck:
http://plugins.openvas.org/ova_503.txt

 

 

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

Re: [Openvas-discuss] Need Help to install openvas on ubuntu 14.04.

2016-11-16 Thread Christian Fischer
Hi,

On 16.11.2016 15:50, Katakam Ravi wrote:
> please provide the PPA, where i could get the packages. 
> With below one i am unable to do it, is there any one ?

the link to the PPA was already provided in my last mail...

Regards,

-- 

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] Need Help to install openvas on ubuntu 14.04.

2016-11-16 Thread Katakam Ravi
Hi All,

Need steps to install openVAS 8/ 9  on ubuntu 14.04.

please provide the PPA, where i could get the packages. 
With below one i am unable to do it, is there any one ?

sudo add-apt-repository ppa:mrazavi/openvas


Thanks & Regards,
Ravi.
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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

Re: [Openvas-discuss] Is not working sudo add-apt-repository ppa:mrazavi/openvas

2016-11-16 Thread Christian Fischer
Hi,

On 16.11.2016 12:21, Katakam Ravi wrote:
> Hi All,
> 
> I am new to openVAS, trying to install in Ubuntu 14.04.
> 
> But facing issue while adding PPA as below, which is having issue.
> 
> sudo add-apt-repository ppa:mrazavi/openvas
> 
> Please let me know latest step to install the latest on Ubuntu.
> 
> Thanks & Regards
> Ravi.

install instructions are provided at:

https://launchpad.net/~mrazavi/+archive/ubuntu/openvas

If you're struggling with the package installation steps you should
contact a support channel of your distro to get help with that.

Regards,

-- 

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] Is not working sudo add-apt-repository ppa:mrazavi/openvas

2016-11-16 Thread Katakam Ravi
Hi All,

I am new to openVAS, trying to install in Ubuntu 14.04.

But facing issue while adding PPA as below, which is having issue.

sudo add-apt-repository ppa:mrazavi/openvas

Please let me know latest step to install the latest on Ubuntu.

Thanks & Regards
Ravi.

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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

[Openvas-discuss] Filtering of Scan Reports

2016-11-16 Thread Jeremiah Pabiona
Dear Madame/Sir,

Just a question, would it be possible to filter the reports that OpenVAS is
sending?

Currently, we are receiving the same reports every after scan, i.e. "Test
Scan". Would it be possible that OpenVAS just gives out a report for a new
vulnerability it sees during a scan and not the other things that is
already being reported in the previous scan?

Hoping for your response. Thank you.

Kind Regards,
Jeremiah C. Pabiona
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss