Named Problems

Hi,

After CPanel updated (WHM 10.1.0 cPanel 10.2.0-S53 / Trustix i686 - WHM X v3.1.0) bind failed with the error of:
couldn't open pid file '/var/run/named.pid': Permission

After some time I found that I needed to add a line in /etc/init.d/named at line numner 79:
chown ${NAMEDUSER:-named}.${NAMEDGROUP:-named} ${JAIL_BASE}/var/run

Then after restarting named bind was working. However on the next evening the server must have updated again and the line was removed, thus bind failed. Did the same again and fixed. This time I thought I would change the permissions /etc/init.d/named to 555 so that it could not be changed. However same again the file was changed or replaced.

How do I stop this from reoccuring.

Thanks in advance.
Andrew

 

 

 

 

Top