Current time: 04-20-2024, 04:59 AM Hello There, Guest! (LoginRegister)


Post Reply 
Statistic only till October 10th
Author Message
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #1
Statistic only till October 10th
I did some resetting last few days to solve the SMTP problem. Now i realize that the statistic is not captured. Can anybody point me where the problem is?

Is it the cron not functioning? If so, how do i set the cron job?
10-23-2007 11:06 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Statistic only till October 10th
Quote:I did some resetting last few days
How you do that ??
Was this a VM-Box ?

Maybe the wrong date on the Machine ?

Here the Cron entry´s. Try to start them manually..
Code:
# Traffic
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45   *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log

Greez BeNe
(This post was last modified: 10-23-2007 11:17 PM by BeNe.)
10-23-2007 11:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #3
RE: Statistic only till October 10th
you can check the detailed activity on this thread
http://www.isp-control.net/forum/solved-...-1544.html

Quote:Here the Cron entry´s. Try to start them manually..

how to start manually Big Grin
10-23-2007 11:24 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Statistic only till October 10th
You start it like this:
Code:
/var/www/ispcp/engine/traffic/ispcp-srv-traff
Code:
/var/www/ispcp/engine/traffic/ispcp-vrl-traff
Code:
/var/www/ispcp/engine/traffic/ispcp-vrl-traff

Greez BeNe
10-23-2007 11:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #5
RE: Statistic only till October 10th
this is what i get when i run it:

Code:
[root@enum ~]# /var/www/ispcp/engine/traffic/ispcp-srv-traff
iptables: No chain/target/match by that name
[root@enum ~]#
[root@enum ~]# /var/www/ispcp/engine/traffic/ispcp-vrl-traff
/bin/cp: cannot stat `/var/log/mail.log': No such file or directory
10-23-2007 11:33 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Statistic only till October 10th
can you execute the ispcp_network init skript?
10-23-2007 11:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #7
RE: Statistic only till October 10th
i can't find that script. where is it?

and why is my cron.d/ispcp like this?
Code:
# delayed tasks START.

# Quota
0    23    *    *    *  root {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-qsk-quota.log

# Traffic
0,30    *    *    *    *  root {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log
0,30    *    *    *    *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log
15,45    *    *     *    *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log
30       23    *     *     *  root {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log
(This post was last modified: 10-23-2007 11:43 PM by measaura.)
10-23-2007 11:40 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: Statistic only till October 10th
This looks like a template and not your really cron entrys.
Are your sure that you open this file ?
Code:
/etc/cron.d/ispcp

Code:
iptables: No chain/target/match by that name
Code:
/bin/cp: cannot stat `/var/log/mail.log': No such file or directory
Looks like that here are some more Errors.

Greez BeNe
10-24-2007 12:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Statistic only till October 10th
rbtux Wrote:can you execute the ispcp_network init skript?

->
/etc/init.d/ispcp_network restart
10-24-2007 06:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esni Offline
Junior Member
*

Posts: 45
Joined: Mar 2007
Reputation: 0
Post: #10
RE: Statistic only till October 10th
Have you deleted /var/log folder?
10-25-2007 12:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)