Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: sebastiaopburnay on October 31, 2010, 08:10:44 PM
-
Hey! First of all, thank you for keeping this community post.
I'm installing the nagios nagios-3.2.0 on an SME-Server (a derivation of the CentOS distribution) and I'm following the quick-start-guide designed for the Fedora distribution (maybe thats the problem's root).
When I got to the point of installing the web interface I ran the command
make install-webconf
and I got the error
make: *** No rule to make target `install-webconf'. Stop.
It suggests the make file isn't intended for the ppurpose pointed in the instructions.
I was hoping I could get some help, I had no problem installing nagios on a suse virtual machine, but I need to use this SME-server distribution and I'm a bit lost.
Thank you.
-
This may be of assistance: http://wiki.contribs.org/Nagios
Moving to Contribs section.
-
Well those instructions are valid in the case you have the Nagios 2 contrib installed.
I was intending to install it on a fresh SME-server so I'm worried it will bring problems.
-
I think you'll find if you follow those instructions (I presume this is an SME7.5.1?), then you'll end up with a nagios 3.2.1 installation.
-
Well those instructions are valid in the case you have the Nagios 2 contrib installed.
I was intending to install it on a fresh SME-server so I'm worried it will bring problems.
Brian is correct. Please read the instructions carefully, there are two cases covered:
1) Clean install to vs3
2) Upgrade from 2 to 3.
-
Yes, you are right, I was using an incompetent approach to the issue and following those instructions got me to install nagios.
I got to run nagios and accessed its web-iface from an external host.
Yet, problems arose afterwards, with the:Configuring global access with password required
which includes the commands:
config set nagios service Name Nagios PublicAccess global-pw
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
service nagios restart
The nagios stops ok, but doesn't start anymore. Not even at system reboot (in which crond and killall also fail).
I even checked the nagios configuration with the command:
nagios -v /etc/nagios/nagios.cfg
That has shown no problems either.
The log file had this error repeated (due to the series of failed attempts to start nagios)
[1289355381] Nagios 3.2.3 starting... (PID=5633)
[1289355381] Local time is Wed Nov 10 02:16:21 WET 2010
[1289355381] LOG VERSION: 2.0
[1289355381] Failed to obtain lock on file /var/run/nagios.pid: Permission denied
[1289355381] Bailing out due to errors encountered while attempting to daemonize... (PID=5633)
I don't mean to be a pain in the ass, but I'm getting desperate here.
Thank you so much for your attention and replies.
-
[1289355381] Failed to obtain lock on file /var/run/nagios.pid: Permission denied
[1289355381] Bailing out due to errors encountered while attempting to daemonize... (PID=5633)
Here is your clue. Please check ownership and permission of the folder and files. What does ls -la /var/run/nagios show?
-
http://bugs.contribs.org/show_bug.cgi?id=5539#c3
point 3 applies here.
-
Well.
It worked, using the instructions under http://bugs.contribs.org/show_bug.cgi?id=5539#c3 (http://bugs.contribs.org/show_bug.cgi?id=5539#c3)
Thank you very much.
I will keep counting on this forum for future problems.
With my best regards,
sebastiaopburay.
-
sebastiaopburnay
I will keep counting on this forum for future problems.
Please learn to search the forums and bugzilla first.
Your issue had clearly been answered before, and had you searched, you would have most likely found the answer without needing to impose upon the users at this forum.
We are willing to help you, but our time is better spent providing answers that are NOT already published.
Remember to try different search criteria if you don't at first find the answer you are looking for.