Nagios 5.3.2
Centos VM Template
When I run reconfigure_nagios.sh I get:
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=############' -O nagiosql.loginnagiosql.login: Permission denied
LOGIN SUCCESSFUL!
NAGIOSQL LOGIN FAILED!
(I've obfuscated the password)
Running reconfigure_nagios.sh
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Running reconfigure_nagios.sh
Last edited by dwhitfield on Tue Dec 13, 2016 10:09 am, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
Re: Running reconfigure_nagios.sh
Are you running it as the nagios user or root user?
Re-run it with the EXACT commands above and send us the entire output.
Also, please send the output of these commands:
Thank you
Code: Select all
su - nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.shAlso, please send the output of these commands:
Code: Select all
ls -l /usr/local/nagiosxi/scripts
ls -ld /usr/local/nagiosxi
ls -l /usr/local/nagiosxi
grep nag /etc/group
chage -l nagios
grep "User \|Group " /etc/httpd/conf/httpd.conf
cat /etc/sudoers-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: Running reconfigure_nagios.sh
I wasn't running it as root- but I just did and it worked fine!
Thanks
Thanks
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Running reconfigure_nagios.sh
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: Running reconfigure_nagios.sh
yeah sure- it is resolved
\thanks for your help
\thanks for your help