Hello *, I have reinstalled Debian/Lenny and apache and disabled all VHosts except <server08> but now I get following Error: ----[ command 'invoke-rc.d apache2 start' ]----------------------------- Restarting web server: apache2no listening sockets available, shutting down Unable to open logs failed! invoke-rc.d: initscript apache2, action "start" failed. ------------------------------------------------------------------------ 1) Where could the Socket problem come from? 2) I have checked all directories and they have the right permission ----[ command 'apache2ctl configtest' ]--------------------------------- Syntax OK ------------------------------------------------------------------------ This sounds not very funny, because in general it is the same config as the the sever where <http://www.tamay-dogan.net/> is. ----[ '/VServer_08/APACHE_enabled/0_vserver08.tamay-dogan.net' ]-------- NameVirtualHost 192.168.0.208:80 <VirtualHost 192.168.0.208:80> ServerAdmin hostmaster@xxxxxxxxxxxxxxx ServerName vserver08.tamay-dogan.net DocumentRoot /VServer_08/htdocs/ <Directory /> Options FollowSymLinks Indexes AllowOverride None </Directory> # debug, info, notice, warn, error, crit, alert, emerg. LogLevel warn ErrorLog /VServer_08/CONFIG_vserver08.tamay-dogan.net/log/apache/error.log LogFormat "%{[%Y-%m-%d %H:%M:%S %z]}t %h [%V] %l %u \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost CustomLog /VServer_08/CONFIG_vserver08.tamay-dogan.net/log/apache/access.log vhost ServerSignature On </VirtualHost> ------------------------------------------------------------------------ If I use -x in the apache2ctl Script I get: ----[ command 'apache2ctl start' ]-------------------------------------- + ARGV=start + test -z '' + APACHE_ENVVARS=/etc/apache2/envvars + test -f /etc/apache2/envvars + . /etc/apache2/envvars ++ export APACHE_RUN_USER=www-data ++ APACHE_RUN_USER=www-data ++ export APACHE_RUN_GROUP=www-data ++ APACHE_RUN_GROUP=www-data ++ export APACHE_PID_FILE=/var/run/apache2.pid ++ APACHE_PID_FILE=/var/run/apache2.pid + HTTPD=/usr/sbin/apache2 + LYNX='www-browser -dump' + STATUSURL=http://localhost:80/server-status ++ ulimit -H -n + ULIMIT_MAX_FILES='ulimit -S -n 1024' + '[' 'xulimit -S -n 1024' '!=' x ']' + ulimit -S -n 1024 + ERROR=0 + '[' xstart = x ']' + '[' xstart = xusage ']' + '[' xstart = x--help ']' + case $ARGV in + mkdir -p /var/run/apache2 + install -d -o www-data /var/lock/apache2 + rm -f '/var/run/apache2/*ssl_scache*' + /usr/sbin/apache2 -k start no listening sockets available, shutting down Unable to open logs + ERROR=1 + exit 1 ------------------------------------------------------------------------ Here is the config (lines with # at the beginning striped) ----[ '/etc/apache2/apache2.conf' ]------------------------------------- ServerRoot "/etc/apache2" LockFile /var/lock/apache2/accept.lock PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> <IfModule mpm_worker_module> StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> DefaultType text/plain HostnameLookups Off ErrorLog /var/log/apache2/error.log LogLevel warn Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf Include /etc/apache2/httpd.conf Include /etc/apache2/ports.conf LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined Include /etc/apache2/conf.d/ Include /VServer_08/APACHE_enabled/ ------------------------------------------------------------------------ ----[ '/etc/apache2/envvars' ]------------------------------------------ export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data export APACHE_PID_FILE=/var/run/apache2.pid ------------------------------------------------------------------------ ----[ '/etc/apache2/ports.conf' ]--------------------------------------- <IfModule mod_ssl.c> Listen 443 </IfModule> ------------------------------------------------------------------------ Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsystems@tdnet France EURL itsystems@tdnet UG (limited liability) Owner Michelle Konzack Owner Michelle Konzack Apt. 917 (homeoffice) 50, rue de Soultz Kinzigstraße 17 67100 Strasbourg/France 77694 Kehl/Germany Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil Tel: +33-9-52705884 fix <http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/> <http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/> Jabber linux4michelle@xxxxxxxxxxxxx Linux-User #280138 with the Linux Counter, http://counter.li.org/
Attachment:
signature.pgp
Description: Digital signature