[Resolved] Apache 2 problem Hi all, I come here because I've serious problem with my apache 2. When I want to start the service with /etc/init.d/apache2 start, I've this error : without other error message. When I make cat /var/log/apache2/error.log I don't have any error. When I look at /var/log/syslog, there are no errors. I don't know where my problem came. If you have an idea ? Thank you in advance for your help OS : Debian Lenny ISPConfig : 2.2.29
Two options: 1. Have you setup your SELinux correctly? 2. If you compiled your own Apache from sources, you have to set user.
Search for the variable ${APACHE_RUN_USER} in the file and replace it with the username of the apache user. the apache user is normally named apache, www-data or wwwrun depending on your linux distribution.
Hi all, @ valent : I don't use SELinux and I use Debian lenny package for apache @ falko : This is the result for the command @ all : This is the contain for apache2 error.log before apache crash : If anyone have an idea ? I precise I use mod_security 2.5 and mod_evasive
I tested with disable this module and I've the same problem. I've remove (with purge), delete conf file et reinstall and the problem persist :/.
Is this the system apache or the ispconfig apache? If system, and you have a site in ispconfig, then don't forget that the error logs for the sites are in different locations. FWIW I just set up a Lenny install w/ same ispconfig, had no issues. Followed the perfect server set up, with a few minor changes
This is the result for Other test : @ id1ot : I use ispconfig and debian since 3 years ago, I don't want to reinstall my server with their 980 websites =).
When I comment this line on apache2.conf "Include /etc/apache2/vhosts/Vhosts_ispconfig.conf", apache start correctly. There is a way to verify the good structure of the file ? Where can I look to find the error about this file ? In "/home/admispconfig/ispconfig/ispconfig.log" ? Thank you for your help
Maybe the file is too long for Apache? What happens when you manually remove some vhosts (make a backup of the file before you do this)? Does Apache start then?
Take a look at the error logs for each hosted site, since it starts normally when you aren't hosting anyone (no vhosts file). tail /var/www/web*/log/error.log