Problems while installing nagios
I have been reading the feature on nagios and I have debian etch install and working great.
however i have a problem installing nagios everytime I try to run the configure script I get the message no such file or directory.
my user is nagios as in the docs
I have downloaded and extracted in /usr/local/nagios
I don't see a cgi-bin in the nagios dir so i changed the command to cgiurl=nagios/cgi but still get the error.
Could someone push me on a little further ....please
Re: Problems while installing nagios
Put the files somewhere other than that folder. I usually dump everything in /usr/src or my home directory. The installer will populate the /usr/local/nagios folder .
Re: Problems while installing nagios
I have spent the entire afternoon trying to put the files in /usr/src
I downloaded WinSCP as I have use it at home, but I kept getting unable to connect, this was from my laptop which is Vista so I thought maybe Vista was the problem so I installed WinSCP on a XP machine and still got the same problem. I have just got home and I have a ClarkConnect machine here (redhat i believe) tried WInSCP and it worked no problem.
So is there an issue with Debian? do i have to do anything different or do you have any other suggestions?
Re: Problems while installing nagios
Have you installed the SSH server on the debian box?
Re: Problems while installing nagios
Don't you just hate that when you have a DOH moment :oops:
I think you have hit the nail on the head thanks
Re: Problems while installing nagios
Sorry, should have explained where to unpack the files to - once you do it a few times you tend to forget that it might not be obvious to others.
The package that you need to install is 'openssh-server'. This is easily done using the command
Code:
apt-get install openssh-server
I find it useful to also have the client on my sysems so that I can ssh and scp from whichever machine I am on. This package is installed using:
Code:
apt-get install openssh-client
Hope that this helps. I will write a mini guide on SSH connection tools for Windows - I tend to use PuTTY Tools if that's OK?
Re: Problems while installing nagios
Thanks very much Ric, I will do that in the morning. Its funny how quickly you can get drawn in to these little projects, I hope to have my head around this by the weekend
Re: Problems while installing nagios
Quote:
Originally Posted by edie209
Thanks very much Ric, I will do that in the morning. Its funny how quickly you can get drawn in to these little projects, I hope to have my head around this by the weekend
I will have the section about checking Windows machines up as soon as it is written... just a few lines to go once I have checked some commands. :D
Re: Problems while installing nagios
Re: Problems while installing nagios
I am still having problems getting the configure script to run I have now placed the files in /usr/src/ all the commands work until I enter the configure script and then I get the message no such file or directory
Code:
/usr/src# ./configure Âprefix=/usr/local/nagios Â--with- cgiurl=/nagios/cgi-bin
--with-htmurl=/nagios/ --Âwith-nagios-user=nagios Â--with-nagios-group=nagios -–with-command-group=nagioscmd/nagios
in the directory src i have all the ter.gz files as you said plus a folder nagios-2.9 which was created from the earlier comands.
I am still learning so please could you explain what I have done wrong
Re: Problems while installing nagios
the last bit doesnt look right
Quote:
-–with-command-group=nagioscmd/nagios
Maybe thats the problem with the directory thing as it looks like a directory entry.
Re: Problems while installing nagios
I have found this http://wiki.kartbuilding.net/index.p...saint_/_Nagios while searching it seems to have done all the basics but what do you *nix guys think