Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th October 2012, 03:49
pvanthony pvanthony is offline
Member
 
Join Date: Jun 2012
Location: Singapore
Posts: 39
Thanks: 6
Thanked 5 Times in 4 Posts
Send a message via Skype™ to pvanthony
Default Awstats just stopped working two days ago.

Hi,

I am really lost here.

Awstats was working find until the 7th of October 2012. Now it is not updating.

After going into the http://www.example.com/stats, I can see the stats page. It states that the page has been updated. But there are no records after the 7th of October 2012.

Run the daily cron job and the server cron job and there are no errors.

Is there any other place I can check for errors?

Checked into the log folder and the log files are there but seems that they have not been processed and tarred. The yesterday_log link is still pointing to 8th October 2012.

What can be wrong? What can I do to solve this?

P.V.Anthony
P.V.Anthony
Reply With Quote
Sponsored Links
  #2  
Old 10th October 2012, 08:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Do you find any cron errors about the cron_daily.sh script in the syslog in /var/log/?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th October 2012, 18:09
pvanthony pvanthony is offline
Member
 
Join Date: Jun 2012
Location: Singapore
Posts: 39
Thanks: 6
Thanked 5 Times in 4 Posts
Send a message via Skype™ to pvanthony
Default

Dear Till,

Thank you very much for replying.

I have run this on cmd line.
/usr/local/ispconfig/server/cron_daily.sh

and got the response "finished" without any errors. Was running another terminal with the cmd "tail -F /var/log/messages" and there was no errors.

Is there anything else I can check?

Currently running CentOS 6.3, nginx, dovecat with ispconfig 3.0.4.6.

P.V.Anthony
Reply With Quote
  #4  
Old 10th October 2012, 18:22
pvanthony pvanthony is offline
Member
 
Join Date: Jun 2012
Location: Singapore
Posts: 39
Thanks: 6
Thanked 5 Times in 4 Posts
Send a message via Skype™ to pvanthony
Default

Went into the logs an noticed that it did update the awstats but it is still two days off. So I think the script is working but two days off.

Here is the listing of the last few files of the logs. Observe the dates and the link file named yesterday.

-rw-r--r-- 1 root root 43K Oct 11 00:02 20121008-access.log.gz
-rw-r--r-- 1 nginx root 478K Oct 9 23:51 20121009-access.log
-rw-r--r-- 1 nginx root 880K Oct 10 23:59 20121010-access.log
-rw-r--r-- 1 nginx root 1.6K Oct 11 00:15 access.log
-rw-r--r-- 1 nginx client6 70K Oct 11 00:10 error.log
lrwxrwxrwx 1 root root 54 Oct 11 00:13 yesterday-access.log -> /var/www/clients/client6/web10/log/20121009-access.log

Tried running the daily.sh again but nothing changed.

What could be the problem?

P.V.Anthony
Reply With Quote
  #5  
Old 16th May 2013, 08:34
schickel schickel is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Thanks: 3
Thanked 3 Times in 2 Posts
Default

This thread seems to be old not solved.

I got this problem also after upgrading my server to Ubuntu 13.04.

I also get no errors in any log, but awststats did not update stats and did not work. Webalizer is working but it is very...

So, is there anyone who can say something about this?

I have the actual ISPConfig version on Ubuntu 13.04
Reply With Quote
  #6  
Old 16th May 2013, 10:53
schickel schickel is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Thanks: 3
Thanked 3 Times in 2 Posts
Default

This problem is not relatet to ISPConfig.

I found a bug: AWStats 7.1 is not compatible with Perl 5.14:

http://awstats.sourceforge.net/docs/..._changelog.txt

A new version of awstats should solved this
Reply With Quote
The Following 2 Users Say Thank You to schickel For This Useful Post:
falko (17th May 2013), till (16th May 2013)
  #7  
Old 26th June 2013, 15:01
jaypabs jaypabs is offline
Member
 
Join Date: Jun 2013
Posts: 68
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have the same problem. It's already June 26, but the awstats last visit says: 24 Jun 2013

awstats Last Update says: 26 Jun 2013 - 00:30

Any idea?
Reply With Quote
The Following User Says Thank You to jaypabs For This Useful Post:
adamassasda291 (26th June 2013)
  #8  
Old 26th June 2013, 15:49
schickel schickel is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by jaypabs View Post
I have the same problem. It's already June 26, but the awstats last visit says: 24 Jun 2013

awstats Last Update says: 26 Jun 2013 - 00:30

Any idea?
Yes. Take a look here:

http://sourceforge.net/p/awstats/dis...read/474fdb3e/

This helps for me.
Reply With Quote
  #9  
Old 26th June 2013, 16:08
jaypabs jaypabs is offline
Member
 
Join Date: Jun 2013
Posts: 68
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by schickel View Post
Yes. Take a look here:

http://sourceforge.net/p/awstats/dis...read/474fdb3e/

This helps for me.
Thanks.

Can you please guide me on how to apply the patch?

BTW, I'm using this guide during the installation of my server.
Reply With Quote
  #10  
Old 26th June 2013, 23:53
schickel schickel is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Thanks: 3
Thanked 3 Times in 2 Posts
 
Default

Quote:
Originally Posted by jaypabs View Post
Thanks.

Can you please guide me on how to apply the patch?

BTW, I'm using this guide during the installation of my server.
1. Open /usr/lib/cgi-bin/awstats.pl

2. search sub UnCompileRegex (in my awstatspl is this in line 7820)

3. replace
Code:
shift =~ /\(\?[-\w]*:(.*)\)/;
with
Code:
 
shift =~ /\(\?[-^\w]*:(.*)\)/;
Start awstats manually or wait for cronjob.

Last edited by schickel; 26th June 2013 at 23:56.
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
Upgraded to Ubuntu 12.04, ISPConfig 2 stopped working qqwong General 18 15th September 2013 21:04
Upgrade from 2.2.0 to 2.2.1 successful but SSL and IMAP stopped working teleriddler Installation/Configuration 8 29th April 2006 14:25
UebiMiau stopped working after Apache reinstall shajazzi Installation/Configuration 6 18th February 2006 19:42
Web pages just stopped working ! skeeta Installation/Configuration 1 28th August 2005 19:30
Web pages just stopped working ! skeeta Installation/Configuration 1 28th August 2005 19:17


All times are GMT +2. The time now is 04:10.


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