I get the following message when I try to start apache:
/etc/init.d/apache2 start * Caching service dependencies ... [ ok ] * apache2 has detected an error in your setup: AH00526: Syntax error on line 149 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
Line 149 of /etc/apache2/httpd.conf is:
This is a new install of funtoo and a new install of apache.
Can someone give me a hint about what is going on?
Last edited by donjames (2012-12-21 04:35:16)
Which version of apache?
PS: When 2.4: Seems as if "User" directive depends on a module named "mod_unixd" now. Please verify you got that loaded.
I fixed it.
I had in my /etc/make.conf file, the following line:
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfil e authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers id ent imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite seten vif so speling status unique_id userdir usertrack vhost_alias"
I commented out this line and re-installed apache, and now it works.