Make all error

Shivkumar shivkumar at outbackwifi.com
Wed Jul 25 12:20:17 CEST 2007


Hi,
Did you do a make all *before* you did a make install?
I think your CGIs have not been built yet!
other way to check is #cd /your/nagios/source/cgi
on my machine i do # cd /usr/local/src/nagios-2.9/cgi
Then do
# file tac.cgi
It should give you something like
tac.cgi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.0, dynamically linked (uses shared libs), not stripped
See the last two words?
now when i go to the nagios install directory,
#cd /usr/local/nagios/sbin
and then do #file tac.cgi
I get
tac.cgi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.0, dynamically linked (uses shared libs), stripped
Here it says "stripped".

Strip basically removes all symbols from the executable so that it cant
be reverse engineered.
So when it says format not recognized, it means that your cgis have not
been built yet.

Regards,
Shiv


Toto Carpaccio said the following:
> Hi all,
>
> I am trying to install nagios 1.4.1 on a debian system. The configure
> went fine but the make-install is going wrong :
> debian:/nagios-1.4.1# make install
> cd ./base && make install
> make[1]: Entering directory `/nagios- 1.4.1/base'
> /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
> /usr/bin/install -c -m 774 -o nagios -g nagios nagios
> /usr/local/nagios/bin
> /usr/bin/strip /usr/local/nagios/bin/nagios
> make[1]: Leaving directory `/nagios- 1.4.1/base'
> cd ./cgi && make install
> make[1]: Entering directory `/nagios-1.4.1/cgi'
> /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin
> for file in *.cgi; do \
>                 /usr/bin/install -c -m 775 -o nagios -g nagios $file
> /usr/local/nagios/sbin; \
>                 /usr/bin/strip /usr/local/nagios/sbin/$file; \
>         done
> /usr/bin/strip: /usr/local/nagios/sbin/avail.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/cmd.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/config.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/extinfo.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/histogram.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/history.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/notifications.cgi: File format
> not recognized
> /usr/bin/strip: /usr/local/nagios/sbin/outages.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/showlog.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/status.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/statusmap.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/statuswml.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/statuswrl.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/summary.cgi: File format not
> recognized
> /usr/bin/strip: /usr/local/nagios/sbin/tac.cgi: File format not recognized
> /usr/bin/strip: /usr/local/nagios/sbin/trends.cgi: File format not
> recognized
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/nagios- 1.4.1/cgi'
> make: *** [install] Error 2
>
> Any ideas to help me continue?
>
> Thanks
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070725/d20ba09e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list