Anyone of the top of their head know how to fix the CPanel "Unlimited" Quota problem in CentOS/OpenVZ/HyperVM?
This post is not related to Infinitie, I personally have a few VPS servers I run and they are on CentOS 4.6 and the latest HyperVM, secondary quotas is enabled but I still keep having that problem where I cannot get quotas.
I am trying to create some vps using openvz but after creating the vps with the Centos basic template 304mb i can't ping the ip and i can't view the centos welcome page in my browser (using ip and not domain, so i don't need to change there anything yet) and the most important is that i can't connect to the vps using ssh
I aks for many good users about my problem but i don' found a solution yet.
I ask my DC about ip's and they told me that the ip's are routed in my server.
When you're creating VPS container, you can ssh with that IP and login with your username and password correct? But, what is the problem when I successfully created a VPS, and when trying ssh into it, I can't. Ok, here we go. I want to create a 2nd vps and will be using it as my DNS server. I enter a set of IPs into HyperVM's IPpool. First IP: x.x.x.178 Last IP: x.x.x.182 Resolv Entries (space Separated) : Gateway (IP): x.x.x.x.177 NetMask: 255.255.255.248
Then I created a vps resource plan. And then I created a VPS and it use the first IP from above. I want to connect to SSH and want to make it as my DNS server but seems the IP are not responding, it wasn't even live. So, what is the problem here? Where I did wrong? Just to let you know, I successfully created 1 VPS before that and it works without any hiccups. Got even whm/cpanel installed as well on it. The thing that I suspected is that my DC pulled the IPs off me and assigned them to other server. Waiting for their reply on this though.
As a provider of Virtual Private Servers im looking at ways to expand our business, I love the fact that we can offer our clients such a good service with the low price we presently charge but as a "Client" or "Potential Client" what would your views be on Virtuozzo?
Is it worth our business cutting our already low profits and going with Virtuozzo as our VPS Control Panel?
This is something we are very interested in doing and we feel it would be a big jump from the very low-end budget HyperVM/OpenVZ Approach.
Your Views on the Virtuozzo Vs HvM/OvZ would be very helpfull.
Would you rather buy a low priced Virtozzo VPS or an even lower priced HyperVM powered VPS? Im quite lost as to wether the financial investment would be worth it, I don't see how it wouldnt be as HyperVM is very buggy and really doesnt give a full sense of security in my personal opinion.
I need to move a slave server from one master to another, but when running "import HyperVM VPS" I get the classic error:
Quote:
Alert: The vpsid 470 : localhost exists on another server.
Please confirm exactly how to change the VPS ID for an OpenVZ VM as I've gone through all the LxLabs posts dealing with this subject and none of the proposed solutions work correctly.
Since OpenVZ offers both base RAM and burstable RAM to VMs, checking how much RAM is still available for assigning to VMs is still done manually by me.
Is there a way to list the total amount of base RAM that has been assigned, and the total amount of burstable RAM that has been assigned, so that you know how many more VMs you can create/host on a server?
Does anyone know how you can move an entire HyperVM (OpenVZ) Node to Virtuozzo. What has to be copied because we tried coping /vz/private/<VEID> and /etc/sysconfig/vz-scripts/<VEID> and we were not able to get the VE to start. We were getting an error:
Starting Container ... Can't mount: /vz/template:/vz/private/1110 /vz/root/1110: No such file or directory Container start failed
We tried rebooting the server as some other sites mention but still no luck. Any help is greatly appreciated because when we contacted Parallels they did not seem to have answer. (we are still waiting on a ticket reply though)
I had my box reinstalled with same OS as before, Centos x64. I am creating a NEW VPS and assigning it an IP from my Extended network (not primary) and the IPs are not pingable as if GATEWAY= was missing from the ifcfg config on network-scripts.
Its becoming more and more difficult to manage VPS using HyperVM and I am personally sick of the control panel design.
So does anyone have any great ideas to move all the VPS in HyperVM (OVZ) to Virtuozzo (PIM)?
If there isn't, I think I'll have to move all data across the orthodox way - which I clearly want to avoid.
PS: OVZ is on a different node from the VZ (duh!) but also will be utilizing different IP ranges. So, I think I need advice on changing IPs of the VEs too.
In the last two weeks I have noticed a major issue concerning memory usage. HyperVM and Top (via console) report two very different amounts of memory being used. On a fresh rebuild, my overall usage should be no more then 22mb. However, HyperVM reports 45mb whereas Top reports 11mb. Notice the huge gap?
I was told by my VPS host that OpenVZ / HyperVM is to blame. The overwhelming issue is: if I pay for 256mb of ram and I'm being cut short, then I'm obviously over paying. What's more: how can I tell whether or not I'm being cut short?
Has anyone run across these problems in the last two weeks?
My company currently have some spam filtering problem with mailscanner and the Windows team was given a project to come up with a better solution to fight spams.
I work in Unix dept. I suggested to Windows admin I use ASSP personally and works great. I gave them the specs on my setups. Since the current front-end proxy is on RHEL, we all settled to try out ASSP on Ubuntu based server.
We scrap-find an older Dell PE 2850 we can use. I finally convinced company to deploy OpenVZ, this will be our first OpenVZ server public facing.
The Dell have two Intel 82541GI Gigabit NICs. We are VLAN-ing on Cisco switch level; eth0 will be on internal 10.0 network and eth1 on public port.
I already installed CentOS 5.2 plus HyperVM. I configured and brought up eth1 without TCP/IP, just on layer 2. Looks like OpenVZ is using eth0 right now.
For this new proxy, will be routing traffics through host eth1. What's the best way of going with this? The new proxy will be using veth so it will have its own MAC (for security reasons; and network team said this is mandatory).
Should I be using bridging? Or simple routing guests through VZ configured eth1 would work? Can anyone give me some ideas? I'm asking in WHT is because a lot of hosting companies probably have this setup already. I'm just absorbing ideas...
We're in the process of setting up our new VPS Server, and we can create a VPS with 256MB memory and with 512MB memory fine, but when creating one with 1GB memory, we get the error:
Could Not Start Vps, Reason: Unable to fork: Cannot allocate memory: Not enough resources to start environment: Container start failed:
Even though the server has 4GB RAM and no other VPS's running. Any ideas? Thanks.
[Edit]We now seem to get the problem for all our VPS's. I think it may be something to do with the Server not unallocating the memory, as we've provisioned and de-provisioned quite a few Servers
I have recently created a bunch of OS templates for HyperVM as their current set were hugely outdated / unsuitable.
The images tagged modernadmin all include preconfigured DenyHosts to prevent SSH brute forcing of your customers VPS.
Available are the following for OpenVZ: centos-5.2-i386-hostinabox-modernadmin.tar.gz530,147.2KB centos-5.2-i386-modernadmin.tar.gz109,654.2KB centos-5.2-x86_64-modernadmin.tar.gz134,665.8KB debian-4.0-i386-modernadmin.tar.gz61,153.3KB debian-4.0-x86_64-modernadmin.tar.gz143,096.5KB debian-5.0-i386-modernadmin.tar.gz75,740.6KB debian-5.0-x86_64-modernadmin.tar.gz159,226.4KB fedora-core-10-i386-modernadmin.tar.gz165,429.6KB fedora-core-10-x86_64-modernadmin.tar.gz174,693.8KB ubuntu-7.10-i386-modernadmin.tar.gz76,415.5KB ubuntu-7.10-x86_64-modernadmin.tar.gz76,133.2KB ubuntu-8.04-i386-modernadmin.tar.gz70,725.7KB ...
Code: [root@server ~]# sh ./hypervm-install-master.sh --virtualization-type=openvz Here is the output it's returning to me (From log file)
Code: Installing packages which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10... Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package lxphp.i386 0:5.2.1-90 set to be updated ---> Package lxzend.i386 0:3.3-lxa set to be updated ---> Package lxlighttpd.i386 0:1.4.13-1 set to be updated --> Running transaction check --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: lxphp --> Processing Dependency: libmysqlclient.so.14 for package: lxphp --> Finished Dependency Resolution Up2date Gave Error... Trying Again...
Would this be a good setup for a VPS Serving system with 2x 500gb hard disks (up to) 8gb memory.... (Looking to use OpenVZ to create about 14-15 512mb VZ VPS's)?
Host machine to do nothing other than host the VPS's. Host O/S to be Centos 5 x64, guest O/S's to be the usual OpenVZ supported linuxes.
Make 2 software raid partitions 120mb, each | +- Make RAID 1, mounted at /boot
Make 2 s/w raid partitions Remainder of drive | +- Make 1 LVM Physical Drive, using RAID 1 | +- Make Logical Partition, 20gb, mounted '/' +- Make LP, Swap 16gb +- Make LP. ext3 remainder, mounted as '/vz'
Is it important what order I should make the Logical Partitions? Should I create a /tmp partition? If so, how much?
Just to make things clear, i am not new at setting up VPS nodes, i have set up all of my servers with the HyperVM/OpenVZ setup and they work perfectly, but im having a problem with a new server.
Just received my new server, installed HyperVM-Slave, rebooted but the OpenVZ kernel was not installed for some reason, so i manually installed the OpenVZ Kernel using the RPM as yum seemed to install the wrong kernel.
I then installed the kernel using RPM and got this error at the end of installation:
grubby: unable to open /dev/hda: No such file or directory grubby: unable to open /boot/boot.b: No such file or directory grubby fatal error: unable to find a suitable template
I have never encountered this error with any of my other servers before...
Also after installation everything seems to be correct. /etc/grub.conf has the new OpenVZ kernel displayed, and default is set to 0, so upon startup it should be booting the correct kernel, but the thing is, when i reboot the machine the default kernel is loaded even though the grub.conf is configured to load the OpenVZ Kernel.
Im thinking that this may be due to the error i got when installing the kernel.
My issue is that my websites I have hosted there just come and go. They will be accessible for a few minutes, then return "unknown host" errors for a while, and then come back like it never happened.
I am amusiming this is a dns issue, but I am not really sure where to start. My dns template looks ok, but past that I am lost.
I have a new CentOS 7, with Plesk 12, CentOS 7 by default has XFS filesystem.
I try migrate sites from another Plesk Server but Plesk agent say: "hard disk quota is not supported due to configuration of server file system" (my CentOS 7)
I added "usrquota,grpquota", then mount -o remount / ; but when I try quotacheck -fmv / I gest this:
[root@ns ~]$ quotacheck -fmv / quotacheck: Skipping /dev/mapper/centos-root [/] quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
but quotaon command works:
[root@ns ~]$ quotaon / quotaon: Enforcing group quota already on /dev/mapper/centos-root quotaon: Enforcing user quota already on /dev/mapper/centos-root
The problem here is why Plesk does not recognize quotas as enabled on CentOS 7??
I've a dedicated with VERY high-end specs 16gb ram SCSI RAID10 SATAII RAID5 CentOS 4.5 x86_64 Kernal 2.6.9-55.ELsmp cPanel
However, it has a serious problem, which is with any quota process such as, modifying accounts' quota/creating new account with specific quota(if set to unlimited no problem occurs)/restoring account from a backup file even its a 10mb file when it reaches the quota check section. When any of those happens the load goes Very high 50+ and even can hang the server for sometime if there is a big backup to restore so its quota is big . and the top process that appears at 'top' is quotaon 105% CPU.
When I reboot the server and it come back online I can do any quota process with no issues at all for few hours after a reboot then if I do any quota concerning action the problem happens again!
The DC said its not a hardware problem while I was suspecting it is!
I am trying to add a new user and here's what I'm doing:
Code: login as: root root@server.ip.address.here's password: Last login: Fri Aug 31 18:54:25 2007 from my.last.ip [18:56:05][root@chii]~$ useradd -d /home/chiisana_alf -G chiisana_crew chiisana_alf [18:56:31][root@chii]~$ passwd chiisana_alf Changing password for user chiisana_alf. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. So far so good; right?
Next:
Code: [18:56:40][root@chii]~$ cd /home [18:56:46][root@chii]/home$ ls -lha total 52K drwx--x--x 13 root root 4.0K Aug 31 18:54 . drwxr-xr-x 22 root root 4.0K Aug 31 17:45 .. drwxr-xr-x 5 root root 4.0K Aug 31 00:38 .cpan drwx------ 3 root root 4.0K Aug 31 00:37 .cpcpan drwx------ 2 root root 4.0K Aug 29 12:04 MySQL-install drwx--x--x 10 chiisana chiisana 4.0K Aug 30 09:54 chiisana drwx------ 2 root root 4.0K Aug 31 18:54 chiisana_alf drwx------ 4 chiisana_edo chiisana_edo 4.0K Aug 31 15:43 chiisana_edo drwx------ 4 chiisana_mrpc chiisana_mrpc 4.0K Aug 31 00:36 chiisana_mrpc drwx------ 4 chiisana_neo chiisana_neo 4.0K Aug 31 01:42 chiisana_neo drwx------ 3 root root 4.0K Aug 31 10:01 cpapachebuild drwxr-xr-x 3 root root 4.0K Aug 28 15:25 cpins drwx------ 2 webadmin webadmin 4.0K Nov 10 2006 webadmin [18:56:48][root@chii]/home$ What the? root? That's not right....
Code: [18:56:48][root@chii]/home$ chown chiisana_alf:chiisana_alf chiisana_alf/ chown: changing ownership of `chiisana_alf/': Disk quota exceeded Er....
Code: [18:58:54][root@chii]/home$ du -h chiisana_alf/ 4.0K chiisana_alf/ [18:59:10][root@chii]/home$ df -h Filesystem Size Used Avail Use% Mounted on /dev/vzfs 100G 3.4G 96G 4% / /tmp 100G 3.4G 96G 4% /var/tmp
I am running cPanel and all the quotas are showing as unlimited and 0mb space used, I have tryed the rebuilt quotas in cPanel but this has no effect, can anyone shed some light on this?
i want to know how i can add quota to different folders,
For example the ftp user "test" have the folder "/home/admin/folder/test/" but i want to set a max quota that he can have on the folder, i tried with ftpquota but the problem is that he can add files from http too.