Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,172
    Thanks
    19
    Thanked 65 Times in 64 Posts

    Apache Logs in the wrong place

    For about a week now we havent been getting any stats logging and I've found this is because for some reason the stats logs are in the wrong place, instead of being in /home/logs/access_log they're in /opt/lampp/logs/access_log but the httpd.conf specifically says where to put the custom logs, its just not doing it. No-one has changed the .conf file. The access log got too big (over 2g) and it wasnt rotated properly, I fixed the rotation script and reran it, the file rotated but since then nothing new has been logged.

  • #2
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,172
    Thanks
    19
    Thanked 65 Times in 64 Posts
    I even renamed the damn file to something stupid but its still writing to it - how can it know where to write to when I renamed it?

  • #3
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Are you looking at the right conf file?

    $> locate httpd.conf

    Are there multiple files on the system?

    Are there any overriding httpd.conf.local files?

    Are there vhosts.conf files that may be overriding the default?

    Just a few thoughts.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •