VH-Robert

Member
Mar 31, 2003
24
0
151
S. Florida
Hello,

Apparently our server has upgraded itself to Cpanel 8 Release (GRRR) and now the stats have stopped working. Anyone know how to get the statistics to work again? Thanks!

cPanel.net Support Ticket Number:

I'm also running FreeBSD 4.7-Release.
 

SiteShack

Member
Aug 22, 2003
12
0
151
Ok here is the problem.

We had the same issue after looking at our various servers and domains this stopped working on it seems it reaches the log limit of 2147483647

My suggestion and fix is to:

cd /etc/httpd/domlogs

now what we did was we wanted to save the domains log file so we gzip'd it up (replace {filename} to the correct name of the log file)

gzip -9 {filename}

Then we need to recreate the log file and set permissions:

touch {filename}

chmod 644 {filename}

chown root.{username} {filename}

(replace {username} to that of the correct cpanel account)

Now restart the webserver:

service httpd restart

To verify everything works do this:

tail -f {filename}

Now access the domain's website, you should see it resume logging.

As far as the day your stats ended till now is lost.