Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458470 - www-servers/apache-2.4.3 - Syntax error on line 156 of /etc/apache2/httpd.conf: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
Summary: www-servers/apache-2.4.3 - Syntax error on line 156 of /etc/apache2/httpd.con...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: apache-2.4-stable
  Show dependency tree
 
Reported: 2013-02-20 14:53 UTC by tman
Modified: 2014-01-31 08:44 UTC (History)
4 users (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 tman 2013-02-20 14:53:22 UTC
* Caching service dependencies ...                                                                                                                      [ ok ]
 * apache2 has detected an error in your setup:
[Wed Feb 20 16:49:16.367729 2013] [core:warn] [pid 32011:tid 140101292853056] AH00111: Config variable ${SVN_REPOS_LOC} is not defined
[Wed Feb 20 16:49:16.367783 2013] [core:warn] [pid 32011:tid 140101292853056] AH00111: Config variable ${SVN_REPOS_LOC} is not defined
AH00526: Syntax error on line 156 of /etc/apache2/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
 * ERROR: apache2 failed to start


Reproducible: Always




System uname: Linux-3.8.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24628548 total,  23318948 free
KiB Swap:   24574972 total,  24574972 free
Timestamp of tree: Wed, 20 Feb 2013 13:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mpd nikai ruby emacs gamerlay science mgorny scarabeus qt wirelay poly-c mva luman flameeyes-overlay Techwolf alice lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/hosts /etc/make.conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole
Comment 1 Vasilis Lourdas 2013-03-04 17:13:45 UTC
Same here. I looked up the apache docs in case the User and Group directives were removed. Apparently not.

 * apache2 has detected an error in your setup:
[Mon Mar 04 19:13:01.228162 2013] [core:warn] [pid 31348] AH00111: Config variable ${SVN_REPOS_LOC} is not defined
[Mon Mar 04 19:13:01.228238 2013] [core:warn] [pid 31348] AH00111: Config variable ${SVN_REPOS_LOC} is not defined
AH00526: Syntax error on line 128 of /etc/apache2/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
 * ERROR: apache2 failed to start


emerge --info
Portage 2.1.11.52 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.1-gentoo x86_64)
=================================================================
System uname: Linux-3.8.1-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.1
KiB Mem:     8169468 total,   4727112 free
KiB Swap:    8388600 total,   8388600 free
Timestamp of tree: Mon, 04 Mar 2013 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo vmware Local-overlay-Vasilis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula google-talkplugin AdobeFlash-11.x Oracle-BCLA-JavaSE skype-4.0.0.7-copyright TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://files.gentoo.gr http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://files.gentoo.gr ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.wheel.sk/ http://gentoo.modulix.net/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://gentoo.inf.elte.hu/ http://tux.rainside.sk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://gentoo.mirror.pw.edu.pl/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.supp.name/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://portage.org.ua/ http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.dei.uc.pt/pub/linux/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.opteamax.de/gentoo/ http://gentoo.lagis.at/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="256-color X a52 aac acl acpi additions aio alsa amd64 apache2 apng archive asf bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cli consolekit contrast corefonts cracklib crypt css ctype cups cupsddk curl curlwrappers cxx dba dbus dcc_video declarative device-mapper dia dmi dri dts dvd dvdr dvdread ebook effects emboss encode exif expat extras faac faad fam fastcgi fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb fpm ftp g3dvl gallium gcj gd gdbm gif gimp gimpprint git glib glx gmp gnomedb gnutls gocr gphoto2 gpm graphviz gs gstreamer gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify iso14755 jabber java java6 javascript jpeg jpeg2k json kde kdeenablefinal kdehiddenvisibility kipi lame lastfm lcdfilter lcms lensfun libkms libnotify libsamplerate libwww lm_sensors lzma mad madwifi maildir mailwrapper maps matroska mdadm melt mhash mime minizip mmap mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nlpsolver nls no-old-linux nodrm nomalloccheck nptl ntfs ntfsprogs objc offensive ofx ogg oldpim opengl openmp optimization oqgraph osmesa pam pango pcmcia pcntl pcre pdf pdfimport pdo pear phonon php plasma plotutils pmu png policykit posix postgres ppds python qt3support qt4 quicktime rar raw rdesktop rdoc readline redeyes reports romio sasl scanner script sdl semantic-desktop server session sha512 sharedext simplexml smp sndfile soap sockets speex spell sphinx spreadsheet sqlite sqlite3 srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog sysvipc tcltk tcpd templates tetex theora thin-splines threads tidy tiff tokenizer tordns truetype udev udisks unicode upower urandom usb userlocales vda vdpau video vmware-tools vmware_guest_linux vmware_guest_windows vncviewer vorbis wddx webkit webm windeco wv wxgtk1 wxwidgets x264 xcomposite xetex xft xine xinerama xml xmlreader xmlrpc xmlwriter xorg xpdf-headers xpm xprint xscreensaver xsl xv xvid xvnc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias version" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en en_GB en_US el" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Vasilis Lourdas 2013-03-04 17:17:02 UTC
Hm... This bug might be invalid after all. Stepped into this forum thread: http://forums.gentoo.org/viewtopic-t-918688-start-0.html
Comment 3 Vasilis Lourdas 2013-03-04 17:41:35 UTC
@tman, look for post install elog messages. There are instructions.
Comment 4 SpanKY gentoo-dev 2014-01-31 08:44:45 UTC
assuming invalid.  if you think otherwise, please double check the elog messages and attach your httpd.conf file here for us to review.