Posted: Thu Mar 20, 2008 8:11 am
Fedora 6? I have a repo for that
Highland wrote:Unfortunately Plesk only does month-by-month parsing. If you want to do a year-to-year the only option I know of off the top of my head is the 4psa stats program which will also generate PDFs of your awstats for you.
Could that be anything to do with it?Feb 21 09:59:09 plesk2 kernel: grsec: From xxx.xxx.xxx.xxx: signal 11 sent to /usr/sbin/httpd[httpd:15386] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:29024] uid/euid:0/0 gid/egid:0/0
awstats022010.domain.com-http.txt is a big file, but I guess that is simply reporting the stats we can see which dropped to almost nothing on 21st of this month.[root@plesk2 ~]# ls -l /var/www/vhosts/economicvoice.com/statistics/webstat
total 6288
drwxr-xr-x 2 root root 4096 Nov 1 04:21 2009-10
drwxr-xr-x 2 root root 4096 Dec 1 04:08 2009-11
drwxr-xr-x 2 root root 4096 Jan 1 04:08 2009-12
drwxr-xr-x 2 root root 4096 Feb 1 04:03 2010-01
drwxr-xr-x 2 root root 4096 Feb 24 04:04 2010-02
-rw-r--r-- 1 root root 2141821 Feb 1 04:03 awstats012010.domain.com-http.txt
-rw-r--r-- 1 root root 1510949 Feb 24 04:04 awstats022010.domain.com-http.txt
-rw-r--r-- 1 root root 296354 Nov 1 04:21 awstats102009.domain.com-http.txt
-rw-r--r-- 1 root root 614272 Dec 1 04:08 awstats112009.domain.com-http.txt
-rw-r--r-- 1 root root 1819212 Jan 1 04:08 awstats122009.domain.com-http.txt
lrwxrwxrwx 1 root root 7 Feb 24 04:04 current -> 2010-02
-rwxr-xr-x 1 root root 457 Feb 24 04:04 index.html
-rwxr-xr-x 1 root root 1119 Feb 24 04:04 nav.html
[root@plesk2 ~]#
Run that and see if any errors pop up/usr/local/psa/admin/bin/astatsupdate
Does that suggest anything?[root@plesk2 ~]# /usr/local/psa/admin/bin/astatsupdate
-bash: /usr/local/psa/admin/bin/astatsupdate: No such file or directory
[root@plesk2 ~]# ls -l /usr/local/psa/admin/bin
total 64
lrwxrwxrwx 1 root root 15 Nov 13 09:54 agent_copy -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 agent_extract -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 agent_runner -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:56 autoinstaller -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 backup_info -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 backupmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 certmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 cfmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ch_admin_email -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ch_admin_passwd -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 checkdns -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 checkpw -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ch_mode -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ch_owner -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 chrootmng -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 cid_unpacker -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 copy_file -> ../sbin/wrapper
-r-xr-x--- 1 root popuser 4735 Oct 16 13:57 courier_authpsa_configure
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 crontabmng -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 deployer -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 dnsmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 domainmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 18 08:12 drwebmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 enterprise_query -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 event_handler -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 filemng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ftp_filemng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ftpmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 get_dir_size -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:55 getfs -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 get_fs -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 get_ip -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 get_mac -> ../sbin/wrapper
lrwxrwxrwx 1 root popuser 15 Nov 13 09:44 glmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 ifmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 keymng -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:55 launchpad -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:44 listmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 localemng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 logrot_mng -> ../sbin/wrapper
lrwxrwxrwx 1 root popuser 15 Nov 13 09:44 mail_auth_view -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:44 mailmng -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:44 mailqueuemng -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:55 migrationagentsynchelper.php -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:55 migration-handler -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 modulemng -> ../sbin/wrapper
drwxr-xr-x 9 root root 4096 Nov 17 23:48 modules
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 mod_wrapper -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 packagemng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 pdmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 pg_manage -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 37 Nov 13 09:47 php -> /usr/local/psa/bin/sw-engine-pleskrun
-rwxr-xr-x 1 root root 39337 Oct 16 14:24 plesk_agent_manager
lrwxrwxrwx 1 root root 15 Nov 13 09:54 pmmcli -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 pmm-ras -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 random_str -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 reconfig -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 remove_files -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 sappmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 server_df -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 shutdown -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 skelmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 skinmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 spamd -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 11:07 spammng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 subdomainmng -> ../sbin/wrapper
lrwxrwxrwx 1 root root 15 Nov 13 09:54 supervisor -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 sysinfo -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 timemng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 tomcatmng -> ../sbin/wrapper
-rwxr-xr-x 1 root psaadm 4614 Oct 16 14:08 ttsmailparse.php
lrwxrwxrwx 1 root root 15 Nov 13 09:44 update_list.py -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 usermng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 vhostmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 webmailmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 websrvmng -> ../sbin/wrapper
lrwxrwxrwx 1 root psaadm 15 Nov 13 09:47 webstatmng -> ../sbin/wrapper
[root@plesk2 ~]#
[root@plesk2 ~]# locate astatsupdate
[root@plesk2 ~]#
[root@plesk2 ~]# ls -l /usr/local/psa/admin/sbin
total 15824
-rwxr-xr-x 1 root root 200 Oct 16 13:26 agent_copy
-rwxr-xr-x 1 root root 209 Oct 16 13:26 agent_extract
-rwxr-xr-x 1 root root 206 Oct 16 13:26 agent_runner
-rwxr-xr-x 1 root root 5162928 Aug 17 2009 autoinstaller
-rwxr-xr-x 1 root root 203 Oct 16 14:24 backup_info
-r-xr-x--- 1 root root 67000 Oct 16 14:09 backupmng
-r-xr-x--- 1 root root 57512 Oct 16 14:09 backup_sign
-rwxr-xr-x 1 root psaadm 3922 Oct 16 14:04 buildmodule.sh
-r-xr-x--- 1 root psaadm 38232 Oct 16 14:06 certmng
-r-xr-x--- 1 root psaadm 80264 Oct 16 14:04 cfmng
-r-xr-x--- 1 root psaadm 37304 Oct 16 14:06 ch_admin_email
-r-xr-x--- 1 root psaadm 53760 Oct 16 14:08 ch_admin_passwd
-r-xr-x--- 1 root psaadm 25504 Oct 16 14:06 checkdns
-r-xr-x--- 1 root psaadm 36472 Oct 16 14:06 checkpw
-r-xr-x--- 1 root psaadm 12416 Oct 16 14:05 ch_mode
-r-xr-x--- 1 root psaadm 19720 Oct 16 14:05 ch_owner
-r-xr-x--- 1 root psaadm 111776 Oct 16 14:05 chrootmng
-rwxr-xr-x 1 root root 206 Oct 16 14:24 cid_unpacker
-r-xr-x--- 1 root psaadm 24144 Oct 16 14:05 copy_file
-r-xr-x--- 1 root psaadm 9168 Oct 16 14:08 crontabmng
-r-xr-x--- 1 root root 2296816 Oct 16 14:24 deployer
-r-xr-x--- 1 root psaadm 286040 Oct 16 14:04 dnsmng
-r-xr-x--- 1 root psaadm 271600 Oct 16 14:06 domainmng
-r-xr-x--- 1 root psaadm 80216 Oct 16 14:05 drwebmng
-r-xr-x--- 1 root psaadm 54384 Oct 16 14:05 enterprise_query
-r-xr-x--- 1 root psaadm 16832 Oct 16 14:08 event_handler
-r-xr-x--- 1 root psaadm 70288 Oct 16 14:06 filemng
-r-xr-x--- 1 root psaadm 24656 Oct 16 14:09 ftp_filemng
-r-xr-x--- 1 root psaadm 45936 Oct 16 14:04 ftpmng
-r-xr-x--- 1 root psaadm 9656 Oct 16 14:06 get_dir_size
-rwxr-xr-x 1 root root 185 Oct 16 14:24 getfs
-r-xr-x--- 1 root psaadm 8928 Oct 16 14:08 get_fs
-r-xr-x--- 1 root psaadm 7984 Oct 16 14:05 get_ip
-r-xr-x--- 1 root psaadm 19968 Oct 16 14:06 get_mac
-r-xr-x--- 1 root popuser 95896 Oct 16 14:03 glmng
-r-xr-x--- 1 root psaadm 62584 Oct 16 14:03 greylist
-r-xr-x--- 1 root psaadm 197656 Oct 16 14:06 ifmng
-r-xr-x--- 1 root psaadm 3398 Oct 16 14:05 keymng
-r-xr-x--- 1 root root 716928 Oct 16 14:20 launchpad
-r-xr-x--- 1 root root 74728 Oct 16 13:59 listmng
-r-xr-x--- 1 root psaadm 346576 Oct 16 14:09 localemng
-r-xr-x--- 1 root psaadm 32008 Oct 16 14:08 logrot_mng
-r-xr-x--- 1 root popuser 42064 Oct 16 13:57 mail_auth_view
-r-xr-x--- 1 root root 49613 Oct 16 13:58 mail_handlers.sh
-r-xr-x--- 1 root root 381904 Oct 16 13:58 mailmng
-r-xr-x--- 1 root root 23269 Oct 16 13:58 mailqueuemng
-r-xr-x--- 1 root popuser 37540 Oct 16 13:58 mchk
-rwxr-xr-x 1 root root 295 Oct 16 14:25 migrationagentsynchelper.php
-rwxr-xr-x 1 root root 257 Oct 16 14:25 migration-handler
-r-xr-x--- 1 root psaadm 343272 Oct 16 14:09 modulemng
drwxr-xr-x 9 root root 4096 Nov 17 23:48 modules
---s--x--- 1 root psaadm 18456 Oct 16 14:06 mod_wrapper
-r-xr-xr-x 1 root psaadm 323456 Oct 16 13:28 monit
-r-xr-x--- 1 root psaadm 40453 Oct 16 14:09 mysql
-r-xr-x--- 1 root psaadm 41882 Oct 16 14:09 mysqldump.sh
-r-xr-x--- 1 root psaadm 8560 Oct 16 14:09 noupgradecheck
-r-xr-x--- 1 root psaadm 103264 Oct 16 13:56 packagemng
-r-xr-x--- 1 root psaadm 37672 Oct 16 14:08 pdmng
-r-xr-x--- 1 root psaadm 9205 Oct 16 14:08 pg_manage
-r-xr-x--- 1 root psaadm 78 Oct 16 13:25 phpc
-r-xr-x--- 1 root psaadm 106 Oct 16 14:16 php_from_sql_charsets
-r-xr-x--- 1 root psaadm 21064 Oct 16 14:05 pipelog
-r-xr-x--- 1 root psaadm 123752 Oct 16 14:09 pleskctl
-rwxr-xr-x 1 root root 188 Oct 16 14:24 pmmcli
-r-xr-x--- 1 root root 1163040 Oct 16 14:25 pmm-ras
-r-xr-x--- 1 root popuser 53232 Oct 16 13:57 poppassd
-r-xr-x--- 1 root psaadm 8304 Oct 16 13:57 proxy
-r-xr-x--- 1 root psaadm 4784 Oct 16 14:06 random_str
-r-xr-x--- 1 root psaadm 205424 Oct 16 14:06 reconfig
-r-xr-x--- 1 root psaadm 21352 Oct 16 14:06 remove_files
-r-xr-x--- 1 root psaadm 597792 Oct 16 14:08 sappmng
-r-xr-x--- 1 root psaadm 15488 Oct 16 13:56 server_df
-r-xr-x--- 1 root psaadm 4880 Oct 16 14:06 shutdown
-r-xr-x--- 1 root psaadm 323840 Oct 16 14:08 skelmng
-r-xr-x--- 1 root psaadm 131952 Oct 16 14:09 skinmng
-r-xr-x--- 1 root psaadm 34104 Oct 16 14:08 spamd
-r-xr-x--- 1 root psaadm 10286 Oct 16 14:09 spammng
-r-x------ 1 root root 125192 Oct 16 14:08 statistics
-r-xr-x--- 1 root psaadm 302280 Oct 16 14:08 subdomainmng
-rwxr-xr-x 1 root root 200 Oct 16 14:24 supervisor
-r-xr-x--- 1 root psaadm 66712 Oct 16 14:06 sysinfo
-r-xr-x--- 1 root psaadm 24208 Oct 16 13:57 testlib
-r-xr-x--- 1 root psaadm 41864 Oct 16 14:08 timemng
-r-xr-x--- 1 root psaadm 80640 Oct 16 14:08 tomcatmng
-rwxr-xr-x 1 root root 1450 Oct 16 13:26 update_list.py
-r-xr-x--- 1 root psaadm 83848 Oct 16 14:06 usermng
-r-xr-x--- 1 root psaadm 83168 Oct 16 14:06 vhostmng
lrwxrwxrwx 1 root root 47 Nov 13 09:44 vzcp_auth -> /usr/local/psa/admin/plib/api-cli/vzcp_auth.php
-r-xr-x--- 1 root psaadm 72176 Oct 16 14:05 webmailmng
-r-xr-x--- 1 root psaadm 175624 Oct 16 14:05 websrvmng
-r-xr-x--- 1 root psaadm 79016 Oct 16 14:09 webstatmng
---s--x--- 1 root psaadm 19760 Oct 16 14:06 wrapper
[root@plesk2 ~]#
Code: Select all
#!/bin/sh
/usr/share/awstats/awstats_updateall.pl now -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/etc/awstats >/dev/null 2>&1
exit 0