Hi Guys I'm having problem with my web statistic. After see your previous solution in the thread i type : #grep -i cron /var/log/messages and the output as below : Feb 18 12:01:01 server crond(pam_unix)[5084]: session opened for user root by (uid=0) Feb 18 12:01:02 server crond(pam_unix)[5084]: session closed for user root [root@server log]# Any idea on how to solve this problem? Your help is very needed. Tq.
MZO : I already read the thread but after 24 hr still can't work. I can see some errors in /var/log/messages when I run grep -i cron /var/log/messages that is : Feb 21 00:01:01 server crond(pam_unix)[9837]: session opened for user root by (uid=0) Feb 21 00:01:01 server crond(pam_unix)[9837]: session closed for user root Feb 21 00:30:01 server crond(pam_unix)[10419]: session opened for user root by (uid=0) Feb 21 00:30:01 server crond(pam_unix)[10419]: session closed for user root Feb 21 00:40:01 server crond(pam_unix)[10629]: session opened for user root by (uid=0) Feb 21 00:40:01 server crond(pam_unix)[10629]: session closed for user root Feb 21 01:01:01 server crond(pam_unix)[11140]: session opened for user root by (uid=0) Feb 21 01:01:01 server crond(pam_unix)[11140]: session closed for user root Feb 21 02:01:01 server crond(pam_unix)[12343]: session opened for user root by (uid=0) Feb 21 02:01:01 server crond(pam_unix)[12343]: session closed for user root Feb 21 02:05:01 server crond(pam_unix)[12425]: session opened for user root by (uid=0) Feb 21 02:05:02 server crond(pam_unix)[12425]: session closed for user root Feb 21 03:01:01 server crond(pam_unix)[14439]: session opened for user root by (uid=0) Feb 21 03:01:01 server crond(pam_unix)[14439]: session closed for user root Feb 21 03:15:01 server crond(pam_unix)[15241]: session opened for user root by (uid=0) Feb 21 03:15:02 server crond(pam_unix)[15241]: session closed for user root Feb 21 04:00:01 server crond(pam_unix)[17829]: session opened for user root by (uid=0) Feb 21 04:00:01 server crond(pam_unix)[17829]: session closed for user root Feb 21 04:01:01 server crond(pam_unix)[17953]: session opened for user root by (uid=0) Feb 21 04:01:01 server crond(pam_unix)[17953]: session closed for user root Feb 21 04:02:01 server crond(pam_unix)[18011]: session opened for user root by (uid=0) Feb 21 04:02:18 server crond(pam_unix)[18011]: session closed for user root Feb 21 05:01:01 server crond(pam_unix)[19785]: session opened for user root by (uid=0) Feb 21 05:01:01 server crond(pam_unix)[19785]: session closed for user root Feb 21 06:01:01 server crond(pam_unix)[20985]: session opened for user root by (uid=0) Feb 21 06:01:01 server crond(pam_unix)[20985]: session closed for user root Feb 21 07:01:01 server crond(pam_unix)[22188]: session opened for user root by (uid=0) Feb 21 07:01:01 server crond(pam_unix)[22188]: session closed for user root Feb 21 08:01:01 server crond(pam_unix)[23389]: session opened for user root by (uid=0) Feb 21 08:01:01 server crond(pam_unix)[23389]: session closed for user root Feb 21 09:01:01 server crond(pam_unix)[24592]: session opened for user root by (uid=0) Feb 21 09:01:01 server crond(pam_unix)[24592]: session closed for user root Feb 21 10:01:01 server crond(pam_unix)[25794]: session opened for user root by (uid=0) Feb 21 10:01:01 server crond(pam_unix)[25794]: session closed for user root Feb 21 11:01:01 server crond(pam_unix)[26998]: session opened for user root by (uid=0) Feb 21 11:01:01 server crond(pam_unix)[26998]: session closed for user root Feb 21 12:01:01 server crond(pam_unix)[28201]: session opened for user root by (uid=0) Feb 21 12:01:01 server crond(pam_unix)[28201]: session closed for user root Feb 21 13:01:01 server crond(pam_unix)[29403]: session opened for user root by (uid=0) Feb 21 13:01:01 server crond(pam_unix)[29403]: session closed for user root Feb 21 14:01:01 server crond(pam_unix)[30606]: session opened for user root by (uid=0) Feb 21 14:01:01 server crond(pam_unix)[30606]: session closed for user root Feb 21 15:01:01 server crond(pam_unix)[31829]: session opened for user root by (uid=0) Feb 21 15:01:01 server crond(pam_unix)[31829]: session closed for user root Feb 21 15:15:01 server crond(pam_unix)[32111]: session opened for user root by (uid=0) Feb 21 15:15:01 server crond(pam_unix)[32111]: session closed for user root Feb 21 16:01:01 server crond(pam_unix)[573]: session opened for user root by (uid=0) Feb 21 16:01:01 server crond(pam_unix)[573]: session closed for user root Feb 21 17:01:01 server crond(pam_unix)[1790]: session opened for user root by (uid=0) Feb 21 17:01:01 server crond(pam_unix)[1790]: session closed for user root Feb 21 18:01:01 server crond(pam_unix)[3063]: session opened for user root by (uid=0) Feb 21 18:01:01 server crond(pam_unix)[3063]: session closed for user root Feb 21 19:01:01 server crond(pam_unix)[4354]: session opened for user root by (uid=0) Feb 21 19:01:01 server crond(pam_unix)[4354]: session closed for user root Feb 21 20:01:01 server crond(pam_unix)[5803]: session opened for user root by (uid=0) Feb 21 20:01:01 server crond(pam_unix)[5803]: session closed for user root I can't find any syslog files in /var/log. I'm using Fedora Core 4. Please advise.Tq.
These messages are unrelated to the statistics. Please run Code: /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php on the shell. Do you get errors?
[root@server ~]# /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125 [root@server ~]# /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php 113 records (113 ignored) in 0.00 seconds
MZO : Nope. That why I still wonder what has been wrong. FYI, first I'm using domain a.a.a and it works but later I need to change it to b.b.b and then only it start fail to work. Is there any setting I need to change?tq. -mzo-
MZO : Hi Falko. Below is the output. [root@server ~]# ls -la /home/www total 36 drwxr-xr-x 8 root root 4096 Feb 9 18:55 . drwxr-xr-x 6 root root 4096 Feb 9 21:56 .. drwxr-xr-x 3 root root 4096 Jan 18 00:30 localhost drwxr-xr-x 3 root root 4096 Jan 18 00:30 server.puspakom.com drwxr-xr-x 3 root root 4096 Feb 9 00:30 server.puspakom.net.ms drwxr-xr-x 10 apache web1 4096 Feb 9 19:12 web1 drwxr-xr-x 11 apache web1 4096 Feb 6 21:55 web2 drwxr-xr-x 12 mz_o web3 4096 Feb 23 11:43 web3 lrwxrwxrwx 1 root root 14 Jan 17 14:41 www.puspakom.it.tt -> /home/www/web1 lrwxrwxrwx 1 root root 14 Feb 3 10:44 www.puspakom.net.ms -> /home/www/web2 lrwxrwxrwx 1 root root 14 Feb 9 18:55 www.puspakom.strangled.net -> /home/www/web3 [root@server ~]# MZO : I only using www.puspakom.strangled.net. Is there a way on how to remove domain other than www.puspakom.strangled.net ?
I think your readlink() errors come from the directories localhost, server.puspakom.com and server.puspakom.com.ms because they weren't created by ISPConfig. How do you mean that?
MZO : My really domain is www.puspakom.strangled.net not www.puspakom.net.ms and www.puspakom.it.tt. So how I want to remove www.puspakom.net.ms and www.puspakom.it.tt ? Tq.
Is www.puspakom.strangled.net a Co-Domain of www.puspakom.net.ms or www.puspakom.it.tt? In that case you won't find it as a symlink in /home/www.
I have the same issue. Various websites don't generate statistics from many days ago. Any idea or solution? Thanks