Virtuozzo - Trouble Connecting To The Service Vps

So you are trying to connect to the service vps, and you are 100% certain your vzagent0 password is correct. Of course it seems logical to restart the service vps, but this happens:

[root@server]vzctl start 1
Restart VE
Starting VE ...
VE is mounted
Setup slm memory limit
Setup slm subgroup (default)
vz-start ERROR: TOTALRATE not configured for class 1
VE is unmounted
VE start failed

What to do?

Try this:

[root@server]service vz shaperrestart
Starting Virtuozzo shaping: [ OK ]
Set shaping on running VE: [ OK ]

 

You should now be able to start the service vps properly:

[root@server] vzctl start 1
Restart VE
Starting VE ...
VE is mounted
Setup slm memory limit
Setup slm subgroup (default)
Setup bind mount(s): /tmp /var/tmp
Setting devperms 20002 dev 0x7f00
Adding port redirection to VE(1): 4643 8443
Adding IP address(es): 10.10.10.10
Hostname for VE set: server.domain.com
File resolv.conf was modified
Setting devperms 60010 dev 0x13
VE start in progress...