Also, what is the output of the following:
Code: Select all
chage -l nagios
service crond statusCode: Select all
chage -l nagios
service crond statusWhat commands do you refer to?scottwilkerson wrote:What did you see when you ran the commands at the top of this document?
Also, what is the output of the following:Code: Select all
chage -l nagios service crond status
This says a ton. You need localhost to resolve.sarpione wrote:When i try this :
cd /usr/local/nagiosxi/scripts
su nagios
./reconfigure_nagios.sh
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=70CMW8PdGH7o' -O nagiosql.login--2017-08-16 10:35:38-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... failed: Name or service not known.
wget: unable to resolve host address “localhost”
NAGIOSQL LOGIN FAILED!
Code: Select all
echo "127.0.0.1 localhost localhost.localdomain" >> /etc/hosts