SOLVED named errors installing cPanel on Proxmox

macklus

Active Member
Jan 14, 2004
39
0
156
hi all:
I try to install cpanel dns-only on new proxmox 4.3 server with lxc containers. I encounter too many problems related to node apparmor, so i post it here to Cpanel staff update related wiki pages.

Problems seems to be that named install files and directorys are not the expected by proxmox node, so its required to do (on node server)

Code:
vi /etc/apparmor.d/usr.sbin.named

#add the following lines:

  # cpanel
  /etc/named.* r,
  /etc/rndc.* r,
  /etc/pki/tls/openssl.cnf r,
  /var/named/* r,

#save file and then restart apparmor

service apparmor restart
after that, cpanel can install and start named whitout problems.
hope it well be usefull
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,256
463
Hello,

I'm happy to see you were able to address the issue and share the solution/workaround.

Thanks!