Awstats doesn't update for some users

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
I've two accounts in a cPanel webserver that has been migrated from another cPanel webserver, that the stats keeps outdated (Jun-17).

I've tried to do an /scripts/runweblogs for the user, but the script never ends, and it never gets updated. On statistic software configuration it says that all my accounts are up to date, but this 2 accounts haven't been updated since then.

Is there anything that I should look into ?

The access-logs seems to be ok since their last update was today, the account has 100mb free space and the tmp folder is there with the other txt files (from 2007 to Jun-17-2008).

I'm really out of ideas...
 

lehels

Well-Known Member
Jul 10, 2006
91
0
156
Hello,

Check the type of the domlog created by Apache in the domains VirtualHost [should be combined - anyway this depends how's set your awstats.conf on taht domain], try again, or edit awstats conf to be able to make the update manually from cPanel and see detailed result/error.

I've two accounts in a cPanel webserver that has been migrated from another cPanel webserver, that the stats keeps outdated (Jun-17).

I've tried to do an /scripts/runweblogs for the user, but the script never ends, and it never gets updated. On statistic software configuration it says that all my accounts are up to date, but this 2 accounts haven't been updated since then.

Is there anything that I should look into ?

The access-logs seems to be ok since their last update was today, the account has 100mb free space and the tmp folder is there with the other txt files (from 2007 to Jun-17-2008).

I'm really out of ideas...
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
The domain is named jewishgenealogy.com.ar, username jewishge.

This is the LS from the access-logs:
Code:
-rw-r-----   2 root jewishge       0 Jul  2 20:46 ftp.jewishgenealogy.com.ar-ftp_log
-rw-r--r--   1 root root           2 Jul  3 04:32 ftp.jewishgenealogy.com.ar-ftp_log.offset
-rw-r--r--   1 root root           2 Jul  3 09:09 ftp.jewishgenealogy.com.ar-ftp_log.offsetftpbytes
drwxr-x---   2 root jewishge    4096 Jun 17 18:15 jewishge
-rw-r-----   2 root jewishge   64116 Jul  3 13:09 jewishgenealogy.com.ar
-rw-r--r--   1 root root       81581 Jul  3 13:09 jewishgenealogy.com.ar-bytes_log
-rw-r--r--   1 root root           2 Jul  3 09:09 jewishgenealogy.com.ar-bytes_log.offset
-rw-r-----   1 root root      133269 Jul  3 12:02 jewishgenealogy.com.ar-smtpbytes_log
And the jewishge folder...
Code:
drwxr-x---   2 root jewishge  4096 Jun 17 18:15 .
drwx--x--x 115 root wheel    36864 Jul  3 13:08 ..
-rw-r-----   2 root jewishge     0 Jul  2 20:46 ftp.jewishgenealogy.com.ar-ftp_log
-rw-r-----   2 root jewishge 64233 Jul  3 13:09 jewishgenealogy.com.ar
And the home / user / tmp / awstats listing...
Code:
drwxr-xr-x 2 jewishge jewishge    4096 Jun 17 18:15 .
drwxr-xr-x 8 jewishge jewishge    4096 Jul  2 15:29 ..
-rw-r--r-- 1 jewishge jewishge   85330 Feb  1  2006 awstats012006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  446092 Feb  1  2007 awstats012007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1115794 Feb  1 02:04 awstats012008.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  214868 Mar  1  2006 awstats022006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  418038 Mar  1  2007 awstats022007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1104078 Mar  1 06:35 awstats022008.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  281614 Apr  1  2006 awstats032006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  477366 Apr  1  2007 awstats032007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1303638 Apr  1 10:19 awstats032008.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  255414 May  1  2006 awstats042006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  483968 May  1  2007 awstats042007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1292101 May  1 02:52 awstats042008.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  230738 Jun  1  2006 awstats052006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  484160 Jun  1  2007 awstats052007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1602331 Jun  1 23:25 awstats052008.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  231872 Jul  1  2006 awstats062006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  487374 Jul  1  2007 awstats062007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  914333 Jun 17 18:15 awstats062008.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  299586 Aug  2  2006 awstats072006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  667357 Aug  1  2007 awstats072007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  310223 Sep  2  2006 awstats082006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  933943 Sep  1  2007 awstats082007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge   10920 Oct  1  2005 awstats092005.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  323682 Oct  1  2006 awstats092006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  939560 Oct  1  2007 awstats092007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge   10958 Nov  1  2005 awstats102005.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  320162 Nov  1  2006 awstats102006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1006139 Nov  1  2007 awstats102007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge   37704 Dec  1  2005 awstats112005.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  403995 Dec  1  2006 awstats112006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge 1026440 Dec  1  2007 awstats112007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge   37430 Jan  6  2006 awstats122005.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  347817 Jan  1  2007 awstats122006.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge  982011 Jan  1  2008 awstats122007.jewishgenealogy.com.ar.txt
-rw-r--r-- 1 jewishge jewishge   23863 Jul  2 20:46 awstats.jewishgenealogy.com.ar.conf
-rw-r--r-- 1 jewishge jewishge   24613 Dec 22  2005 dnscachelastupdate.jewishgenealogy.com.ar.txt
If it's needed I can give you the awstat.domain.conf file.
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
I've detected that the access-log is not like usual it just says "combined combined combined".. once per line.. could it be that the apache log daemon is wrong ?
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
bump, I know where's the error (see the post before this) but I don't know how to solve it or what is causing it. Do you recommend me to do anything? Like.. rebuild apache, rebuild httpd... anybody had this issue before ?
 

lehels

Well-Known Member
Jul 10, 2006
91
0
156
bump, I know where's the error (see the post before this) but I don't know how to solve it or what is causing it. Do you recommend me to do anything? Like.. rebuild apache, rebuild httpd... anybody had this issue before ?
Hello, it's not necessary to rebuild Apache, you should check as i said in the domains VirtualHost, to have smthg like:
Code:
CustomLog /usr/local/apache/domlogs/domain.com combined
Than in your tmp/awstats/domain.com.awstats.conf:
Code:
LogFormat=1
You can also turn on:
Code:
AllowToUpdateStatsFromBrowser=1
And check awstats.

Cheers,
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
This is the content of the VirtualHost on httpd.conf
Code:
CustomLog /usr/local/apache/domlogs/jewishgenealogy.com.ar combined
CustomLog /usr/local/apache/domlogs/jewishgenealogy.com.ar-bytes_log "%{%s}t %I .\n%{%s}t %O ."
The awstats.conf from the domain already contains:
Code:
LogFormat=1
I've added the option to update via web, and deleted all the "combined" from the domlog, but if I visit multiple times the site and update the stats nothing changes, also the domlogs remain empty, so, there must be something wrong with the log creations.