Re: apache2 php5 error
On Wed, August 18, 2010 09:06, Steve Kemp wrote:
> On Tue Aug 17, 2010 at 18:52:32 -0400, Paul Cartwright wrote:
>
>> # tail /var/log/apac*/error.log
>
> (This is good. Looking at error logs is the way you solve
> problems yourself.)
>
>> [Tue Aug 17 18:49:40 2010] [error] (2)No such file or directory: could
>> not
>> open transfer log
>> file /disk2/pictures/www/${APACHE_LOG_DIR}/other_vhosts_access.log.
>> Unable to open logs
>
> Seems like you need to either:
>
> a) Make the directory you've told it to save its logs in.
>
> b) Change it to log to a directory which exists. Perhaps
> /var/log/apache2?
>
Seems like the variable 'APACHE_LOG_DIR' isn't properly set in the config
(/etc/apache2/apache2.conf)
you might want to check that. The path
"/disk2/pictures/www/${APACHE_LOG_DIR}/other_vhosts_access.log" seems a
bit odd to me with that variable name...
Regards,
Steven
--
Rarely do people communicate; they just take turns talking.
Reply to: