Page 2 of 2

Re: NConf installation error for Nagios?

Posted: Mon Oct 21, 2013 2:42 pm
by Noctis0791
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

Re: NConf installation error for Nagios?

Posted: Mon Oct 21, 2013 2:46 pm
by abrist
They need to be owned by your web server user (usually apache). Additionally, they need to be writable.

Re: NConf installation error for Nagios?

Posted: Mon Oct 21, 2013 3:05 pm
by Noctis0791
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?
nconf_output folder.PNG
Thank You,

Arnel

Re: NConf installation error for Nagios?

Posted: Mon Oct 21, 2013 3:11 pm
by abrist
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/www

Re: NConf installation error for Nagios?

Posted: Mon Oct 21, 2013 3:33 pm
by Noctis0791
Got an operation not permitted error.

chmod -R og+w /var/www
chmod: changing permissions of '/var/www': Operaton not permitted

Thanks,

Arnel

Re: NConf installation error for Nagios?

Posted: Mon Oct 21, 2013 5:05 pm
by Noctis0791
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.
mysql_conf.PNG
Thank You,

Arnel

Re: NConf installation error for Nagios?

Posted: Tue Oct 22, 2013 12:15 pm
by slansing
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

Re: NConf installation error for Nagios?

Posted: Mon Oct 28, 2013 8:22 am
by Noctis0791
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

Re: NConf installation error for Nagios?

Posted: Mon Oct 28, 2013 4:24 pm
by abrist
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!