View Single Post
Old 15th February 2008, 14:46
tensor tensor is offline
Join Date: Jul 2007
Posts: 51
Thanks: 11
Thanked 9 Times in 6 Posts
Default Installation on Debian lenny fails due to new style of apache.conf

I recently updated apache2 to the version in "testing". The reason was that the version in Debian 4.0 "etch" did not support setting the charset of generated directory indexes. I continued to track apache2 in "testing" for some time. I was busy with other things and missed a couple of point releases of ISPConfig. Today I tried to upgrade from 2.2.18 to latest and greatest 2.2.21. The setup script bailed out with the error:
Checking the syntax of the httpd.conf...
httpd: bad user name ${APACHE_RUN_USER}
ERROR: The syntax of your httpd.conf is not ok! Please correct the error. The installation routine stops here!
The cause of the problem is that user and group are pulled from environment.
# These need to be set in /etc/apache2/envvars
I am writing this for falko and till to be aware of the new style of Debian's apache.conf

I have changed them back to
User www-data
Group www-data
And now watching the setup script to do its job.
Reply With Quote
Sponsored Links