1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

only 1 domain not webalizer updated

Discussion in 'Plesk for Linux - 8.x and Older' started by Herby, Jan 14, 2005.

  1. Herby

    Herby Guest

    0
     
    Hi

    At the statistics cronjob 1 Domain is not updated.

    When I do
    /usr/local/psa/admin/sbin/statistics
    manually the domainstat also of this domain is updated.

    What could cause this?

    br,
    Herby
     
  2. Mr. Pink

    Mr. Pink Guest

    0
     
    Hi,

    you could use remove
    Code:
     >/dev/null 2>&1
    from crontab and wait for output, when cronjob is executed next time ...

    Regards,

    Pink
     
  3. CBiLL

    CBiLL Guest

    0
     
    check

    /home/httpd/vhosts/1domain/statistics/logs/access_log.processed

    and make sure it not over 2 gig ..

    Webalizer won't read or have some issues reading log file that is over 2gig ..

    Bill
     
  4. Herby

    Herby Guest

    0
     
    @cbill: its far below 2gig

    @mr. pink:

    this domain is not showing in the logs. It looks the domain doesnt exist.

    Curious that it is working with the same command from cron on root shell.

    Does any1 know where statistic reads the info which domains should be updated - .conf ??
     
  5. nathacof@

    nathacof@ Guest

    0
     
    I'm experiencing similar issues

    [root@vps1077 root]# ls -alh /home/httpd/vhosts/example.com/statistics/logs/access* | sort -n +4
    -rw-r--r-- 1 root root 25K Jun 8 12:03 /home/httpd/vhosts/example.com/statistics/logs/access_log
    -rw-r--r-- 1 root root 239M Jun 8 11:53 /home/httpd/vhosts/example.com/statistics/logs/access_log.processed
    [root@vps1077 root]#

    Domain name changed to protect the innocent.

    I've tried updating these stats manually,

    [root@vps1077 root]# /usr/local/psa/admin/sbin/statistics --calculate-one --doma in-name=example.com
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (clf)
    DNS Lookup (15): 9 addresses in 0.47 seconds
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (clf)
    DNS Lookup (15): None to process
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (ftp)
    DNS Lookup (15): None to process
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (ftp)
    DNS Lookup (15): None to process
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (clf)
    Using DNS cache file /usr/local/psa/var/webalizer.cache
    Creating output in /home/httpd/vhosts/example.com/statistics/webstat
    Hostname for reports is 'example.com'
    History file not found...
    Reading previous run data.. webalizer.current
    Error: Unable to restore run data (1)
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (clf)
    Using DNS cache file /usr/local/psa/var/webalizer.cache
    Creating output in /home/httpd/vhosts/example.com/statistics/webstat-ss l
    Hostname for reports is 'example.com'
    History file not found...
    Previous run data not found...
    No valid records found!
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (ftp)
    Using DNS cache file /usr/local/psa/var/webalizer.cache
    Creating output in /home/httpd/vhosts/example.com/statistics/anon_ftpst at
    Hostname for reports is 'example.com'
    History file not found...
    Previous run data not found...
    No valid records found!
    Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
    Using logfile STDIN (ftp)
    Using DNS cache file /usr/local/psa/var/webalizer.cache
    Creating output in /home/httpd/vhosts/example.com/statistics/ftpstat
    Hostname for reports is 'example.com'
    Reading history file... webalizer.hist
    Reading previous run data.. webalizer.current
    No valid records found!
    [root@vps1077 root]#

    Something else I find odd is the fact that the domain bandwidth usage is update to date until June but the webalizer stats have stopped since January
     
Loading...