ispCP - Board - Support
Traffic count with RC3 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Traffic count with RC3 (/thread-2619.html)



Traffic count with RC3 - DocSnyd3r - 03-02-2008 11:06 PM

Hi,
have a new Debain Etch running for a couple of days and the Traffic was only counted for one day. All other Days have a traffic of 0B this is not only web traffic but also ftp and so on. With awstats the traffic is shown, also on an older build close after RC2 on my other system this works fine. What I changed is disable FTP access without ssl (chose dir does not like this and don't works anymore) and force https on user interface with rewrite rule and instructions to enable https in the howto section here.


RE: Traffic count with RC3 - BeNe - 03-02-2008 11:19 PM

Does the network_ispcp daemon run ?
Start the Cronjobs manuell and check the output.

Greez BeNe


RE: Traffic count with RC3 - DocSnyd3r - 03-03-2008 01:26 AM

He thinks he is started, but I don't see him.

Code:
./ispcp_network start
Starting ispCP Network Traffic Logger: ispcp_network
* ispcp_network is already started
.
lvps:/etc/init.d# ps -A
  PID TTY          TIME CMD
    1 ?        00:00:00 init
23701 ?        00:00:03 syslogd
23753 ?        00:00:00 mysqld_safe
23791 ?        00:03:31 mysqld
23792 ?        00:00:00 logger
23849 ?        00:00:01 policyd-weight
23850 ?        00:00:00 policyd-weight
23858 ?        00:00:00 postgrey
23898 ?        00:00:00 courierlogger
23899 ?        00:00:00 couriertcpd
23916 ?        00:00:00 courierlogger
23917 ?        00:00:00 couriertcpd
24008 ?        00:00:00 sshd
24062 ?        00:00:00 cron
24074 ?        00:00:00 ispcp_daemon
25964 ?        00:00:04 policyd-weight
7328 ?        00:00:09 server_linux
15885 ?        00:00:00 proftpd
31989 ?        00:00:00 apache2
9583 ?        00:00:00 named
9653 ?        00:00:00 master
9654 ?        00:00:00 pickup
9657 ?        00:00:00 qmgr
9663 ?        00:00:00 courierlogger
9664 ?        00:00:00 authdaemond
9665 ?        00:00:00 authdaemond
9666 ?        00:00:00 authdaemond
9667 ?        00:00:00 authdaemond
9670 ?        00:00:00 authdaemond
9671 ?        00:00:00 authdaemond
9679 ?        00:00:00 courierlogger
9680 ?        00:00:00 couriertcpd
9690 ?        00:00:00 couriertcpd
9693 ?        00:00:00 courierlogger
9697 ?        00:00:00 apache2
9698 ?        00:00:00 apache2
9699 ?        00:00:00 php5-cgi
9700 ?        00:00:01 apache2
9702 ?        00:00:01 apache2
9709 ?        00:00:03 php5-cgi
9710 ?        00:00:03 php5-cgi
9759 ?        00:00:00 php5-cgi
9760 ?        00:00:25 php5-cgi
9762 ?        00:00:24 php5-cgi
10016 ?        00:00:00 php5-cgi
10017 ?        00:00:05 php5-cgi
10019 ?        00:00:07 php5-cgi
13798 ?        00:00:00 sshd
13801 ?        00:00:00 sshd
13802 pts/1    00:00:00 bash
13821 pts/1    00:00:00 su
13822 pts/1    00:00:00 bash
13835 ?        00:00:00 smtpd
13836 ?        00:00:00 anvil
13837 ?        00:00:00 trivial-rewrite
13899 pts/1    00:00:00 ps

PS crontab -u vu2000 -l list no cronjobs user root has also none.

PPS /etc/init.d/apach2e start works after a reboot without an error, but is not up by himself after reboot. Have this on 2 independent machines with fresh etch image.


RE: Traffic count with RC3 - T0mcat - 03-03-2008 01:44 AM

What do these logs tell you ?
Quote:/var/log/ispcp/ispcp_network.err.log
/var/log/ispcp/ispcp_network.log

I'm having the same problem since update to RC3, but as I'm moving to a new server in the next days, I didn't care anymore about this problem.


RE: Traffic count with RC3 - DocSnyd3r - 03-03-2008 03:20 AM

/var/log/ispcp/ispcp_network.log

iptables: Chain already exists
iptables: Chain already exists
iptables: Chain already exists
iptables: Chain already exists


ispcp_network.err.log is not present


RE: Traffic count with RC3 - joximu - 03-03-2008 05:00 AM

why do we have several threads abou the same thing?


RE: Traffic count with RC3 - DocSnyd3r - 03-03-2008 08:33 PM

Sorry I did not see the other thread since the topic is somewhat confusing.


RE: Traffic count with RC3 - DocSnyd3r - 03-04-2008 07:26 PM

After a reboot the traffic is counting again, I will do no further testing since RC4 is already knocking on my door.


RE: Traffic count with RC3 - joximu - 03-04-2008 08:00 PM

I think it's a iptables problem (server traffic)


btw: where is your door???? Smile

/J