I just emerged apache <emerge apache> and when I try to start it </etc/init.d/apache start> I get the following error: donald root # /etc/init.d/apache start * Could not get dependency info for "apache"! * Could not get dependency info for "apache"! * Starting apache... [Thu Jul 3 12:50:58 2003] [alert] apache: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! Reproducible: Always Steps to Reproduce: 1. emerge apache 2. /etc/init.d/apache start 3. Actual Results: donald root # /etc/init.d/apache start * Could not get dependency info for "apache"! * Could not get dependency info for "apache"! * Starting apache... [Thu Jul 3 12:50:58 2003] [alert] apache: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! Expected Results: * starting apache [ok] donald root # emerge --info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.00GHz GENTOO_MIRRORS="http://www.ibiblio.org/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde gnome libg++ mikm od mmx motif mpeg ncurses nls pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo java guile mysql X gpm tc pd pam libwww ssl perl python esd imlib oggvorbis gtk qt opengl mozilla" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
1. Run /sbin/depscan.sh 2. To fix the "Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" you need to configure either apache or setup your /etc/hosts and /etc/hostname stuff correctly.