Hello, I am getting #424 error Object required on my open-audit discovery. I looked and included both discovery debug output and the PHP error log. Please see the following:
Discovery Log:
LOG - Jul 10 08:50:10 FTW-OPENAUDIT 1412 C:discovery F:discover_subnet U:Administrator Discovery submitted for 10.40.24.143.
Command: %comspec% /c start /b cscript //nologo C:\xampplite\open-audit\other\discover_subnet.vbs subnet_range=XX.XX.XX.XXX url=http://XX.XX.XX.XXX/open-audit/index.php/discovery/process_subnet submit_online=n echo_output=y create_file=n debugging=0 subnet_timestamp="2014-07-10 08:50:10"
Return Code: 0 (0 indicates success).
Output of the command (as an array):
Array
(
[0] => <devices>
[1] => <device>
[2] => <subnet_range>XX.XX.XX.XXX</subnet_range>
[3] => <man_ip_address>XX.XX.XX.XXX</man_ip_address>
[4] => <mac_address></mac_address>
[5] => <manufacturer><![CDATA[]]></manufacturer>
[6] => <type><![CDATA[general purpose]]></type>
[7] => <os_name><![CDATA[Microsoft Windows 7|2008]]></os_name>
[8] => <description><![CDATA[]]></description>
[9] => <snmp_status>true</snmp_status>
[10] => <ssh_status>false</ssh_status>
[11] => <wmi_status>true</wmi_status>
[12] => <p80_status>false</p80_status>
[13] => <p443_status>false</p443_status>
[14] => <tel_status>false</tel_status>
[15] => <subnet_timestamp>2014-07-10 08:50:10</subnet_timestamp>
[16] => </device>
[17] => </devices>
[18] =>
)
DEBUG - Starting process_subnet.
DEBUG - Back to input page
DEBUG - Front Page
DEBUG - ----------------------------------------------------
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet Start processing XX.XX.XX.XXX.
DEBUG - existing system key found for System ID: 31.
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet WMI Status: true XX.XX.XX.XXX.
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet SNMP Status: true XX.XX.XX.XXX.
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet SSH Status: false XX.XX.XX.XXX.
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet Attempting SNMP discovery on XX.XX.XX.XXX.
SNMP - scanning attempt on XX.XX.XX.XXX (System ID 31).
SNMP - v2 connected to XX.XX.XX.XXX using supplied credentials.
SNMP - scanning using SNMP v2.
SNMP - SysObjectId: 1.3.6.1.4.1.311.1.1.3.1.1.
SNMP - Manufacturer: Microsoft.
SNMP - Loading Model Helper for 311.
SNMP - Model: unknown.
SNMP - Type: computer.
SNMP - Serial: not retrieved.
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 H:snmp_helper F:get_snmp XX.XX.XX.XXX SNMP v2c scanned.
DEBUG - SNMP update for 31
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet SNMP update for XX.XX.XX.XXX (System ID 31).
DEBUG - SNMP credential update for XX.XX.XX.XXX (System ID 31).
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet SNMP credential update for XX.XX.XX.XXX (System ID 31).
DEBUG - System ID 31
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet Attempt Windows audit for XX.XX.XX.XXX.
LOG - Jul 10 08:50:17 FTW-OPENAUDIT 1412 C:discovery F:process_subnet Windows audit for XX.XX.XX.XXX (System ID 31).
DEBUG command: %comspec% /c start /b cscript //nologo C:\xampplite\open-audit\other\audit_windows.vbs strcomputer=XX.XX.XX.XXX submit_online=y create_file=n struser=KNS\mstone strpass=rescue!34 url=http://XX.XX.XX.XXX/open-audit/index.php/system/add_system debugging=3 system_id=31
LOG - Jul 10 08:50:19 FTW-OPENAUDIT 1412 C:discovery F:process_subnet Attempt to run audit_windows.vbs on XX.XX.XX.XXX has succeeded.
DEBUG - Windows credential update for 31
LOG - Jul 10 08:50:19 FTW-OPENAUDIT 1412 C:discovery F:process_subnet Windows credential update for XX.XX.XX.XXX (System ID 31).
Array
(
[0] => starting audit - XX.XX.XX.XXX
[1] => Not pinging target, attempting to audit.
[2] => Problem authenticating (1) to XX.XX.XX.XXX
[3] => Error Number:424
[4] => Error Description:Object required
)
_____________________________________________________________________________________________________
PHP ERROR LOG:
vice.png, referer:
http://10.41.31.101/open-audit/index.ph ... _devices/1[Mon Jul 07 13:37:29 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Mon Jul 07 13:37:29 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Mon Jul 07 13:39:45 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Mon Jul 07 13:39:45 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Tue Jul 08 10:00:22 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Tue Jul 08 10:00:22 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Tue Jul 08 10:00:27 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Tue Jul 08 10:00:27 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Tue Jul 08 10:05:14 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/theme-tango/tango-images/16_media_device.png, referer:
http://10.41.31.101/open-audit/index.ph ... devices/13[Tue Jul 08 10:05:15 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/theme-tango/tango-images/16_media_device.png, referer:
http://10.41.31.101/open-audit/index.ph ... devices/13[Tue Jul 08 12:52:45 2014] [error] [client ::1] script 'C:/xampplite/htdocs/index.php' not found or unable to stat
[Tue Jul 08 12:52:46 2014] [error] [client ::1] script 'C:/xampplite/htdocs/index.php' not found or unable to stat
[Wed Jul 09 08:37:13 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Wed Jul 09 08:37:14 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Wed Jul 09 08:37:20 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Wed Jul 09 08:37:20 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Wed Jul 09 08:52:02 2014] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 09 08:52:02 2014] [notice] Child 1984: Exit event signaled. Child process is ending.
[Wed Jul 09 08:52:03 2014] [notice] Child 1984: Released the start mutex
[Wed Jul 09 08:52:04 2014] [notice] Child 1984: All worker threads have exited.
[Wed Jul 09 08:52:04 2014] [notice] Child 1984: Child process is exiting
[Wed Jul 09 08:52:04 2014] [notice] Parent: Child process exited successfully.
[Wed Jul 09 08:52:08 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 09 08:52:08 2014] [notice] Digest: done
[Wed Jul 09 08:52:11 2014] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 configured -- resuming normal operations
[Wed Jul 09 08:52:11 2014] [notice] Server built: Nov 11 2009 14:29:03
[Wed Jul 09 08:52:11 2014] [notice] Parent: Created child process 1412
[Wed Jul 09 08:52:11 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 09 08:52:11 2014] [notice] Digest: done
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Child process is running
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Acquired the start mutex.
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Starting 150 worker threads.
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Starting thread to listen on port 443.
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Starting thread to listen on port 443.
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Starting thread to listen on port 80.
[Wed Jul 09 08:52:12 2014] [notice] Child 1412: Starting thread to listen on port 80.
[Thu Jul 10 07:24:25 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Thu Jul 10 07:24:25 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/favicon.ico
[Thu Jul 10 07:24:31 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
[Thu Jul 10 07:24:31 2014] [error] [client 10.40.24.143] File does not exist: C:/xampplite/htdocs/open-audit/favicon.ico
I'm not sure where to look next. My id has administrator privelage, so I'm wondering why the discovery will not find the hardware and installed software on my windows 7 desktops, but seems to be working on the Linux servers.
Thanks in advance for looking,
Mark