This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 6 Problems / Re: Quotas..
« on: January 14, 2015, 10:16:08 AM »
Okay..
This line set
/dev/mapper/vg_ix2-lv_home /home ext4 defaults,usrjquota=quota.user,jqfmt=vfsv0 1 2
Not..
/dev/mapper/vg_ix2-lv_home /home ext4 defaults,usrjquota=quota.user,jqfmt=vfsv0 1 1
And
this only work add manual
setquota -u user1 -F vfsv0 0 1000000 0 0 /dev/mapper/vg_ix2-lv_home /home
CWP panel --> List Packages --> Edit Package --> Update Quota:
(Update quota for all users using this package, also disables inode limits !) <-- not work
This line set
/dev/mapper/vg_ix2-lv_home /home ext4 defaults,usrjquota=quota.user,jqfmt=vfsv0 1 2
Not..
/dev/mapper/vg_ix2-lv_home /home ext4 defaults,usrjquota=quota.user,jqfmt=vfsv0 1 1
And
this only work add manual
setquota -u user1 -F vfsv0 0 1000000 0 0 /dev/mapper/vg_ix2-lv_home /home
CWP panel --> List Packages --> Edit Package --> Update Quota:
(Update quota for all users using this package, also disables inode limits !) <-- not work
2
CentOS 6 Problems / Quotas..
« on: January 14, 2015, 09:10:02 AM »
Hey!
My CMP is running good but quotas not work and quatas conf is
#
# /etc/fstab
# Created by anaconda on Mon Jan 12 09:22:02 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(, mount( and/or blkid( for more info
#
/dev/mapper/vg_ix2-lv_root / ext4 defaults 1 1
UUID=4700ecbd-ceec-4653-adf9-42b154ce707f /boot ext4 defaults 1 1
/dev/mapper/vg_ix2-lv_home /home ext4 defaults,usrjquota=quota.user,jqfmt=vfsv0 1 1
/dev/mapper/vg_ix2-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
My VPS server Partition scheme, output of the command df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_ix2-lv_root
50G 2.9G 44G 7% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/vda1 477M 47M 405M 11% /boot
/dev/mapper/vg_ix2-lv_home
439G 241M 416G 1% /home
and when set Quatas CWP is error goming screen
etquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota.
and Quata is enable??
quotaon -p -a
group quota on /home (/dev/mapper/vg_ix2-lv_home) is off
user quota on /home (/dev/mapper/vg_ix2-lv_home) is on
My CentOS versio is CentOS release 6.6 (Final)
And /etc/mtab show this
/dev/mapper/vg_ix2-lv_root / ext4 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/vda1 /boot ext4 rw 0 0
/dev/mapper/vg_ix2-lv_home /home ext4 rw,usrjquota=quota.user,jqfmt=vfsv0 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
My CMP is running good but quotas not work and quatas conf is
#
# /etc/fstab
# Created by anaconda on Mon Jan 12 09:22:02 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(, mount( and/or blkid( for more info
#
/dev/mapper/vg_ix2-lv_root / ext4 defaults 1 1
UUID=4700ecbd-ceec-4653-adf9-42b154ce707f /boot ext4 defaults 1 1
/dev/mapper/vg_ix2-lv_home /home ext4 defaults,usrjquota=quota.user,jqfmt=vfsv0 1 1
/dev/mapper/vg_ix2-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
My VPS server Partition scheme, output of the command df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_ix2-lv_root
50G 2.9G 44G 7% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/vda1 477M 47M 405M 11% /boot
/dev/mapper/vg_ix2-lv_home
439G 241M 416G 1% /home
and when set Quatas CWP is error goming screen
etquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota.
and Quata is enable??
quotaon -p -a
group quota on /home (/dev/mapper/vg_ix2-lv_home) is off
user quota on /home (/dev/mapper/vg_ix2-lv_home) is on
My CentOS versio is CentOS release 6.6 (Final)
And /etc/mtab show this
/dev/mapper/vg_ix2-lv_root / ext4 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/vda1 /boot ext4 rw 0 0
/dev/mapper/vg_ix2-lv_home /home ext4 rw,usrjquota=quota.user,jqfmt=vfsv0 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
3
CSF Firewall / Re: error on firewall
« on: January 10, 2015, 06:27:53 PM »
This proplems is solvet only install next case
vzctl set 101 --iptables ipt_REJECT --iptables ipt_tos --iptables ipt_TOS --iptables ipt_LOG --iptables ip_conntrack --iptables ipt_limit --iptables ipt_multiport --iptables iptable_filter --iptables iptable_mangle --iptables ipt_TCPMSS --iptables ipt_tcpmss --iptables ipt_ttl --iptables ipt_length --iptables ipt_state --iptables iptable_nat --iptables ip_nat_ftp --save
and reboot openvz container
vzctl set 101 --iptables ipt_REJECT --iptables ipt_tos --iptables ipt_TOS --iptables ipt_LOG --iptables ip_conntrack --iptables ipt_limit --iptables ipt_multiport --iptables iptable_filter --iptables iptable_mangle --iptables ipt_TCPMSS --iptables ipt_tcpmss --iptables ipt_ttl --iptables ipt_length --iptables ipt_state --iptables iptable_nat --iptables ip_nat_ftp --save
and reboot openvz container
4
CSF Firewall / Re: error on firewall
« on: January 10, 2015, 02:04:39 PM »
Hey!
my CMP - CSF FIREWALL is not work good and send this error when a active then.
csf and lfd are not disabled!
and when a am restart that
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
csf: FASTSTART loading DROP no logging (IPv4)
LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* '
LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp flags:0x17/0x02 limit: avg 30/min burst 5 LOG flags 8 level 4 prefix `Firewall: *TCP_OUT Blocked* '
LOG udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *UDP_IN Blocked* '
LOG udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 8 level 4 prefix `Firewall: *UDP_OUT Blocked* '
LOG icmp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *ICMP_IN Blocked* '
LOG icmp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 8 level 4 prefix `Firewall: *ICMP_OUT Blocked* '
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0
DENYOUT all opt -- in * out !lo 0.0.0.0/0 -> 0.0.0.0/0
DENYIN all opt -- in !lo out * 0.0.0.0/0 -> 0.0.0.0/0
ALLOWOUT all opt -- in * out !lo 0.0.0.0/0 -> 0.0.0.0/0
ALLOWIN all opt -- in !lo out * 0.0.0.0/0 -> 0.0.0.0/0
csf: FASTSTART loading Packet Filter (IPv4)
Error: FASTTART: (Packet Filter IPv4) [] [iptables-restore: line 14 failed]. Try restarting csf with FASTSTART disabled, at line 4291
My CentOS versio is CentOS release 6.6 (Final) and kernel versio is 2.6.32-34-pve / i686 [openvz]
What is prolems this system?? How fix tha...
my CMP - CSF FIREWALL is not work good and send this error when a active then.
csf and lfd are not disabled!
and when a am restart that
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
csf: FASTSTART loading DROP no logging (IPv4)
LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* '
LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp flags:0x17/0x02 limit: avg 30/min burst 5 LOG flags 8 level 4 prefix `Firewall: *TCP_OUT Blocked* '
LOG udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *UDP_IN Blocked* '
LOG udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 8 level 4 prefix `Firewall: *UDP_OUT Blocked* '
LOG icmp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *ICMP_IN Blocked* '
LOG icmp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 8 level 4 prefix `Firewall: *ICMP_OUT Blocked* '
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0
DENYOUT all opt -- in * out !lo 0.0.0.0/0 -> 0.0.0.0/0
DENYIN all opt -- in !lo out * 0.0.0.0/0 -> 0.0.0.0/0
ALLOWOUT all opt -- in * out !lo 0.0.0.0/0 -> 0.0.0.0/0
ALLOWIN all opt -- in !lo out * 0.0.0.0/0 -> 0.0.0.0/0
csf: FASTSTART loading Packet Filter (IPv4)
Error: FASTTART: (Packet Filter IPv4) [] [iptables-restore: line 14 failed]. Try restarting csf with FASTSTART disabled, at line 4291
My CentOS versio is CentOS release 6.6 (Final) and kernel versio is 2.6.32-34-pve / i686 [openvz]
What is prolems this system?? How fix tha...
Pages: [1]