Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th February 2006, 05:50
mzo mzo is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Question 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.
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2006, 11:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Maybe this thread helpy you: http://www.howtoforge.com/forums/showthread.php?t=562
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
AbannyvabVask (9th December 2013)
  #3  
Old 21st February 2006, 13:54
mzo mzo is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #4  
Old 21st February 2006, 17:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 22nd February 2006, 02:25
mzo mzo is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
The Following User Says Thank You to mzo For This Useful Post:
AbannyvabVask (9th December 2013)
  #6  
Old 22nd February 2006, 08:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 22nd February 2006, 09:21
mzo mzo is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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-
Reply With Quote
  #8  
Old 22nd February 2006, 10:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's your ISPConfig web root? /home/www or /var/www or something else?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 23rd February 2006, 04:39
mzo mzo is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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

Last edited by mzo; 23rd February 2006 at 04:41.
Reply With Quote
  #10  
Old 23rd February 2006, 07:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Please post the output of
Code:
ls -la /home/www
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
HTTPS not working palkat Installation/Configuration 13 14th May 2007 17:19
Webconfig at port 81 not working anymore maxx Installation/Configuration 6 23rd October 2006 10:23
Sending mails to remote domains is not working. nandhu HOWTO-Related Questions 17 20th February 2006 20:27
UebiMiau stopped working after Apache reinstall shajazzi Installation/Configuration 6 18th February 2006 19:42
Internet/lan-only lan working Nejko Installation/Configuration 39 19th January 2006 15:32


All times are GMT +2. The time now is 22:03.


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