ABHIONLINUX
Site useful for linux administration and web hosting

2017/05/30

OpenVZ/Ploop Error: required UB parameter


You might have noticed this error while creating a openvz VPS. These issues are mainly due to  the implementation of ploop in openvz kernel.

017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter kmemsize not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter lockedpages not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter privvmpages not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter shmpages not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numproc not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter physpages not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter vmguarpages not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter oomguarpages not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numtcpsock not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numflock not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numpty not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numsiginfo not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter tcpsndbuf not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter tcprcvbuf not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter othersockbuf not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter dgramrcvbuf not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numothersock not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numfile not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter dcachesize not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: required UB parameter numiptent not set
2017-05-30T09:45:24+0100 vzctl : CT 154 : Error: failed to apply some parameters, not saving configuration file!


 You would need to install ploop and enable it on your hardware node and solusvm node configurations.
1. yum install ploop
2, /scripts/upcp  on solusvm master
3. Solusvm node configuration

2016/12/25

How to install mysql 5.6

Mysql 5.6 is the latest stable release of  mysql. You can use the following steps to install mysql5.6

# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl
# 2. Install the collection
$ sudo yum install rh-mysql56
# 3. Start using the software collection:
$ scl enable rh-mysql56 bash
$ service rh-mysql56-mysqld start
$ mysql

Mysql 5.6 has been installed on your server and you can manage it easily from your server.