Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42246 - nagios cgis are not installed after emerge nagois
Summary: nagios cgis are not installed after emerge nagois
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Boman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-20 06:19 UTC by Martin Hierling
Modified: 2004-02-22 09:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hierling 2004-02-20 06:19:35 UTC
Have installed all the nagios stuff:
brull nagios-core # epm -qa| grep nagios
nagios-1.1
nagios-nrpe-1.8-r1
nagios-plugins-1.3.1
nagios-imagepack-1.0
nagios-core-1.1-r4
nagios-nsca-2.4

Apache Config looks like this:
<IfDefine NAGIOS>
        ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/
        <Directory "/usr/nagios/sbin/">
                AllowOverride AuthConfig
                Options ExecCGI
                Order allow,deny
                Allow from all
        </Directory>
        Alias /nagios /usr/nagios/share/
        <Directory "/usr/nagios/share">
                AllowOverride AuthConfig
                Order allow,deny
                Allow from all
        </Directory>
</IfDefine>

but there is no /usr/nagios/sbin/ !
# ls -l /usr/nagios/sbin/
ls: /usr/nagios/sbin/: Datei oder Verzeichnis nicht gefunden

Epm said the dir is in nagios-core pkg, but where are the cgis?
# epm -qf /usr/nagios/sbin/
nagios-core-1.1-r4



Reproducible: Always
Steps to Reproduce:
1. emerge nagios
2. ls -l /usr/nagios/sbin
3.



Expected Results:  
some cgis in /usr/nagios/sbin

# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24-vs1.26)
=================================================================
System uname: 2.4.24-vs1.26 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync16.de.gentoo.org/gentoo-portage"
USE="apache2 apm arts avi berkdb crypt cups encode foomaticdb gd-external gdbm
gif gpm imlib jpeg ldap libg++ libwww mad maildir mikmod motif mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang
snmp spell ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Michael Boman (RETIRED) gentoo-dev 2004-02-22 09:42:55 UTC
In 1.1-r4 the installation of CGI's was decided by the 'gd' USE flag. This has changed in later versions of nagios-core to instead use a special "noweb" USE flag.

Althought 1.1-r6 has not been marked as stable yet you can use that, or specify the "gd" USE flag when you are emerging nagios-core (you can simply re-emerge it like this:

# USE="gd" emerge nagios-core

). 



See also http://bugs.gentoo.org/show_bug.cgi?id=20617