Monthly Archives: October 2015

docker inside openvz

veid=1000
vzctl create $veid –ostemplate centos-7-x86_64 –diskspace 20G
vzctl set $veid –features bridge:on –save
vzctl set $veid –netif_add eth0 –save
vzctl set $veid –netfilter full –save
vzctl set $veid –devnodes net/tun:rw –save
vzctl mount $veid
echo “JoinControllers=cpu,cpuacct,cpuset freezer,devices” >> /vz/root/$veid/etc/systemd/system.conf
vzctl start $veid

mount -t tmpfs tmpfs /sys/fs/cgroup
mkdir /sys/fs/cgroup/freezer,devices
mount -t cgroup cgroup /sys/fs/cgroup/freezer,devices -o freezer,devices
mkdir /sys/fs/cgroup/cpu,cpuacct,cpuset
mount -t cgroup cgroup /sys/fs/cgroup/cpu,cpuacct,cpuset/ -o cpu,cpuacct,cpuset

Install docker:
yum -y install docker-io
docker -d -s vfs

R=dkim_lookuphost T=dkim_remote_smtp defer (-46) H=hostname [xx.xx.xx.xx]: SMTP error from remote mail server after end of data: 451 Local Error

Exim error: R=dkim_lookuphost T=dkim_remote_smtp defer (-46) H=hostname [xx.xx.xx.xx]: SMTP error from remote mail server after end of data: 451 Local Error or something like this: dkim_lookuphost T=dkim_remote_smtp defer (111): Connection refused

If you are getting this error on cPanel server, you should try disable dkim on your existing users accounts. To do this you can in your WHM panel or using API.