HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Statistic not working (http://www.howtoforge.com/forums/showthread.php?t=2594)

mzo 18th February 2006 05:50

Statistic not working
 
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.

falko 18th February 2006 11:39

Maybe this thread helpy you: http://www.howtoforge.com/forums/showthread.php?t=562

mzo 21st February 2006 13:54

Quote:

Originally Posted by falko

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.

falko 21st February 2006 17:48

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?

mzo 22nd February 2006 02:25

Quote:

Originally Posted by falko
These messages are unrelated to the statistics.

Please run
Code:

/root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php

MZO : I get error, that is :

[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/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

till 22nd February 2006 08:41

Quote:

Originally Posted by mzo
[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

This looks fine so far. Have the statistics been generated now?

mzo 22nd February 2006 09:21

Quote:

Originally Posted by till
This looks fine so far. Have the statistics been generated now?

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-

falko 22nd February 2006 10:07

What's your ISPConfig web root? /home/www or /var/www or something else?

mzo 23rd February 2006 04:39

Quote:

Originally Posted by falko
What's your ISPConfig web root? /home/www or /var/www or something else?

MZO : It in /home/www/web3

falko 23rd February 2006 07:25

Please post the output of
Code:

ls -la /home/www


All times are GMT +2. The time now is 09:48.

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