EZNag FAQ
Running "nmap" or trying to start/stop/restart Nagios fails with the Web Interface
The commands used to execute these actions are listed in the /etc/sudoers file.
But they will fail if this file contains the following directive :
Defaults: requiretty
To fix this problem, you must add this directive after it :
Defaults:apache !requiretty
where "apache" is the name of the account used by the Apache process (usually "httpd").
"C compiler cannot produce executable"
Probably, some of the compilation requirements are not met:
gcc, g++ and libc (named glibc-devel, libc6-dev...) should be present.
"Directory ../temp is not writeable"
The installation script should have set the right permissions for Apache user.
Usually the message is caused by a wrong SELinux context. Try with SELinux in permissive mode.
"cp: cannot evaluate 'src/nrpe' ..."
The installation script tries to determine the presence of SSL libraries. But it can fail.
Check if the SSL development libraries exist. Package name is usually libssl-dev or libssl-devel.
nmap compilation failed
Probably, some of the compilation requirements are not met:
gcc, g++ and libc-dev should be present.
|