Re: [Openvas-discuss] can not start a task ,it's hang

2016-04-11 Thread Eero Volotinen
check out the logs. looks likes redis issue to me. Eero 2016-04-12 9:10 GMT+03:00 ch huang : > hi: > i try to start a stopped task,but it's hang ,i do not know why? > # uname -a > Linux internal_server2 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 > 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Li

[Openvas-discuss] can not start a task ,it's hang

2016-04-11 Thread ch huang
hi: i try to start a stopped task,but it's hang ,i do not know why? # uname -a Linux internal_server2 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m # omp -G c25acec6-d70d-411e-9139-04f4f

Re: [Openvas-discuss] Scan completes instantly w/o result

2016-04-11 Thread Eero Volotinen
V9 is beta software, please use stable version. Eero 12.4.2016 2.13 ap. "Frank Sfalanga Jr." kirjoitti: > Hello, > > Recently built this Ubuntu Server v14.04.3 LTS with OpenVAS v.9 using > the packages/process detailed here: > > http://bit.ly/20vy4BY > > When I do a Quick Start type scan of my l

[Openvas-discuss] Scan completes instantly w/o result

2016-04-11 Thread Frank Sfalanga Jr .
Hello, Recently built this Ubuntu Server v14.04.3 LTS with OpenVAS v.9 using the packages/process detailed here: http://bit.ly/20vy4BY When I do a Quick Start type scan of my local LAN the scan completes instantly w/o results. Is it possible that the nmap version is too new on the server? Chec

Re: [Openvas-discuss] Location of XML file used to generate PDF report

2016-04-11 Thread TN TN
Hi Matthew, Thanks for the prompt reply. Can you point me in the right direction on what I should be looking at with a link to a site?? A google search for "notes feature for annotating results openvas" and variations of that are not coming up with any useful links. Thanks again - T On 11 Apri

Re: [Openvas-discuss] Location of XML file used to generate PDF report

2016-04-11 Thread matthew.mundell
The XML is generated from the database on the fly. So there's no "base" XML file. Maybe look at the notes feature for annotating results. > Hi Eero, > > Thanks for the reply. The XSLT file is located in that directory, but I > can't add any additional parameters (what I'm looking to add is custo

Re: [Openvas-discuss] Location of XML file used to generate PDF report

2016-04-11 Thread TN TN
Hi Eero, Thanks for the reply. The XSLT file is located in that directory, but I can't add any additional parameters (what I'm looking to add is custom user tags to the PDF report) to that. It seems like the base XML file which the PDF/XSLT uses to get the data is where I need to import the add-on

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Michael Meyer
*** Ralf Hildebrandt wrote: > Yes, it's working. Finally. > > Should I worry about these? > > lib serv:WARNING:2016-04-11 13h53.36 utc:18919:Failed to gnutls_bye: > GnuTLS internal error. > lib serv:WARNING:2016-04-11 13h53.36 utc:18920: Failed to shake hands with > peer: No supported ci

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Michael Meyer : > > > Hmm..this is related to redis. > > > > Indeed, I stopped redis, removed dump.rdb and alas: > > root 6230 76.2 0.0 163740 32308 ?Ss 15:20 1:14 openvassd: > > Waiting for incoming connections > > Ahh :) Yes, that's how I felt as well. Everything seems

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Michael Meyer
*** Ralf Hildebrandt wrote: > * Michael Meyer : > > *** Ralf Hildebrandt wrote: > > > > > # strace -p 4949 > > > strace: Process 4949 attached > > > restart_syscall(<... resuming interrupted nanosleep ...>) = 0 > > > write(6, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60 > > > > Hmm..th

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Michael Meyer : > *** Ralf Hildebrandt wrote: > > > # strace -p 4949 > > strace: Process 4949 attached > > restart_syscall(<... resuming interrupted nanosleep ...>) = 0 > > write(6, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60 > > Hmm..this is related to redis. Indeed, I stopped red

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > # strace -p 4949 > strace: Process 4949 attached > restart_syscall(<... resuming interrupted nanosleep ...>) = 0 > write(6, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60 > read(6, ":0\r\n", 16384)= 4 > write(6, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Michael Meyer
*** Ralf Hildebrandt wrote: > # strace -p 4949 > strace: Process 4949 attached > restart_syscall(<... resuming interrupted nanosleep ...>) = 0 > write(6, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60 Hmm..this is related to redis. What is your redis version You are using the example co

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Michael Meyer : > *** Ralf Hildebrandt wrote: > > > root 32756 44.6 0.0 163740 32256 ?Ss 13:23 1:15 openvassd: > > Reloaded all the NVTs. > > Still missing the "openvassd: Waiting for incoming connections" state. Indeed. this state is never entered. > Hmm..please check also

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Michael Meyer
*** Ralf Hildebrandt wrote: > root 32756 44.6 0.0 163740 32256 ?Ss 13:23 1:15 openvassd: > Reloaded all the NVTs. Still missing the "openvassd: Waiting for incoming connections" state. Hmm..please check also /var/log/openvas/openvassd.messages. Micha -- Michael Meyer

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Hans
Am Montag, 11. April 2016, 13:45:01 schrieb Ralf Hildebrandt: > * Ralf Hildebrandt : > > I think it's time to ramp up the logging as you suggested. > > Logging from level=128 (openvasmd.log) is attached. > > # openvasmd --rebuild --progress --verbose > Rebuilding NVT cache... / > > still hangs

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > I think it's time to ramp up the logging as you suggested. Logging from level=128 (openvasmd.log) is attached. # openvasmd --rebuild --progress --verbose Rebuilding NVT cache... / still hangs -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Michael Meyer : > *** Ralf Hildebrandt wrote: > > > And the number of NVTs is 46542. So why is it "too low"? > > You didn't run "openvasmd --rebuild"? > > 1. Kill all running openvas services. > 2. Delete /var/lib/openvas/plugins/* > 3. Delete /var/cache/openvas/* OK. > 4. run "openvas-nvt-s

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Michael Meyer
*** Ralf Hildebrandt wrote: > And the number of NVTs is 46542. So why is it "too low"? You didn't run "openvasmd --rebuild"? 1. Kill all running openvas services. 2. Delete /var/lib/openvas/plugins/* 3. Delete /var/cache/openvas/* 4. run "openvas-nvt-sync" 5. Start the scanner 6. Wait until scan

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > # ls -l /var/lib/openvas/scap-data/scap.db > -rw-r--r-- 1 root root 282370048 Apr 6 00:00 > /var/lib/openvas/scap-data/scap.db > > # lsof |grep scap.db > openvasmd 24686 root8u REG9,2 282370048 > 117463496 /var/lib/openvas/scap-data/

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
* Michael Meyer : > *** Ralf Hildebrandt wrote: > > >WARNING: OpenVAS Scanner is NOT running! > >SUGGEST: Start OpenVAS Scanner (openvassd). In the meantime it's running, but # openvasmd --rebuild is hanging. It's beeing running since: root 29281 0.0 0.0 184576 7660 pts

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Michael Meyer
*** Ralf Hildebrandt wrote: >WARNING: OpenVAS Scanner is NOT running! >SUGGEST: Start OpenVAS Scanner (openvassd). Micha -- Michael Meyer OpenPGP Key: 0xAF069E9152A6EFA6 http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Os

Re: [Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Eero Volotinen
check out the logs first. -- Eero 2016-04-11 12:27 GMT+03:00 Ralf Hildebrandt : > We're using openvas 8 (from the Ubuntu PPA), and when starting a scan, > I'm getting: > > Results of last operation > Operation: Start Task > Status code:503 > Status message: Service temporarily down > >

[Openvas-discuss] Scan fails with "503 Service temporarily down"

2016-04-11 Thread Ralf Hildebrandt
We're using openvas 8 (from the Ubuntu PPA), and when starting a scan, I'm getting: Results of last operation Operation: Start Task Status code:503 Status message: Service temporarily down In the openvasmd.log log I'm getting: lib serv:WARNING:2016-04-11 09h26.44 UTC:29023: openvas_ser

Re: [Openvas-discuss] bug on openvas-check-setup when install openvas 8

2016-04-11 Thread Chris
Hi,   > i find openvas-check-setup script has a bug ,because gcad open 80 and 9392 > port when it start,but in   openvas-check-setup it's only handle one port!!!   use the latest available openvas-check-setup 2.3.3 from SVN: https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-se

[Openvas-discuss] bug on openvas-check-setup when install openvas 8

2016-04-11 Thread ch huang
hi: i find openvas-check-setup script has a bug ,because gcad open 80 and 9392 port when it start,but in openvas-check-setup it's only handle one port!!! Step 7: Checking if OpenVAS services are up and running ... OK: netstat found, extended checks of the OpenVAS services enabled.

Re: [Openvas-discuss] Location of XML file used to generate PDF report

2016-04-11 Thread Eero Volotinen
Well. I think it's located in: openvasmd/global_report_formats/c402cc3e-b531-11e1-9163-406186ea4fc5/ I have never modified it, but.. and it's not xml file. -- Eero 2016-04-09 1:34 GMT+03:00 Tony N : > Hi, > > Can someone please guide me to the location of the XML file that contains > all th