Jump to content

Recommended Posts

Posted

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

Posted
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 .
Posted

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?

Posted

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?

Posted
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
Posted
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

Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...