ispCP - Board - Support
Problem with Traffic and Quota Disk - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Problem with Traffic and Quota Disk (/thread-1365.html)



Problem with Traffic and Quota Disk - fechebsd - 09-19-2007 11:04 PM

Hi, my name is Fede, sorry for my bad english.
I have a problem with ftp traffic and disk Quota.
The last week, i change my server from datacanter to other. So, i change the IP from DB, and all domains ID IP, and later regenerate all config files with /var/www/vhcs2/engine/vhcs2-rqst-mngr.

I see the crontab file, and execute manual all files, and all logs files is empty.

My ftp files have all registries from traffic, but my logs of Apache have 0, 0, 0 for each domain

It`s some logs files:

/var/log/proftpd/ftp_traff.log
- pepe@rgtextil.com.ar
6426249 pepe@rgtextil.com.ar
5444463 pepe@rgtextil.com.ar
8060469 pepe@rgtextil.com.ar
6346837 pepe@rgtextil.com.ar
7748672 pepe@rgtextil.com.ar
5955209 pepe@rgtextil.com.ar
4846363 pepe@rgtextil.com.ar
7108358 pepe@rgtextil.com.ar
6792799 pepe@rgtextil.com.ar
6203059 pepe@rgtextil.com.ar
9312768 pepe@rgtextil.com.ar


And, i have problem with Disk Quota, it`s 0 in new domains, and static en old domain.

can anybody help me?? Thenks Big Grin[/code][/quote]


RE: Problem with Traffic and Quota Disk - joximu - 09-19-2007 11:25 PM

Hi Fede

Which Operating System, which ispcp-version?

If the apache-traffic-log files are empty, then apache is not configured correctly.
Can you check the configuration in /etc/apache2/sites-enabled/*.conf

I think we have to check from zero:
1) logfile must contain the traffic
2) traffic cron job has to run without error
3) output of traffic in ispcp


Quota - since there are no log files fro quota the mail thing is the quota cron job. and the output...

/Joximu


RE: Problem with Traffic and Quota Disk - platzwart - 09-19-2007 11:37 PM

Quote:/var/www/vhcs2/engine/vhcs2-rqst-mngr

so first step to a better life: change to ispcp... Big Grin


RE: Problem with Traffic and Quota Disk - joximu - 09-19-2007 11:40 PM

platzwart Wrote:
Quote:/var/www/vhcs2/engine/vhcs2-rqst-mngr

so first step to a better life: change to ispcp... Big Grin

You're right - I didn't note that!

/J


RE: Problem with Traffic and Quota Disk - fechebsd - 09-19-2007 11:49 PM

Hi Joximu, I use Debian Ethc and ISCP 1.00 RC2

I see the log and see that files differs:
Files /var/log/apache2/backup/livehosting.com.ar-traf.log and /var/log/apache2/backup/livehosting.com.ar-traf.log.perv differ
Files /var/log/apache2/backup/rpcsistemas.com-traf.log and /var/log/apache2/backup/rpcsistemas.com-traf.log.perv differ
Files /var/log/apache2/backup/mail.log and /var/log/apache2/backup/mail.log.perv differ

I execute /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction and correct these, so, i execute all files crontab and the traffic is 0.

3) Output Traffic in ispcp
antonia:~# cat /var/log/ispcp/ispcp-iptables-output.log
Chain OUTPUT (policy ACCEPT 316 packets, 29672 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT 0 -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
antonia:~#
antonia:~# cat /var/log/ispcp/ispcp-iptables-input.log
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 18
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 17
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 10
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 9
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 5
0 0 ACCEPT 0 -- lo * 0.0.0.0/0 0.0.0.0/0
284 24660 ACCEPT 0 -- eth1 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 DROP icmp -- eth1 * 0.0.0.0/0 0.0.0.0/0 icmp type 8
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6922
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
0 0 DROP tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp
1 84 DROP udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp
antonia:~#



I dont understand Disk this "Quota - since there are no log files fro quota the mail thing is the quota cron job. and the output..."

Thenks a lot ofBig Grin


RE: Problem with Traffic and Quota Disk - fechebsd - 09-19-2007 11:50 PM

i`m sorry i copy "/var/www/vhcs2/engine/vhcs2-rqst-mngr" from tutorial, but i use ISPCP, jeje


RE: Problem with Traffic and Quota Disk - fechebsd - 09-20-2007 12:32 AM

People, i see, that all time my log ispcp-vrl-traff.log show this:
antonia:~# cat /var/log/ispcp/ispcp-vrl-traff.log
Files /var/log/apache2/backup/rgtextil.com.ar-traf.log and /var/log/apache2/backup/rgtextil.com.ar-traf.log.perv differ
Files /var/log/apache2/backup/librerialasnieves.com.ar-traf.log and /var/log/apache2/backup/librerialasnieves.com.ar-traf.log.perv differ
Files /var/log/apache2/backup/rpcsistemas.com-traf.log and /var/log/apache2/backup/rpcsistemas.com-traf.log.perv differ
Files /var/log/apache2/backup/mail.log and /var/log/apache2/backup/mail.log.perv differ


RE: Problem with Traffic and Quota Disk - fechebsd - 09-20-2007 04:21 AM

I add new data from Contrab -e Error

antonia:/var/log/ispcp# /var/www/ispcp/engine/backup/ispcp-backup-all yes
-bash: /var/www/ispcp/engine/backup/ispcp-backup-all: cannot execute binary file
antonia:/var/log/ispcp#

What happend? Thenks