Hi,
I have given a 777 permission for file (-rwxrwxrwx 1 nagios nagios 75 May 2 13:27 set_bpi_perms.sh), when I run the program on Console (terminal), it's works perfectely but in the web(cgi) it's not working properly.
below are the users and group access permissions:
/etc/group file
nagios:x:500:
apache:x:501:
nagcmd:x:502:apache,nagios
Below is the error displaying when i run in cgi program:
File bpi.conf is not writable! Please execute the following commands as the root user to set correct permissions:
cd /usr/local/nagios/share/nagiosbpi
chmod +x set_bpi_perms.sh
./set_bpi_perms.sh
and bpi.conf file also having a 777 permission
The code is working perfectely on other servers, i have deployed a code on new server it's getting error messages
Please let me know your ideas on this ..
Thanks
Reddy.