[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#316477: No directory /var/run/apache2 error 503



On Tue, 2006-01-03 at 13:24 +0800, Andrew Buckeridge wrote:
> package: apache2-mpm-worker
> version: 2.0.54-5
> 
> Still not fixed in stable.
> 
> Cant create UNIX domain socket cgisock if directory /var/run/apache2
> does not exist.  This causes an error 503 to be displayed.
> 
> To fix create directory /var/run/apache2 when apache2-mpm-worker is
> installed.  The socket is then created when needed.
> 
> # ls -al /var/run/apache2
> total 1
> drwxr-xr-x   2 root     root  72 2006-01-03 13:09 .
> drwxr-xr-x  12 root     root 816 2006-01-03 13:09 ..
> srwx------   1 www-data root   0 2006-01-03 13:09 cgisock
> 

Hmm:

$ apt-cache depends  apache2-mpm-worker
apache2-mpm-worker
  Depends: libapr0
  Depends: libc6
  Depends: libdb4.2
  Depends: libexpat1
  Depends: libldap2
  Depends: libpcre3
  Depends: libssl0.9.7
  Depends: zlib1g
  Depends: apache2-common  <-----------------
  Conflicts: apache2-mpm-prefork
  Conflicts: apache2-mpm-perchild
  Replaces: apache2-mpm-threadpool

$  dpkg -L apache2-common | grep var\/run
/var/run
/var/run/apache2

So where is the problem? Did you manage to not install apache2-common?

 Cheers, Ralf Mattes




Reply to: