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 9:34 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 23 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Oct 09, 2010 6:32 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
I'm not really sure what's going on. The test script I gave you is doing exactly what the audit.vbs does except that it automatically determines local_domain. Since this works the audit.vbs should work. I guess I would double check that the audit.config files you're editing is the one audit.vbs is using. Is the audit.config file located in the same directory as the audit.vbs? I'm running out of ideas.


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 09, 2010 6:57 am 
Offline
Newbie

Joined: Sat Sep 11, 2010 4:53 pm
Posts: 11
jpa I appreciate your help!

I know I have been trying all sort of things and not go. The audit.config.defult & audit.vbs are in the same folder openaudit/scripts.

As I said ether Serv2008 issue or I am doing something wrong. btw..never had an issue when I first installed OA on Win 2003 Serv last year.

--i


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 09, 2010 10:21 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
[quote="LimeTech"]The audit.config.defult & audit.vbs are in the same folder openaudit/scripts.

The audit.vbs file gets its configuration information from audit.config. If you're really editing audit.config.defaults then you need to copy this file to audit.config and see if that helps.

Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 11, 2010 4:30 pm 
Offline
Newbie

Joined: Sat Sep 11, 2010 4:53 pm
Posts: 11
"audit.vbs(429, 3) Provider: Table does not exist" (Looks like there is a missing table in mysql)


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 11, 2010 8:52 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
The VBscript doesn't talk to MySQL - it talks to a web page.

Looks like the script is attempting to query a WMI table that does not exist.
What is the section of the script querying ?

_________________
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  
PostPosted: Tue Oct 12, 2010 3:06 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
The "audit.vbs(XXX, X) Provider: Table does not exist" error is thrown when the audit.vbs script can't successfully query the Active Directory due to incorrect local_domain config setting. There may be other reasons but an incorrect local_domain is guaranteed to do this.

LimeTech: Do you have a properly configured audit.config file in the same directory as audit.vbs? Audit.config and not audit.config.defaults?


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 12, 2010 8:09 am 
Offline
Newbie

Joined: Sat Sep 11, 2010 4:53 pm
Posts: 11
I reinstalled OA on Win 2003Std server and ran cscript audit.vbs --Works great with no issues.
I don't care much about the server version at this point, I just needed OA to work.

Thank you everyone for being a great help!


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 12, 2010 8:24 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Great! Although I did test a domain audit from a Server 2008 R2 box and it worked so I'm not sure if that was the root problem or not.


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.  [ 23 posts ]  Go to page Previous  1, 2

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:  
Powered by phpBB® Forum Software © phpBB Group