Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs
Normaly I cheked in hosts file I have like in the past :
127.0.0.1 Nagiose localhost.localdomain localhost
Searching in google I found that they recomend to add ServerName localhost in httpd.conf file ?
You should have permissions to see the logs from root. However that is just what they are, logs, they should not prevent HTTPD from starting on their own, you need to make the changes we suggested and then we will work on your other issue. Have you ever seen the Nagios Core web UI from this system? Or is this a fresh install.
Lets also check to see if the distro's install of apache did not place them somewhere else..:
no this is an old server because in the past I had one problem that logs was full , so the server can start , delete all logs maybe by mistake I delete the httpd