edie209 Posted May 16, 2007 Posted May 16, 2007 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
ChrisH Posted May 16, 2007 Posted May 16, 2007 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 .
edie209 Posted May 16, 2007 Author Posted May 16, 2007 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?
edie209 Posted May 16, 2007 Author Posted May 16, 2007 Don't you just hate that when you have a DOH moment :oops: I think you have hit the nail on the head thanks
Ric_ Posted May 16, 2007 Posted May 16, 2007 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 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: 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?
edie209 Posted May 16, 2007 Author Posted May 16, 2007 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
Ric_ Posted May 16, 2007 Posted May 16, 2007 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.
Ric_ Posted May 16, 2007 Posted May 16, 2007 Check out http://edugeek.net/index.php?name=Forums&file=viewtopic&t=8491&postdays=0&postorder=asc&start=15 for that update I was talking about
edie209 Posted May 17, 2007 Author Posted May 17, 2007 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 /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
ChrisH Posted May 17, 2007 Posted May 17, 2007 the last bit doesnt look right -–with-command-group=nagioscmd/nagios Maybe thats the problem with the directory thing as it looks like a directory entry.
edie209 Posted May 17, 2007 Author Posted May 17, 2007 I have found this http://wiki.kartbuilding.net/index.php/Netsaint_/_Nagios while searching it seems to have done all the basics but what do you *nix guys think
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now