Page 1 of 1

NagiosXI A-subcomponents failing

Posted: Mon Feb 25, 2013 5:06 am
by prajish
I am trying to setup a new Nagios XI server (xi-2012r1.6).
My host server is running RHEL5.9 64bit. (Red Hat Enterprise Linux Server release 5.9 (Tikanga))

But my subcomponent installation (./A-subcomponents) is failing.

The last few lines of the make command is posted below. Any pointers?

Prajish

Code: Select all

*** Configuration summary for nagios 3.4.1 05-11-2012 ***:

 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nagios,nagcmd
            Embedded Perl:  no
             Event Broker:  yes
        Install ${prefix}:  /usr/local/nagios
                Lock file:  ${prefix}/var/nagios.lock
   Check result directory:  ${prefix}/var/spool/checkresults
           Init directory:  /etc/rc.d/init.d
  Apache conf.d directory:  /etc/httpd/conf.d
             Mail program:  /bin/mail
                  Host OS:  linux-gnu

 Web Interface Options:
 ------------------------
                 HTML URL:  http://localhost/nagios/
                  CGI URL:  http://localhost/nagios/cgi-bin/
 Traceroute (used by WAP):  /bin/traceroute


Review the options above for accuracy.  If they look okay,
type 'make all' to compile the main program and CGIs.

cd ./base && /usr/bin/make
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios/base'
make[1]: *** No rule to make target `../include/locations.h', needed by `broker.o'.  Stop.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios/base'
make: *** [all] Error 2
NAGIOSCORE-POST
cp: target `/usr/local/nagios/share/images/logos' is not a directory
ERROR: Subcomponent 'nagioscore' installation failed - exiting.
Subcomponents installation failed - exiting


Re: NagiosXI A-subcomponents failing

Posted: Mon Feb 25, 2013 10:08 am
by slansing
This looks similar to another issue a user had with CentOS 6.x. Please refer to the following thread and follow along with it. Let us know if you find something differing on your end.

http://support.nagios.com/forum/viewtop ... ion#p17076

Re: NagiosXI A-subcomponents failing

Posted: Tue Feb 26, 2013 6:16 am
by prajish
Thank you for the reply. I reinstalled the Server and the installation went fine.
Looks like the problem was with server installation.

Prajish