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 Oct 18, 2019 11:03 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
PostPosted: Tue Feb 15, 2011 5:03 am 
Offline
Newbie

Joined: Thu Jan 13, 2011 3:46 am
Posts: 9
I have just installed Open-Audit on a new ubuntu server. I am unable to start the Web-Schedule service from the web-gui. The exact error message is a pop up in the lower right of the browser that says:
Quote:
Unable to start the Web-Schedule service

Nothing is displayed in any of the logs. Also I am unable to run the test scan I have setup, when I try to manually start it it says:
Quote:
Failed to run: Test Scan (127)


Aside from actually being able to scan installing open-audit on this linux machine resolved many of my previous issues.


Last edited by jinvman on Thu Feb 17, 2011 5:06 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 16, 2011 2:14 am 
Offline
Newbie

Joined: Thu Jan 13, 2011 3:46 am
Posts: 9
There are no errors generated on the server that I can find when this process fails. I opened the page tried to start the web-schedule service and on the linux server I ran a:
Quote:
find / -mmin -5

and no log files anywhere were modified with any errors. The files in the directory for the site are all owned by www-data:www-data. I have no idea how else to troubleshoot this.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 16, 2011 3:31 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
I didn't write nor do I use the web-schedule stuff so keep that in mind. I also only use Windows so...

I think the system is trying to run the following command using the Apache service credentials. Maybe there is a problem with this. Can you run this with the same credentials as Apache is using and see what it does?

Code:
audit.pl (or audit) --url-path <your openaudit url path here> --cron-start --daemon


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 16, 2011 3:36 am 
Offline
Newbie

Joined: Thu Jan 13, 2011 3:46 am
Posts: 9
I just found some resources stating that Web-Schedule will not run under 64 bit OS. That was from here:
http://chadsikorra.com/scripting/openaudit-web-schedule

I am building out a 32 bit machine to see if that fixes the issue.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 16, 2011 3:39 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Great. At least you found information from the guy that wrote the code.


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 17, 2011 5:07 am 
Offline
Newbie

Joined: Thu Jan 13, 2011 3:46 am
Posts: 9
This was related to being run on a 64-bit ubuntu server. Open-audit will only run on a 32 bit server.


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 17, 2011 8:51 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
jinvman wrote:
This was related to being run on a 64-bit ubuntu server. Open-audit will only run on a 32 bit server.

It's great that you solved you problem but I wouldn't go that far. I would say the Web-Scheduling stuff doesn't work on 64-bit server or locked down Apache. I think it would work just fine to run the web portion of OpenAudit on a 64bit server and run the audit via cron or manually to populate the database. This would be the old-school method before the Web-Schedule stuff was written.


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.  [ 7 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 5 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