On 29/12/11 14:38, Eric d'Halibut wrote: > I recently did an apt-get dist-upgrade to an old lenny, bringing him to > squeezy. > > apache 2 now refuses to start, with this message found in > /var/log/apache2/error.log > > [Wed Dec 28 22:10:21 2011] [error] (2)No such file or directory: could not > open > transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. > Unable to open logs > > There are many old 'other_vhosts_access.log' files in this same > /var/log/apache2 dir: > > -rw-r----- 1 root adm 0 Oct 23 06:25 other_vhosts_access.log > -rw-r----- 1 root adm 1202 Oct 18 21:39 other_vhosts_access.log.1 > -rw-r----- 1 root adm 302 Oct 15 17:30 other_vhosts_access.log.2.gz > -rw-r----- 1 root adm 271 Sep 27 21:06 other_vhosts_access.log.3.gz > -rw-r----- 1 root adm 269 Aug 21 21:42 other_vhosts_access.log.4.gz > -rw-r----- 1 root adm 392 Jul 25 01:05 other_vhosts_access.log.5.gz > -rw-r----- 1 root adm 870 Jun 24 2011 other_vhosts_access.log.6.gz > -rw-r----- 1 root adm 542 May 22 2011 other_vhosts_access.log.7.gz > -rw-r----- 1 root adm 254 May 14 2011 other_vhosts_access.log.8.gz > -rw-r----- 1 root adm 737 Mar 14 2011 other_vhosts_access.log.9.gz > > Things seem to have run swimmingly for a long time, and then...kaput!
Check your log dir settings:- grep -i log_dir /etc/apache2/envvars Mine all have:- export APACHE_LOG_DIR=/var/log/apache2$SUFFIX Which is what I suspect yours is... - so check your permissions. Mine:- ls -al /var/log/apache2 total 208 drwxr-x--- 2 root adm 4096 Dec 16 12:46 . drwxr-xr-x 14 root root 4096 Dec 29 16:00 .. -rw-r----- 1 root adm 2829 Dec 16 12:37 access.log -rw-r----- 1 root adm 132561 Dec 29 16:00 error.log -rw-r--r-- 1 root root 49300 Dec 28 19:05 other_vhosts_access.log -rw-r--r-- 1 root www-data 782 Dec 28 19:03 suexec.log > > Here's what I have now for packages: > > # dpkg -l |grep apache2 > ii apache2 > 2.2.16-6+squeeze4 Apache HTTP Server metapackage > ii apache2-doc > 2.2.16-6+squeeze4 Apache HTTP Server documentation > ii apache2-mpm-worker > 2.2.16-6+squeeze4 Apache HTTP Server - high speed > threaded model > ii apache2-utils > 2.2.16-6+squeeze4 utility programs for webservers > ii apache2.2-bin > 2.2.16-6+squeeze4 Apache HTTP Server common binary files > ii apache2.2-common > 2.2.16-6+squeeze4 Apache HTTP Server common files > > TIA if anyone can shed any light on this dys/mal/function! > Basic package selections ii apache2 2.2.16-6+squeeze4 Apache HTTP Server metapackage ii apache2-mpm-prefork 2.2.16-6+squeeze4 Apache HTTP Server - traditional non-threaded model ii apache2-suexec-custom 2.2.16-6+squeeze4 Configurable suexec program for Apache 2 mod_suexec ii apache2-utils 2.2.16-6+squeeze4 utility programs for webservers ii apache2.2-bin 2.2.16-6+squeeze4 Apache HTTP Server common binary files ii apache2.2-common 2.2.16-6+squeeze4 Apache HTTP Server common files ii libapache2-mod-fcgid 1:2.3.6-1 an alternative module compat with mod_fastcgi ii libapache2-mod-php5 5.3.3-7+squeeze3 server-side, HTML-embedded scripting language (Apache 2 module) ii libapache2-mod-ruby 1.2.6-2 Embedding Ruby in the Apache2 web server ii libapache2-svn 1.6.12dfsg-6 Subversion server modules for Apache Cheers -- Iceweasel/Firefox extensions for finding answers to Debian questions:- https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4efbe8df.7040...@gmail.com