Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Do your files in sbin, actually have *'s after them or is that and oddity of the shell you are using? Otherwise your permissions look great as well. Just to confirm, did you do the tail -f commands while attempting to view pages that error? Let's also check your users and be sure thats ok.
cat /etc/group| grep nag
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sreinhardt wrote:Do your files in sbin, actually have *'s after them or is that and oddity of the shell you are using? Otherwise your permissions look great as well. Just to confirm, did you do the tail -f commands while attempting to view pages that error? Let's also check your users and be sure thats ok.
cat /etc/group| grep nag
At least in Ubuntu, this *'s means that it is an executable file. This is not oddity. My shell is a simple Bash.
Yes, confirmed, I have done tail -f commands while attempting to view pages that error.
Ah I see, not an ubuntu person myself and other distro's don't seem to include that bit. Let's try adding www-data to the nagios group and restarting apache. At this point I don't believe apache would have access to the nagios files despite being in the nagcmd group.
usermod -a -G nagios www-data
service apache2 restart
Does it begin to work now?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sreinhardt wrote:Ah I see, not an ubuntu person myself and other distro's don't seem to include that bit. Let's try adding www-data to the nagios group and restarting apache. At this point I don't believe apache would have access to the nagios files despite being in the nagcmd group.
You really should have some errors in the apache error_log or system messages.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.