Current time: 11-23-2024, 04:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with Traffic and Quota Disk
Author Message
fechebsd Offline
Newbie
*

Posts: 6
Joined: Sep 2007
Reputation: 0
Post: #1
Problem with Traffic and Quota Disk
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]
09-19-2007 11:04 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: #2
RE: Problem with Traffic and Quota Disk
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
09-19-2007 11:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
platzwart Offline
Junior Member
*

Posts: 100
Joined: Mar 2007
Reputation: 1
Post: #3
RE: Problem with Traffic and Quota Disk
Quote:/var/www/vhcs2/engine/vhcs2-rqst-mngr

so first step to a better life: change to ispcp... Big Grin
09-19-2007 11:37 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: #4
RE: Problem with Traffic and Quota Disk
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
09-19-2007 11:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fechebsd Offline
Newbie
*

Posts: 6
Joined: Sep 2007
Reputation: 0
Post: #5
RE: Problem with Traffic and Quota Disk
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
09-19-2007 11:49 PM
Find all posts by this user Quote this message in a reply
fechebsd Offline
Newbie
*

Posts: 6
Joined: Sep 2007
Reputation: 0
Post: #6
RE: Problem with Traffic and Quota Disk
i`m sorry i copy "/var/www/vhcs2/engine/vhcs2-rqst-mngr" from tutorial, but i use ISPCP, jeje
09-19-2007 11:50 PM
Find all posts by this user Quote this message in a reply
fechebsd Offline
Newbie
*

Posts: 6
Joined: Sep 2007
Reputation: 0
Post: #7
RE: Problem with Traffic and Quota Disk
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
09-20-2007 12:32 AM
Find all posts by this user Quote this message in a reply
fechebsd Offline
Newbie
*

Posts: 6
Joined: Sep 2007
Reputation: 0
Post: #8
RE: Problem with Traffic and Quota Disk
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
09-20-2007 04:21 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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