Hi,
I got below error while installing the nagios fusion server . Kindly help me to over come from this situation .
Creating product directory...
Reloading httpd:
Creating postgres database and user...
-bash: /root/nagiosfusion/nagiosfusion/create_postgres_db.sh: Permission denied
RESULT=126
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Fusion technical support.
The script that failed was: './B-installfusion'
Permission denied while installaing nagios fusion server
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Permission denied while installaing nagios fusion server
What OS and OS version are you using? Please attach the install.log file.
Previous Nagios employee
Re: Permission denied while installaing nagios fusion server
Hi,
I am using Centos 6.8 . PFA for install.log
I am using Centos 6.8 . PFA for install.log
You do not have the required permissions to view the files attached to this post.
Re: Permission denied while installaing nagios fusion server
Did you run the installer from the "/tmp" directory? You didn't run it from "/", did you?
What is the output of the following commands?
What is the output of the following commands?
Code: Select all
grep postgres /etc/group
grep postgres /etc/passwd
sestatusBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Permission denied while installaing nagios fusion server
Hi,
I have install nagios fusion from /root/ directoy . And the output is :
[root@nagios-fusion ~]# grep postgres /etc/group
postgres
26:
[root@nagios-fusion ~]# grep postgres /etc/passwd
postgres
26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
[root@nagios-fusion ~]# sestatus
SELinux status: disabled
I have install nagios fusion from /root/ directoy . And the output is :
[root@nagios-fusion ~]# grep postgres /etc/group
postgres
[root@nagios-fusion ~]# grep postgres /etc/passwd
postgres
[root@nagios-fusion ~]# sestatus
SELinux status: disabled
Re: Permission denied while installaing nagios fusion server
Run this command and then try again:
If it still fails, please run this command and send the entire output:
Code: Select all
chmod +x /root/nagiosfusion/nagiosfusion/create_postgres_db.shCode: Select all
su - postgres -c /root/nagiosfusion/nagiosfusion/create_postgres_db.sh