Current time: 12-25-2024, 02:58 AM Hello There, Guest! (LoginRegister)


Post Reply 
Server Statistics
Author Message
ilan Offline


Posts: 3
Joined: Feb 2008
Reputation: 0
Post: #1
Server Statistics
Hi ispCP users,

Just wondering, when i enter the stats overview as admin, is it supposed to show total server stats or just stats that are not related to any of the hosted sites ?

I am getting zeros in the last few days for traffic in the overview ... seems weird.

Ilan

קידום קוד פתוח, לינוקס בישראל
הפצות לינוקס
(This post was last modified: 02-20-2008 07:49 AM by ilan.)
02-20-2008 07:48 AM
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: #2
RE: Server Statistics
iptables -L

is ipcp_network starting on bootup?


and: yes it should be the total...
(This post was last modified: 02-20-2008 08:03 AM by joximu.)
02-20-2008 08:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ilan Offline


Posts: 3
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Server Statistics
joximu Wrote:iptables -L

is ipcp_network starting on bootup?


and: yes it should be the total...

My bad, i have firehol installed as well and probably reset the firewall ...

ilan
02-20-2008 09:04 AM
Find all posts by this user Quote this message in a reply
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #4
RE: Server Statistics
Getting the same problem after update to RC3, which was done manually. All stats are equal to 0 upon the date of the update.

Output of iptables -L
Quote:Chain INPUT (policy ACCEPT)
target prot opt source destination
ISPCP_INPUT 0 -- anywhere anywhere
fail2ban-ssh tcp -- anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ISPCP_OUTPUT 0 -- anywhere anywhere

Chain ISPCP_INPUT (1 references)
target prot opt source destination
tcp -- anywhere anywhere tcp dpt:smtp
tcp -- anywhere anywhere tcp dpt:imap2
tcp -- anywhere anywhere tcp dpt:pop3
tcp -- anywhere anywhere tcp dpt:www
RETURN 0 -- anywhere anywhere

Chain ISPCP_OUTPUT (1 references)
target prot opt source destination
tcp -- anywhere anywhere tcp spt:smtp
tcp -- anywhere anywhere tcp spt:imap2
tcp -- anywhere anywhere tcp spt:pop3
tcp -- anywhere anywhere tcp spt:www
RETURN 0 -- anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN 0 -- anywhere anywhere

Logfile /var/log/ispcp/ispcp_network.log :
Quote:iptables: Chain already exists
iptables: Chain already exists

Logfile /var/log/ispcp/ispcp_network.err.log :
Quote:iptables v1.3.6: Couldn't load target `ISPCP_INPUT':/lib/iptables/libipt_ISPCP_INPUT.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Chain already exists
iptables: Too many links

I'm not the iptables expert, so I need your help Smile
(This post was last modified: 02-24-2008 07:16 PM by T0mcat.)
02-24-2008 07:15 PM
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: #5
RE: Server Statistics
what do you get with "/etc/init.d/ispcp_network restart"?

and then maybe a look in the /var/log/ispcp/ispcp_network* again
02-24-2008 07:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #6
RE: Server Statistics
Hi,

Quote:box79218:~# /etc/init.d/ispcp_network restart
Stopping ispCP Network Traffic Logger: ispcp_network.
Starting ispCP Network Traffic Logger: ispcp_network.
box79218:~#

Still the same error :
Quote:box79218:~# tail -10 /var/log/ispcp/ispcp_network.err.log
iptables v1.3.6: Couldn't load target `ISPCP_INPUT':/lib/iptables/libipt_ISPCP_INPUT.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Chain already exists
iptables: Too many links
box79218:~# tail -10 /var/log/ispcp/ispcp_network.log
iptables: Chain already exists
iptables: Chain already exists
box79218:~#
(This post was last modified: 02-24-2008 08:23 PM by T0mcat.)
02-24-2008 08:23 PM
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: #7
RE: Server Statistics
Do you have a new init-script ispcp_network?

or ist is a virtual environment?
(This post was last modified: 02-24-2008 08:37 PM by joximu.)
02-24-2008 08:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #8
RE: Server Statistics
joximu Wrote:Do you have a new init-script ispcp_network?
What do you mean ?

joximu Wrote:or ist is a virtual environment?
No, it's a real rootserver.
02-24-2008 09:05 PM
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: Server Statistics
T0mcat Wrote:
joximu Wrote:Do you have a new init-script ispcp_network?
What do you mean ?

Is it a new installation (then the script is new) or an update and you did forget to update also the init scripts...

Something seems to be wrong - but only on your installation...

Maybe you have to go through the init script to find the point where the error is thrown (I didn't see it in the messages above)..

/J
02-24-2008 09:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #10
RE: Server Statistics
joximu Wrote:Is it a new installation (then the script is new) or an update and you did forget to update also the init scripts...

Something seems to be wrong - but only on your installation...

Maybe you have to go through the init script to find the point where the error is thrown (I didn't see it in the messages above)..

/J

Yes, I updated manually from a nightly build to RC3 as the update script didn't work. How do I update the init scripts now ?
02-24-2008 09:43 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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