#1  
Old 1st December 2005, 19:43
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access Logs

Hello... I noticed today that my access logs have not "rotated" properly. For Example:

web7/log/web.log -> /home/vhost01_webroot/web7/log/2005/11/web.log


Now that it is the month of December (12) should the symlink and logs have changed to:

web7/log/web.log -> /home/vhost01_webroot/web7/log/2005/12/web.log


What script handles this? I ran the php script that is in cron:


vhost01:# /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php

Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125


Not sure if that is having anything to do with it???
__________________
themachine
5dollarwhitebox.org
Reply With Quote
Sponsored Links
  #2  
Old 1st December 2005, 19:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by themachine
Hello... I noticed today that my access logs have not "rotated" properly. For Example:

web7/log/web.log -> /home/vhost01_webroot/web7/log/2005/11/web.log


Now that it is the month of December (12) should the symlink and logs have changed to:

web7/log/web.log -> /home/vhost01_webroot/web7/log/2005/12/web.log
It's December 1st; the script that creates the symlink runs at night, so it will create it tonight.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st December 2005, 19:54
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and all of my logs have stopped logging access...

interesting...


I see there are *no* CustomLog entries in /etc/apache2/vhosts/Vhosts_ispconfig.conf. Where are the CustomLog entries? If I manually add it for a site logging works.

Pft... I'm stumped.
__________________
themachine
5dollarwhitebox.org

Last edited by themachine; 1st December 2005 at 20:51.
Reply With Quote
  #4  
Old 2nd December 2005, 00:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

There's one global log file which is specified in the main httpd.conf, and this global log file is splitted into the web log files each night by a cron job.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd December 2005, 11:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

Quote:
Originally Posted by themachine
and all of my logs have stopped logging access...

interesting...


I see there are *no* CustomLog entries in /etc/apache2/vhosts/Vhosts_ispconfig.conf. Where are the CustomLog entries? If I manually add it for a site logging works.

Pft... I'm stumped.
Dont add them manually! As falko posted the logdata is written to one big logfile and splitted nightly. The Data for December 1st will be written in the morning of december 2nd and the symlink will bechanged.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Issues - Access Forbidden! rytech Installation/Configuration 23 22nd June 2006 16:25
Access logs are not recycled Joe-ker General 8 28th March 2006 22:35
FTP access with Dreamweaver / FTPclient pjm2211 Installation/Configuration 17 2nd November 2005 00:31
FTP access problem... ctroyp General 7 12th October 2005 18:07
FTP access? ctroyp Installation/Configuration 14 29th September 2005 18:26


All times are GMT +2. The time now is 20:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.