Results 26 to 48 of 48
-
10-07-2009, 01:22 PM #26Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
Thanks Vcpanel, the resault
Code:root@server [/vz/template/cache]# /sbin/sysctl -p net.ipv4.ip_forward = 1 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.default.accept_source_route = 0 kernel.sysrq = 1 kernel.core_uses_pid = 1 net.ipv4.tcp_syncookies = 1 kernel.msgmnb = 65536 kernel.msgmax = 65536 kernel.shmmax = 4294967295 kernel.shmall = 268435456 fs.suid_dumpable = 0 fs.suid_dumpable = 0 net.ipv4.ip_forward = 1 net.ipv6.conf.default.forwarding = 1 net.ipv6.conf.all.forwarding = 1 net.ipv4.conf.default.proxy_arp = 0 net.ipv4.conf.all.rp_filter = 1 kernel.sysrq = 1 net.ipv4.conf.default.send_redirects = 1 net.ipv4.conf.all.send_redirects = 0 root@server [/vz/template/cache]#
Code:root@server [/vz/template/cache]# /sbin/lsmod | grep -i quota vzdquota 43672 0 [permanent] vzdev 7556 4 vzethdev,vznetdev,vzmon,vzdquota root@server [/vz/template/cache]#
It's won't giveing me erro, please have a look how i setup it this VPS and let me know what's the problem is...
Now i added the VPS 111
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl create 111 --ostemplate centos-5-i386-hostinabox576 --config vps.basic Creating container private area (centos-5-i386-hostinabox576) vzquota : (error) Quota on syscall for id 111: File exists vzquota on failed [3] vzquota : (error) Quota is not running for id 111 Performing postcreate actions Container private area was created root@server [/vz/template/cache]#
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl set 111 --onboot yes --save Saved parameters for CT 111 root@server [/vz/template/cache]#
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl set 111 --hostname lab.vps.com --save Saved parameters for CT 111 root@server [/vz/template/cache]# /usr/sbin/vzctl set 111 --ipadd 192.168.85.84 --save Saved parameters for CT 111 root@server [/vz/template/cache]#
after that i set the hostname for the VPS and make sure it's start in the boot, we set the sockets to 120 and assign them to the vm
Code:/usr/sbin/vzctl set 111 --numothersock 120 --save /usr/sbin/vzctl set 111 --nameserver 192.168.85.85 --nameserver 192.168.85.83 --save
Code:/usr/sbin/vzctl start 111
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl start 111 Starting container ... vzquota : (error) Quota on syscall for id 111: File exists vzquota on failed [3] root@server [/vz/template/cache]#
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl exec 111 passwd Container is not running root@server [/vz/template/cache]#
-
10-07-2009, 01:34 PM #27Web Hosting Master
- Join Date
- Apr 2009
- Location
- inside wht
- Posts
- 746
Do the following
vzctl set 111 41943040:41943040 --save
rm -f /var/vzquota/quota.111
vzctl start 11124x7 PROACTIVE SERVER MANAGEMENT | OUTSOURCED WEB HOSTING SUPPORT
Sales : sales @ syslint.com | Call us : (+91)9447607799 | Are you looking for DevOps Admins ?
-
10-07-2009, 01:43 PM #28Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
is this ok ?
Code:oot@server [/vz/template/cache]# /usr/sbin/vzctl set 111 41943040:41943040 --save non-option ARGV-elements: 41943040:41943040 root@server [/vz/template/cache]#
-
10-07-2009, 01:47 PM #29Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
-
10-07-2009, 01:48 PM #30Web Hosting Master
- Join Date
- Apr 2009
- Location
- inside wht
- Posts
- 746
24x7 PROACTIVE SERVER MANAGEMENT | OUTSOURCED WEB HOSTING SUPPORT
Sales : sales @ syslint.com | Call us : (+91)9447607799 | Are you looking for DevOps Admins ?
-
10-07-2009, 01:50 PM #31Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl set 101 --diskspace 41943040:41943040 --save Saved parameters for CT 101 root@server [/vz/template/cache]# rm -f /var/vzquota/quota.111 root@server [/vz/template/cache]# /usr/sbin/vzctl start 111 Starting container ... Initializing quota ... vzquota : (warning) block_soft_limit [1048676] < block_current_usage [1067048] vzquota : (warning) block_soft_limit [1048676] < block_current_usage [1067048] vzquota : (error) Quota on syscall for id 111: File exists vzquota on failed [3] root@server [/vz/template/cache]#
-
10-07-2009, 01:52 PM #32Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
try reinstalling the quota portion of vz.
yum remove vzquota
yum install vzquota
-
10-07-2009, 01:53 PM #33Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
Code:root@server [/vz/template/cache]# yum remove vzquota Loaded plugins: fastestmirror Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package vzquota.i386 0:3.0.12-1 set to be erased --> Processing Dependency: vzquota >= 2.7.0-4 for package: vzctl --> Running transaction check ---> Package vzctl.i386 0:3.0.23-1 set to be erased --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================== Removing: vzquota i386 3.0.12-1 installed 158 k Removing for dependencies: vzctl i386 3.0.23-1 installed 404 k Transaction Summary =============================================================================================================================================== Install 0 Package(s) Update 0 Package(s) Remove 2 Package(s) Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Erasing : vzctl [1/2] warning: /etc/vz/vz.conf saved as /etc/vz/vz.conf.rpmsave Erasing : vzquota [2/2] Removed: vzquota.i386 0:3.0.12-1 Dependency Removed: vzctl.i386 0:3.0.23-1 Complete! root@server [/vz/template/cache]# yum install vzquota Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.linux.duke.edu * extras: centos.aol.com * base: mirror.rackspace.com * openvz-kernel-rhel5: download.openvz.org * openvz-utils: download.openvz.org * updates: dist1.800hosting.com Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package vzquota.i386 0:3.0.12-1 set to be updated --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================== Installing: vzquota i386 3.0.12-1 openvz-utils 82 k Transaction Summary =============================================================================================================================================== Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 82 k Is this ok [y/N]: y Downloading Packages: vzquota-3.0.12-1.i386.rpm | 82 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : vzquota [1/1] Installed: vzquota.i386 0:3.0.12-1 Complete! root@server [/vz/template/cache]#
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl start 111 bash: /usr/sbin/vzctl: No such file or directory root@server [/vz/template/cache]# /usr/sbin/vzctl start 111 bash: /usr/sbin/vzctl: No such file or directory root@server [/vz/template/cache]# /usr/sbin/vzlist -a bash: /usr/sbin/vzlist: No such file or directory root@server [/vz/template/cache]#
Last edited by boxer; 10-07-2009 at 02:01 PM.
-
10-07-2009, 01:59 PM #34Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
-
10-07-2009, 02:02 PM #35Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
should i re-create the VPS "111" again ?
-
10-07-2009, 02:05 PM #36Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
See if it will let you set the diskspace now without throwing the error.
-
10-07-2009, 02:07 PM #37Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
Code:root@server [/vz/template/cache]# /usr/sbin/vzctl set 101 --diskspace 41943040:41943040 --save bash: /usr/sbin/vzctl: No such file or directory root@server [/vz/template/cache]#
-
10-07-2009, 02:11 PM #38Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
Try this,
yum install vzctl vzquota
-
10-07-2009, 02:12 PM #39Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
works now,
Code:root@server [/usr/sbin]# /usr/sbin/vzlist -a CTID NPROC STATUS IP_ADDR HOSTNAME 85 - stopped - - 101 - stopped - - 111 - stopped 192.168.85.84 lab.vps.com root@server [/usr/sbin]# /usr/sbin/vzctl start 111 Starting container ... vzquota : (warning) block_soft_limit [1048676] < block_current_usage [1067048] vzquota : (error) Quota on syscall for id 111: File exists vzquota on failed [3] root@server [/usr/sbin]#
-
10-07-2009, 02:25 PM #40Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
what does vzquota show 111 tell you?
This link might help as well,
http://forum.openvz.org/index.php?t=...o=570&#msg_570Last edited by Chris_M; 10-07-2009 at 02:28 PM.
-
10-07-2009, 02:49 PM #41Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
Code:root@server [/usr/sbin]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda5 10153988 4985396 4644476 52% / /dev/sda8 97510964 3361396 89116408 4% /home /dev/sda7 1032088 79528 *****2 9% /tmp /dev/sda3 15235072 5813708 8634984 41% /var /dev/sda2 20315844 12729716 6537488 67% /usr /dev/sda1 101089 43297 52573 46% /boot tmpfs 1032460 0 1032460 0% /dev/shm /var/tmpMnt 1032088 79528 *****2 9% /tmp none 1032460 0 1032460 0% /dev/shm root@server [/usr/sbin]#
Code:root@server [/usr/sbin]# free -m total used free shared buffers cached Mem: 2016 1940 76 0 109 1381 -/+ buffers/cache: 448 1567 Swap: 4094 0 4094 root@server [/usr/sbin]#
-
10-07-2009, 02:54 PM #42Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
I disable the Disk space in /etc/sysconfig/vz to no, so after that i try to start ..
Code:(2) disable per-vps quota by setting DISK_QUOTA=no in /etc/sysconfig/vz (/etc/conf.d/vz for Gentoo)
Code:root@server [/usr/sbin]# /usr/sbin/vzctl start 111 Starting container ... Container is mounted Adding IP address(es): 192.168.85.84 RTNETLINK answers: File exists vps-net_add ERROR: Unable to add route /sbin/ip route add 192.168.85.84 dev venet0 Container start failed Stopping container ... Container was stopped Container is unmounted root@server [/usr/sbin]#
-
10-07-2009, 03:09 PM #43Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
At this point, from what I can see, it doesnt look like you have vz on its own partition. I am rather new to openvz myself, but I would suggesting getting a reinstall of the OS and make sure to have it setup as per the instructions in the openvz docs.
-
10-07-2009, 03:30 PM #44Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
okay could you make that in the server Chris? if you can i pm you my email or the server login.
-
10-07-2009, 03:34 PM #45Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
Im sorry. There is no way I can reload the OS on your server. The host would have to do that. You should be able to tell them you are going to install openvz and that you need the partitions setup according to the openvz docs. From there I would just follow the howtoforge tutorial from the begining and you should be good to go.
-
10-07-2009, 03:36 PM #46Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
i didn't mean the reload, am mean to remove the old vz and install and mount a new one.
-
10-07-2009, 03:39 PM #47Retired Moderator
- Join Date
- Oct 2004
- Location
- Ohio
- Posts
- 1,668
Ahh, I dont really do contract work. I am sure that if you place an ad in the Employment offers section you can find someone to do it for a reasonable rate.
-
10-07-2009, 03:47 PM #48Web Hosting Evangelist
- Join Date
- Sep 2008
- Location
- NewYork
- Posts
- 474
no i have my support man, but i like to work with you becouse you trying to help me , but anyway i'll let u know what happen when i fix it.
Thanks alot Chris and Zcpanel.
Similar Threads
-
Installing openVZ on CentOS 5.2 64-bit
By websplash in forum Systems Management RequestsReplies: 2Last Post: 09-09-2008, 06:32 PM -
CentOS 5 - Problem Installing OpenVZ Kernel
By EdwardTobia in forum Hosting Security and TechnologyReplies: 1Last Post: 06-22-2008, 11:19 AM -
Quota Problem in OpenVZ/HyperVM/CentOS
By JohnSH in forum VPS HostingReplies: 8Last Post: 06-10-2008, 04:27 PM -
Problem with installing HyperVM on CentOS (Problem w/ YUM?)
By DennisM in forum Hosting Security and TechnologyReplies: 4Last Post: 11-05-2007, 09:05 PM -
problem with installing linux centos
By goolex in forum Hosting Security and TechnologyReplies: 6Last Post: 02-13-2006, 07:09 AM