ispCP - Board - Support
Server Statistics - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Server Statistics (/thread-2503.html)

Pages: 1 2 3


Server Statistics - ilan - 02-20-2008 07:48 AM

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

קידום קוד פתוח, לינוקס בישראל
הפצות לינוקס


RE: Server Statistics - joximu - 02-20-2008 08:03 AM

iptables -L

is ipcp_network starting on bootup?


and: yes it should be the total...


RE: Server Statistics - ilan - 02-20-2008 09:04 AM

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


RE: Server Statistics - T0mcat - 02-24-2008 07:15 PM

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


RE: Server Statistics - joximu - 02-24-2008 07:57 PM

what do you get with "/etc/init.d/ispcp_network restart"?

and then maybe a look in the /var/log/ispcp/ispcp_network* again


RE: Server Statistics - T0mcat - 02-24-2008 08:23 PM

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:~#



RE: Server Statistics - joximu - 02-24-2008 08:36 PM

Do you have a new init-script ispcp_network?

or ist is a virtual environment?


RE: Server Statistics - T0mcat - 02-24-2008 09:05 PM

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.


RE: Server Statistics - joximu - 02-24-2008 09:26 PM

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


RE: Server Statistics - T0mcat - 02-24-2008 09:43 PM

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 ?