Results 1 to 8 of 8

Thread: Help with Nagios install

  1. #1
    Join Date
    Jun 2009
    Beans
    192

    Help with Nagios install

    I'm trying to install Nagios on a 9.04 sever with the 9.04 desktop, I've less than no experience with any form of Linux so its a crash course in figuring it out for myself.

    I've been following the quickstart here, during step 3 I run the:

    "./configure --with-command-group=nagcmd


    Compile the Nagios source code.

    make all"

    And as far as my not having a clue what I'm looking at eye see's it looks like it did what ever it was suppose to do successfully. The next step was to run the make install-init command but when I do that I get the error below and I have no clue why or what I do to correct it.

    "
    make install-init
    /usr/bin/install -c -m 755 -d -o root -g root /etc/init.d
    /usr/bin/install -c -m 755 -o root -g root daemon-init /etc/init.d/nagios
    /usr/bin/install: cannot create regular file `/etc/init.d/nagios': Permission denied
    make: *** [install-daemoninit] Error 1
    "

    On a completely unrelated note how do I turn off auto hide of the task bar?

    Thanks for any insight into my problem(s) in advance.

  2. #2
    Join Date
    Jun 2009
    Beans
    192

    Re: Help with Nagios install

    Still can't get passed this error message, any help is appreciated.

  3. #3
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,165

    Re: Help with Nagios install

    Make install requires root:
    Code:
    sudo make install-init
    You might want to use checkinstall instead:
    Code:
    sudo checkinstall
    which creates a .deb and then installs that. This way the software will be a lot easier to remove
    if you want to do that someday.

    https://help.ubuntu.com/community/CompilingSoftware

  4. #4
    Join Date
    Jun 2009
    Beans
    192

    Re: Help with Nagios install

    Do I use "sudo checkinstall" instead of "sudo make install-init" or do I use both of them one after the other? I didn't have much time to read the reference you linked or really work on it at all today, the more information I have when I do get the chance the better.

  5. #5
    Join Date
    Jun 2009
    Beans
    192

    Re: Help with Nagios install

    Still wondering what I need to do here "sudo check install" or "sudo make install-init"

    Thanks

  6. #6
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,165

    Re: Help with Nagios install

    checkinstall should be enough.

    Just make sure you have it installed first.
    Code:
    sudo apt-get install checkinstall
    https://help.ubuntu.com/community/Co...0the%20Package

  7. #7
    Join Date
    Jun 2009
    Beans
    192

    Re: Help with Nagios install

    I ended up getting another tech here to help me with it, he knows a little bit more about linux and used the synaptic manager. We think it's installed everything but when we try to go to the http://localhost/nagios/ page we get a 404 error.

    Is there no easy way to install programs on Ubuntu without having to jump through so many hoops? I'd like to think I'm smarter than the average bear, but the figure it out for myself learning cure seams a little steep, or is that just all the M$ brainwashing.

  8. #8
    Join Date
    Jun 2009
    Beans
    192

    Re: Help with Nagios install

    We figured out that the URL in the quickstart wasn't the right one, but now when we try to login to http://localhost/nagios3/ we get a 500 Internal Server Error and can't get the login prompt to pop again so we can retry to login.

Bookmarks

Posting Permissions

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