Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103060 - nagios puts apache config file in wrong directory
Summary: nagios puts apache config file in wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 07:07 UTC by Bruno Lustosa
Modified: 2005-10-08 11:09 UTC (History)
1 user (show)

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 Bruno Lustosa 2005-08-19 07:07:38 UTC
The nagios ebuild is putting the apache config file (99_nagios.conf) in
/etc/apache2/conf/modules.d/, and apache is looking for modules in
/etc/apache2/modules.d.
So, it can't find the config file. I moved the file and it worked fine.
I think my apache configuration is up to date.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r7 i686)
=================================================================
System uname: 2.6.12-gentoo-r7 i686 AMD Sempron(tm)  2400+
Gentoo Base System version 1.12.0_pre5
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X aalib acl acpi aim alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cddb cdr cjk crypt cups
curl eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib ipv6 irc java jpeg
libg++ libwww mad mbox mikmod mime mmx mmxext mozilla moznocompose moznoirc
moznomail mp3 mpeg msn mysql ncurses nis nls offensive ogg oggvorbis opengl oss
pam pdflib perl php png postgres procmail python quicktime readline recode samba
sdl snmp spell sse sse2 ssl svg svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode vorbis xml xml2 xmms xv yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Tim Redman 2005-09-19 09:55:42 UTC
I'm seeing the same thing here, after an upgrade to the newer webapp.class
version of Apache.
Comment 2 Jesse Adelman 2005-09-28 18:42:39 UTC
Yep, this needs to be migrated to the new Apache configuration layout.
Comment 3 Marco Morales 2005-09-28 19:43:50 UTC
hi sparc team :) could you test and stabilize nagios-1.2-r4  please? it already 
stable in x86 and has the fix for this bug ,  thnx! 
Comment 4 Marco Morales 2005-09-28 20:09:19 UTC
nagios-core-1.2-r4* 
Comment 5 Jason Wever (RETIRED) gentoo-dev 2005-09-28 20:52:13 UTC
When we actually stablize the new apache layout we will.
Comment 6 Jesse Adelman 2005-09-29 02:55:10 UTC
Hmm... It (apache w/ new layout) was just released stable a week or so ago. Or
is there something else coming down the pike?
Comment 7 Lance Albertson (RETIRED) gentoo-dev 2005-09-29 06:22:24 UTC
It went stable on x86 but not nessarily on the other archs. The fixed ebuild
went x86 stable shortly after this bug was opened so this should be resolved for
that arch at least. Let us know if thats the case. (FYI: -r4 is the fixed ebuild)
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2005-10-07 11:31:49 UTC
sparc done.
Comment 9 Marco Morales 2005-10-08 11:09:27 UTC
Thanks for your help , fixed ebuild is stable now :)