+ Post New Thread
Results 1 to 12 of 12
*nix Thread, Problems while installing nagios in Technical; I have been reading the feature on nagios and I have debian etch install and working great. however i have ...
  1. #1
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    705
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    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

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    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 .

  3. #3
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    705
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    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?

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,422
    Thank Post
    645
    Thanked 967 Times in 667 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Problems while installing nagios

    Have you installed the SSH server on the debian box?

  5. #5
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    705
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: Problems while installing nagios

    Don't you just hate that when you have a DOH moment ops:

    I think you have hit the nail on the head thanks

  6. #6

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,601
    Thank Post
    110
    Thanked 771 Times in 599 Posts
    Rep Power
    183

    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?

  7. #7
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    705
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    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

  8. #8

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,601
    Thank Post
    110
    Thanked 771 Times in 599 Posts
    Rep Power
    183

    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.

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,601
    Thank Post
    110
    Thanked 771 Times in 599 Posts
    Rep Power
    183

    Re: Problems while installing nagios

    Check out http://edugeek.net/index.php?name=Fo...r=asc&start=15 for that update I was talking about

  10. #10
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    705
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    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

  11. #11
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    Re: Problems while installing nagios

    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.

  12. #12
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    705
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    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



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 51
    Last Post: 10th November 2009, 06:23 AM
  2. Problems installing SQL 2005 for SIMS
    By timbo343 in forum Windows
    Replies: 6
    Last Post: 7th November 2007, 11:27 AM
  3. Problems installing Leopard?
    By GrumbleDook in forum Mac
    Replies: 7
    Last Post: 6th November 2007, 11:33 AM
  4. VNCon - Problems with Remote Installing...
    By Arcolite in forum Educational Software
    Replies: 8
    Last Post: 24th June 2006, 12:08 AM
  5. Problems installing Boot Camp
    By paulpmp4 in forum Mac
    Replies: 4
    Last Post: 23rd June 2006, 09:36 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •