[Openvas-discuss] Slave issue

Alicia Smith asmith at neospire.net
Thu Mar 17 16:48:13 CET 2011


I'll try to run a scan directly from vas2, but to answer your other question what I did was change the slave the successfully scanned task that ran on vas1 to vas2 - vas1 comes back with about 14 items and the scan takes about 204 seconds to run, while vas2 takes 0 and comes back with a result of "none".

Here are the logs from the last failed scan from the point I changed the task to the point that it "completed"

I have updated the NVT on vas2 and ran openvasmd --update as well. So I'm not sure what the "...NVT missing from the cache" means. 

--------vas2 logs----------
event auth:MESSAGE:2011-03-15 15h29.37 utc :4138: Authentication success for user asmith (7ffd476a-6239-42f8-90a2-61079dd846c6)
event target:MESSAGE:2011-03-15 15h29.37 utc :4138: Target ea701778-d2cc-44b5-8501-3a7bb4b8f5ff has been created
md   main:WARNING:2011-03-15 15h29.39 utc :4138: insert_nvt_selectors: skipping NVT '1.3.6.1.4.1.25623.1.0.14259' from import of config 'f60cef05-6444-4625-90b2-8b6b7979e446' because the NVT is missing from the cache
md   main:WARNING:2011-03-15 15h29.39 utc :4138: insert_nvt_selectors: skipping NVT '1.3.6.1.4.1.25623.1.0.100315' from import of config 'f60cef05-6444-4625-90b2-8b6b7979e446' because the NVT is missing from the cache
md   main:WARNING:2011-03-15 15h29.39 utc :4138: insert_nvt_selectors: skipping NVT '1.3.6.1.4.1.25623.1.0.80109' from import of config 'f60cef05-6444-4625-90b2-8b6b7979e446' because the NVT is missing from the cache
event config:MESSAGE:2011-03-15 15h29.39 utc :4138: Scan config 962d042d-940f-4a47-9658-bfc494ec9ebd has been created
event task:MESSAGE:2011-03-15 15h29.39 utc :4138: Status of task  (ddda98c8-ef21-481b-8ccb-a4c0212257c9) has changed to New
event task:MESSAGE:2011-03-15 15h29.39 utc :4138: Task ddda98c8-ef21-481b-8ccb-a4c0212257c9 has been created
event task:MESSAGE:2011-03-15 15h29.39 utc :4138: Status of task 537b98a8-4ead-4a00-9af3-02e60bba7388 (ddda98c8-ef21-481b-8ccb-a4c0212257c9) has changed to Requested
event task:MESSAGE:2011-03-15 15h29.39 utc :4138: Task ddda98c8-ef21-481b-8ccb-a4c0212257c9 has been requested to start
event task:MESSAGE:2011-03-15 15h29.40 utc :4140: Status of task 537b98a8-4ead-4a00-9af3-02e60bba7388 (ddda98c8-ef21-481b-8ccb-a4c0212257c9) has changed to Running
event task:MESSAGE:2011-03-15 15h29.40 utc :4140: Status of task 537b98a8-4ead-4a00-9af3-02e60bba7388 (ddda98c8-ef21-481b-8ccb-a4c0212257c9) has changed to Done
event task:MESSAGE:2011-03-15 15h30.05 utc :4138: Task ddda98c8-ef21-481b-8ccb-a4c0212257c9 has been deleted
event config:MESSAGE:2011-03-15 15h30.05 utc :4138: Scan config 962d042d-940f-4a47-9658-bfc494ec9ebd has been deleted
event target:MESSAGE:2011-03-15 15h30.05 utc :4138: Target ea701778-d2cc-44b5-8501-3a7bb4b8f5ff has been deleted
lib  serv:WARNING:2011-03-15 15h30.05 utc :4138:    Failed to gnutls_bye: Error in the push function.
------------end of vas2 logs--------------------

Now here are the logs from a successful vas1 scan

------------start of vas1 logs------------------
event target:MESSAGE:2011-03-15 15h10.45 utc :22287: Target 7d0157f8-9bef-4284-b30e-5feca2dc5fbc has been created
event config:MESSAGE:2011-03-15 15h10.46 utc :22287: Scan config 4d876eeb-ff00-4617-aefe-41dc03b03603 has been created
event task:MESSAGE:2011-03-15 15h10.50 utc :22287: Status of task  (20aee78f-59f8-49e0-9d0e-6bf07956de95) has changed to New
event task:MESSAGE:2011-03-15 15h10.50 utc :22287: Task 20aee78f-59f8-49e0-9d0e-6bf07956de95 has been created
event task:MESSAGE:2011-03-15 15h10.50 utc :22287: Status of task 1f299b03-9ffb-4568-9cf6-6f41485139f6 (20aee78f-59f8-49e0-9d0e-6bf07956de95) has changed to Requested
event task:MESSAGE:2011-03-15 15h10.50 utc :22287: Task 20aee78f-59f8-49e0-9d0e-6bf07956de95 has been requested to start
event task:MESSAGE:2011-03-15 15h10.56 utc :22299: Status of task 1f299b03-9ffb-4568-9cf6-6f41485139f6 (20aee78f-59f8-49e0-9d0e-6bf07956de95) has changed to Running
event task:MESSAGE:2011-03-15 15h14.22 utc :22299: Status of task 1f299b03-9ffb-4568-9cf6-6f41485139f6 (20aee78f-59f8-49e0-9d0e-6bf07956de95) has changed to Done
event task:MESSAGE:2011-03-15 15h14.36 utc :22287: Task 20aee78f-59f8-49e0-9d0e-6bf07956de95 has been deleted
event config:MESSAGE:2011-03-15 15h14.36 utc :22287: Scan config 4d876eeb-ff00-4617-aefe-41dc03b03603 has been deleted
event target:MESSAGE:2011-03-15 15h14.36 utc :22287: Target 7d0157f8-9bef-4284-b30e-5feca2dc5fbc has been deleted
lib  serv:WARNING:2011-03-15 15h14.36 utc :22287:    Failed to gnutls_bye: Error in the push function.
------------end of vas1 logs----------------------





-----Original Message-----
From: matthew.mundell at greenbone.net [mailto:matthew.mundell at greenbone.net] 
Sent: Thursday, March 17, 2011 12:10 AM
To: Alicia Smith
Cc: openvas-discuss at wald.intevation.org
Subject: Re: [Openvas-discuss] Slave issue

> I have run some test scans to see if they all perform as expected.
> Vas1 runs beautifully.

Hooray.

> However, when attempting to scan a task using Vas2, it schedules the
> scan, starts it, and then immediately says completed. No scanning takes
> place according to the openvassd.log
> There aren't any errors in the logs.
> Vas2 has been built identical to Vas1 (manually however)
> Nmap from vas1 mirror's the nmap of the same device from vas2
> The library configs have been checked and are identical.
> The packages installed are identical as well.
> Iptables is disabled on both machines, I am just not sure where the
> breakdown is.
> The manager connects as the netstat output shows, but it doesn't
> actually scan anything.
> Database has been initialized and updated on both vas1 and vas2 after
> the nvt download.
> I haven't finished configuring vas3 yet, until I know vas2 is working.
>
> Any ideas?

Maybe try run a scan directly on vas2.  You could also check the Manager
logs on vas1 and vas2.

Are there any NVTs selected by the config of the vas2 task?

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-discuss mailing list