I've got the scan created and completing, but it never seems to process the
report
Here's the output of my packetfence.log
Any suggestions where to begin looking?
In the logs below, I went back to the portal page and refreshed/re-clicked Scan
Sep 16 15:02:17 pfcmd.pl(23590) INFO: Instantiate a new vulnerability scanning
engine object of type pf::scan::openvas. (pf::scan::instantiate_scan_engine)
Sep 16 15:02:17 pfcmd.pl(23590) DEBUG: Instantiating a new pf::scan::openvas
scanning object (pf::scan::openvas::new)
Sep 16 15:02:17 pfcmd.pl(23590) INFO: Creating a new scan target named
1410897737610d84 for host 192.168.70.11 (pf::scan::openvas::createTarget)
Sep 16 15:02:17 pfcmd.pl(23590) TRACE: Scan target creation command: omp -h
127.0.0.1 -p 9390 -u admin -w pass -X
'<create_target><name>1410897737610d84</name><hosts>192.168.70.11</hosts></create_target>'
(pf::scan::openvas::createTarget)
Sep 16 15:02:19 pfcmd.pl(23590) TRACE: Scan target creation output:
<create_target_response id="43645909-2d38-4016-bda4-8966c76c3380"
status_text="OK, resource created" status="201"></create_target_response>
(pf::scan::openvas::createTarget)
Sep 16 15:02:19 pfcmd.pl(23590) INFO: Scan target named 1410897737610d84
successfully created with id: 43645909-2d38-4016-bda4-8966c76c3380
(pf::scan::openvas::createTarget)
Sep 16 15:02:19 pfcmd.pl(23590) DEBUG: Generated OpenVAS callback is:
<method>HTTP
Get<data>http://127.0.0.1/scan/scan_fetch_report.cgi?scanid=1410897737610d84<name>URL</name></data></method>
(pf::scan::openvas::_generateCallback)
Sep 16 15:02:19 pfcmd.pl(23590) INFO: Creating a new scan alert named
1410897737610d84 (pf::scan::openvas::createAlert)
Sep 16 15:02:19 pfcmd.pl(23590) TRACE: Scan alert creation command: omp -h
127.0.0.1 -p 9390 -u admin -w pass -X '<create_alert>
<name>1410897737610d84</name>
<condition>Always</condition>
<event>Task run status changed<data>Done<name>status</name></data></event>
<method>HTTP
Get<data>http://127.0.0.1/scan/scan_fetch_report.cgi?scanid=1410897737610d84<name>URL</name></data></method>
</create_alert>
' (pf::scan::openvas::createAlert)
Sep 16 15:02:19 pfcmd.pl(23590) TRACE: Scan alert creation output:
<create_alert_response id="80909ee9-191d-40a0-bb2a-af69807c84a0"
status_text="OK, resource created" status="201"></create_alert_response>
(pf::scan::openvas::createAlert)
Sep 16 15:02:19 pfcmd.pl(23590) INFO: Scan alert named 1410897737610d84
successfully created with id: 80909ee9-191d-40a0-bb2a-af69807c84a0
(pf::scan::openvas::createAlert)
Sep 16 15:02:19 pfcmd.pl(23590) INFO: Creating a new scan task named
1410897737610d84 (pf::scan::openvas::createTask)
Sep 16 15:02:19 pfcmd.pl(23590) TRACE: Scan task creation command: omp -h
127.0.0.1 -p 9390 -u admin -w pass -X '<create_task>
<name>1410897737610d84</name>
<config id="bbca7412-a950-11e3-9109-406186ea4fc5"/>
<target id="43645909-2d38-4016-bda4-8966c76c3380"/>
<alert id="80909ee9-191d-40a0-bb2a-af69807c84a0"/>
</create_task>
' (pf::scan::openvas::createTask)
Sep 16 15:02:21 pfcmd.pl(23590) INFO: Scan task named 1410897737610d84
successfully created with id: 5b95e728-1d78-40c7-a16d-ce23ef9e793e
(pf::scan::openvas::createTask)
Sep 16 15:02:21 pfcmd.pl(23590) INFO: Starting scan task named 1410897737610d84
(pf::scan::openvas::startTask)
Sep 16 15:02:21 pfcmd.pl(23590) TRACE: Scan task starting command: omp -h
127.0.0.1 -p 9390 -u admin -w pass -X '<start_task
task_id="5b95e728-1d78-40c7-a16d-ce23ef9e793e"/>' (pf::scan::openvas::startTask)
Sep 16 15:02:21 pfcmd.pl(23590) TRACE: Scan task starting output:
<start_task_response status_text="OK, request submitted"
status="202"><report_id>b6ae7e93-f66e-4cc4-a521-812b27d03c65</report_id></start_task_response>
(pf::scan::openvas::startTask)
Sep 16 15:02:21 pfcmd.pl(23590) INFO: Scan task named 1410897737610d84
successfully started (pf::scan::openvas::startTask)
Sep 16 15:02:21 pfcmd.pl(23590) TRACE: attempt #0 to run query scan_update_sql
from module scan (pf::db::db_query_execute)
Sep 16 15:02:21 pfcmd.pl(23590) TRACE: SQL statement (scan_update_sql):
UPDATE scan SET
status = ?, report_id =?
WHERE id = ?
(pf::db::db_query_execute)
Sep 16 15:02:21 pfcmd.pl(23590) TRACE: SQL params (scan_update_sql): started,
b6ae7e93-f66e-4cc4-a521-812b27d03c65, 1410897737610d84
(pf::db::db_query_execute)
Sep 16 15:02:21 pfcmd.pl(23590) TRACE: leaving pfcmd schedule now
(main::schedule)
Sep 16 15:03:39 httpd.portal(23581) INFO: mac : 00:26:22:c7:0d:84
(captiveportal::PacketFence::Controller::CaptivePortal::validateMac)
Sep 16 15:03:40 httpd.portal(23581) INFO: captive portal redirect on violation
vid: 1200001, redirect template: system_scan
(captiveportal::PacketFence::Controller::CaptivePortal::checkForViolation)
Sep 16 15:03:41 httpd.portal(23581) INFO: Showing the
violations/system_scan.html remediation page.
(captiveportal::PacketFence::Controller::Remediation::index)
Sep 16 15:04:08 httpd.portal(8064) INFO: captive portal redirect to the scan in
progress page (pf::web::release::handler)
Sep 16 15:04:55 httpd.portal(23586) INFO: captive portal redirect to the scan
in progress page (pf::web::release::handler)
Sep 16 15:05:10 httpd.portal(3233) INFO: mac : 00:26:22:c7:0d:84
(captiveportal::PacketFence::Controller::CaptivePortal::validateMac)
Sep 16 15:05:10 httpd.portal(3233) INFO: captive portal redirect on violation
vid: 1200001, redirect template: system_scan
(captiveportal::PacketFence::Controller::CaptivePortal::checkForViolation)
Sep 16 15:05:10 httpd.portal(3233) INFO: Showing the
violations/system_scan.html remediation page.
(captiveportal::PacketFence::Controller::Remediation::index)
Sep 16 15:05:14 httpd.portal(3233) INFO: captive portal redirect to the scan in
progress page (pf::web::release::handler)
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users