On 13 Jul 2011, at 13:59, Srikanth Sridhar wrote:

I am facing an issue I am not able to restart the Opsview services whenever i try i get the below mentioned error, I am using Opsview Community Editiion 3.9.1 error when I tried logging in as nagios user I would like to change the home directory for nagios user to /home/nagios could you kindly let me know what are the changes required in Opsview configuration post the change of nagios home directory to be done for opsview to start working.
 
For testing purpose I tried changing nagios home directory once done the error disappears but i am not able to start opsview as it throws out an error service opsview-web start
Starting opsview-web: Use of uninitialized value in -f at /usr/local/nagios/perl/lib/Log/Dispatch/FileRotate.pm line 280.
Cannot write to '/var/log/opsview/opsview-web.log': Permission denied at /usr/local/nagios/perl/lib/Log/Dispatch/File.pm line 85.
Compilation failed in require at script/opsview_web_server.pl line 62. but the previous error given below has stopped
 
I have reverted the nagios home directory to its previous location /var/log/nagios.
 
please help me as this is very crirical for me since ny opsview server has stopped working since this morning.

 
 /var/log/nagios/.bash_profile: Permission denied
Environment not set - have you run 'su - nagios'?

You have given the cause of the problem already...

Cannot write to '/var/log/opsview/opsview-web.log': Permission denied

 /var/log/nagios/.bash_profile: Permission denied

The nagios user doesn't have the access it should on these files.

It doesn't matter where the nagios user home directory is as long as the profile is set correctly

  Duncs

-- 
Duncan Ferguson
Senior Developer/Support Engineer





Global Headquarters: Unit 69 Suttons Business Park | Reading | Berkshire | RG6 1AZ | UK

UK:      +44 (0) 845 057 7887
USA:     +1 866 879 9184
Fax:       +44 (0) 1189 074 071
Skype:  duncan_j_ferguson
Web:     www.opsview.com

This e-mail is confidential, intended only for the named recipient(s) above and may contain information that is privileged and confidential. If you receive this message in error, or are not the named recipient(s), please notify the sender at the phone number above, do not copy this message, do not disclose its contents to anyone, and delete this e-mail message from your computer. Although we routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Opsera makes no representation or warranty as to the absence of viruses in this e-mail or any attachments.

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to