access.log

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

 



good morning,


this is not a huge deal, but more frustrating than anything i have
encountered with linux.  i cannot seem to get this right, apache2 cannot
write to access log files in /var/log/apache2/.  the error log is still
churning along fine.  i have checked permissions, all files inside
apache2 folder are all 640, owned by root, and root file group.  the
apache folder itself is owned by root, and root filegroup 640.  i have
custom log directive in virtual server config to create a separate
access log for 4 sites.  it does not even create the custom logs when i
restart apache.  i tried making the logs myself with the correct
permissions, and apache still will not write to them. 

as a last resort, i removed apache and reinstalled.......  perfect! 
apache was now writing again to the access logs......  BUT for only a
short time then stopped AGAIN!   good lord, what is going on here? I
changed nothing since reinstalling apache2. the only thing i did was re
install php5.

my question is what is the correct permissions for the access.log
itself, and also for the apache2 folder within /var/log?  anything ive
ever read said as long as www-data can write to it, all should be
fine.   its obvious www-data can write to  /var/log/apache2 because it
is doing so with error.log right now.

virtual server config is here  http://pastebin.com/m78d73772

thanks for your help!


steve

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux