Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 1:55 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Thu Jul 10, 2014 11:01 pm 
Offline
Newbie

Joined: Thu Feb 27, 2014 10:54 pm
Posts: 12
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 10, 2014 11:07 pm 
Offline
Newbie

Joined: Thu Feb 27, 2014 10:54 pm
Posts: 12
Hi All,
Forgot to post the "About"

About Open-AudIT
About You are running version 1.3.1 of Open-AudIT.
Your Host is: FTW-OPENAUDIT, and it's OS is Microsoft Windows Server 2008 R2 Enterprise.
Your database platform is mysql (version 5.1.41).
Your web server is Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 .
Your PHP version is 5.3.1 and it's running in timezone America/New_York.



Open-AudIT is :

Licensed under with GNU AGPL.
Written in the PHP scripting language.
Using the CodeIgniter PHP Framework.


Some other technologies Open-AudIT uses are:

jQuery javascript framework
MySQL - our default database
Apache - our default webserver
xHTML W3C standards


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 11, 2014 3:32 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
[quote]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


This tells us that the audit script was started and aimed at the remote PC. You should have an entry in Open-AudIT for this PC (system id 31). It will likely not show too much as only an SNMP audit has been submitted.

If you run the below, it may shed some light (on the command line).

[code]cscript 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[/code]

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group