ispCP - Board - Support
[ERLEDIGT]Traffic Problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+---- Forum: Archiv (/forum-54.html)
+---- Thread: [ERLEDIGT]Traffic Problem (/thread-2056.html)



[ERLEDIGT]Traffic Problem - edisch - 12-30-2007 03:29 AM

Hallo

ich hab ein Problem mit meiner Traffic Statistik. die zeigt nämlich nichts an. wenn ich ispcp-srv-traffic aufrufe kommt folgendes:
Quote:# /var/www/ispcp/engine/traffic/ispcp-srv-traff
DEBUG: push_el() sub_name: srv_traff_start_up(), msg: Starting...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: srv_traff_start_up(), msg: Ending...
DEBUG: push_el() sub_name: srv_traff_engine(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
iptables: No chain/target/match by that name
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command 'export COLUMNS=120;/sbin/iptables -nvxL ISPCP_INPUT 1>/var/log/ispcp/ispcp-iptables-input.log' returned '1' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command 'export COLUMNS=120;/sbin/iptables -nvxL ISPCP_INPUT 1>/var/log/ispcp/ispcp-iptables-input.log' returned '1' status !
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: srv_traff_engine(), msg: Starting...
DEBUG: pop_el() sub_name: srv_traff_start_up(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() sub_name: srv_traff_start_up(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() Empty 'EL' Stack !
DEBUG: push_el() sub_name: srv_traff_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: srv_traff_shut_down(), msg: Ending...

die ispcp-iptables-input ist leer die output nicht

Zum System:

Debian etch
ISPCP RC3 NB 20071209

Nachtrag:

Reseller und User Traffic wird angezeigt nur der Gesammt Traffic nicht. Der Speicherplatz verbrauch ist auch bei nur bei Reseller und User allerdings der Gesammt speicherplatz wird schon angezeigt.


RE: Traffic Problem - mr.x - 08-31-2009 05:37 AM

(12-30-2007 03:29 AM)edisch Wrote:  Hallo

ich hab ein Problem mit meiner Traffic Statistik. die zeigt nämlich nichts an. wenn ich ispcp-srv-traffic aufrufe kommt folgendes:
Quote:# /var/www/ispcp/engine/traffic/ispcp-srv-traff
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command 'export COLUMNS=120;/sbin/iptables -nvxL ISPCP_INPUT 1>/var/log/ispcp/ispcp-iptables-input.log' returned '1' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command 'export COLUMNS=120;/sbin/iptables -nvxL ISPCP_INPUT 1>/var/log/ispcp/ispcp-iptables-input.log' returned '1' status !

Gab es eine Lösung dafür?
Habe mein System von VHCS 2.7.x auf 1.0.2 geupdated und bekomme die selber Fehlermeldung jetzt.

Jan
Hallo,

mit etwas "hinsehen" habe ich es gefunden .-)

Code:
root@server:# iptables -nvL
Chain INPUT (policy ACCEPT 40M packets, 7829M bytes)
pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 42M packets, 12G bytes)
pkts bytes target     prot opt in     out     source               destination

root@server:# /etc/init.d/ispcp_network restart
* Stopping ispCP Network Traffic Logger ispcp_network
* ispcp_network is already stopped
* Starting ispCP Network Traffic Logger ispcp_network                                                                            [ OK ]

root@server:# update-rc.d ispcp_network defaults
Adding system startup for /etc/init.d/ispcp_network ...
   /etc/rc0.d/K20ispcp_network -> ../init.d/ispcp_network
   /etc/rc1.d/K20ispcp_network -> ../init.d/ispcp_network
   /etc/rc6.d/K20ispcp_network -> ../init.d/ispcp_network
   /etc/rc2.d/S20ispcp_network -> ../init.d/ispcp_network
   /etc/rc3.d/S20ispcp_network -> ../init.d/ispcp_network
   /etc/rc4.d/S20ispcp_network -> ../init.d/ispcp_network
   /etc/rc5.d/S20ispcp_network -> ../init.d/ispcp_network

So einfach kann es sein. Der Daemon war nicht bootfest .-/

Jan