Hi abrist,
I extracted the nconf folder using Archive Manager to /var/www directory. As for the permission, not sure how to assign write permission to the web server or it is referring to the current user? If so, I think I have write permission to those directories because I ran these commands before to extract the nconf folder to the /var/www/ directory.
sudo chgrp arnel /var/www
sudo chmod 775 /var/www
sudo chown -R arnel /var/www/*
Thanks,
Arnel
NConf installation error for Nagios?
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
They need to be owned by your web server user (usually apache). Additionally, they need to be writable.
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.
"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.
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
How can I change the ownership of these folders to apache. It seems that I am the current owner of these folders. Also, how can I make them writable, which File Access option should I change to Read and Write, do I have to set it for Owner, Group, and Others?
Thank You,
Arnel
Thank You,
Arnel
Re: NConf installation error for Nagios?
Noctis0791 wrote:how can I make them writable, which File Access option should I change to Read and Write, do I have to set it for Owner, Group, and Others?
Code: Select all
chmod -R og+w /var/wwwFormer 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.
"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.
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
Got an operation not permitted error.
chmod -R og+w /var/www
chmod: changing permissions of '/var/www': Operaton not permitted
Thanks,
Arnel
chmod -R og+w /var/www
chmod: changing permissions of '/var/www': Operaton not permitted
Thanks,
Arnel
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
Hi abrist,
I'm only having error now for the mysql conf after deleting the contents of the .config directory and the UPDATE directory before rerunning the installation. Any idea? I will also post this on the NConf forum.
Thank You,
Arnel
I'm only having error now for the mysql conf after deleting the contents of the .config directory and the UPDATE directory before rerunning the installation. Any idea? I will also post this on the NConf forum.
Thank You,
Arnel
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NConf installation error for Nagios?
You will likely need to change the permissions on mysql.conf to the same that are present on your other files that now show as OKAY. I'd look at them, then make the necessary change to mysql.conf
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
Thanks slansing. Problem solved. The issue is with my mysql info, user name and data base name provided in the NConf configuration were incorrect. Hope this would also help someone having the same issue.
Regards,
Arnel
Regards,
Arnel
Re: NConf installation error for Nagios?
Fantastic! Glad we could help you resolve this. You may want to close your post out at the nconf forums just so they know how you resolved it (good web citizenry and all).
Locking 'er up!
Locking 'er up!
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.
"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.