(SH)Saeed
01-12-2001, 06:44 PM
The logs for my new site stopped working today! I didn't even touch the server, they stopped by themselves. The log file size is about 20MB for a week.. Anyway I can get it to work again?
Saeed
Saeed
![]() | View Full Version : LOG DEAD! (SH)Saeed 01-12-2001, 06:44 PM The logs for my new site stopped working today! I didn't even touch the server, they stopped by themselves. The log file size is about 20MB for a week.. Anyway I can get it to work again? Saeed cbaker17 01-12-2001, 10:05 PM Try backing up your log files delte them and then create new ones. nox 01-12-2001, 11:19 PM For anyone who cares, I just rec'd a notice from Cobalt that the global usage/stat's problem is a BUG, and that their engineering dept will deliver a patch shortly. (SH)Saeed 01-13-2001, 02:47 PM The logs seem to be working again.. It´s like if they're not live!.. When I load my site the size of the log file remains the same. I'm guessing it writes to another file and maybe at the end of the day adds that file to the big log file.. Saeed Chicken 01-13-2001, 03:24 PM It is actually the opposite. The master access logs are split to the sites' log folders. Félix C.Courtemanche 01-13-2001, 07:36 PM And it's the script doing this task that bugs all the time and prevents your log from rotating properly. (SH)Saeed 01-14-2001, 08:03 AM Hmm, it looks like it stopped agian! This suckes so bad.. I can't wait for a fix from cobalt. The Webalizer .pkg that is downloadable from cobalt doesn't even count unique visitors. I tried installing the latest version but it said it needed some module for the gifs that I failed to install. Saeed eva2000 01-15-2001, 12:28 AM my logs are dead as well along with those errors i posted about :( i found this post at http://qube-users.qube.de/maillists/cobalt-users/2000-May/msg02665.html In your /etc/logrotate.d directory, are there site1, site2, etc config files for the sites you want the logs rotated for? If so, do they have the right info as far as the location and names of your logs? in mine for site29 i have - is this correct ? /home/sites/site29/logs/mail.log { missingok compress size 102M } /home/sites/site29/logs/ftp.log { missingok compress size 102M } /home/sites/site29/logs/web.log { missingok compress size 102M } Chicken 01-15-2001, 10:25 AM Well that's correct as long as site 29 is the site you are checking (heh). I know it is annoying, but did you try: Deleting and re-creating the site? Moving the master access log out and letting the server recreate a fresh one? These are the only suggestions I can think of. eva2000 01-15-2001, 10:45 AM Originally posted by Chicken Well that's correct as long as site 29 is the site you are checking (heh). I know it is annoying, but did you try: Deleting and re-creating the site? Moving the master access log out and letting the server recreate a fresh one? These are the only suggestions I can think of. yeah i have read in the cobalt mailing list this deleting and recreating does not solve the problem.. i haven't tried it myself as one of the sites is 250+ MB in size and i prefer not to reupload that site. |