Announcement

Collapse
No announcement yet.

Trouble Installation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    hallex
    Junior Member

  • hallex
    replied
    [resolved]

    Hi

    Thanks a lot. It worked perfectly.

    Alex

    Leave a comment:

  • xspoon
    Senior Member

  • xspoon
    replied
    assuming that you run all this as root, apparently the C compiler could be broken or missing something.

    Have you tried installing/reinstalling gcc make and g++ ?

    # apt-get install gcc make g++

    Leave a comment:

  • hallex
    Junior Member

  • hallex
    replied
    Thanks !
    The log file is telling lot of thing, but I guess this is the important part (the end).
    Hope it will help.

    Thanks anyway

    the log file:

    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executabl
    es
    See `config.log' for more details.
    make: *** No rule to make target `all'. Stop.
    make: *** No rule to make target `install'. Stop.
    mkdir: cannot create directory `/usr/local/nagios/var/rw': No such file or directory
    chown: cannot access `/usr/local/nagios/var/rw': No such file or directory
    chmod: cannot access `/usr/local/nagios/var/rw': No such file or directory
    chmod: cannot access `/usr/local/nagios/var/rw': No such file or directory
    chmod: cannot access `/usr/local/nagios/var/rw': No such file or directory
    usermod: user nagios,nagiocmd, does not exist

    Leave a comment:

  • xspoon
    Senior Member

  • xspoon
    replied
    I meant this log, sorry:

    .../install_nagios_by_oreon-vxx/log/install_oreon.log

    Leave a comment:

  • hallex
    Junior Member

  • hallex
    replied
    Hi,
    This is weird, I can't find any log for nagios
    When I do a locate "nagios" here are the results
    /home/nagios
    /usr/local/nagios
    /usr/local/nagios/sbin
    /usr/local/nagios/share

    Thanks for help

    Leave a comment:

  • xspoon
    Senior Member

  • xspoon
    replied
    hi,

    It looks like nagios didn't install properly.
    have you checked the install log for eventual errors?

    the logfile should be in the log subdirectory of the source directory.

    Leave a comment:

  • hallex
    Junior Member

  • hallex
    started a topic Trouble Installation

    Trouble Installation

    Hi,
    I have a Debian, apache2 running.
    At the end of Nagios's installation (install_nagios2.5_by_oreon-v1.tar.gz), when I say yes to restart Apache server, I should enter a password for Nagios, but I can't. Here is the message I got :
    Please enter your password for admin account (nagiosadmin)
    htpasswd2: cannot create file /usr/local/nagios/etc/htpasswd.users
    chmod: cannot access `/usr/local/nagios/etc/htpasswd.users': No such file or directory
    cp: cannot stat `/etc/init.d/nagios': No such file or directory
    ./install.sh: line 241: /tmp/nagios: No such file or directory

    As I didn't find anything through the forum, I hope someone can help me out.

    Thanks
Working...
X