Named wont start as user "named" -u named, init script wont start named either. It can only be started from the CLI/shell /usr/sbin/named .. /var/named /var/bind and /etc/bind are named:named the binary /usr/sbin/named is root:root Reproducible: Always Steps to Reproduce: 1.on boot up named starts but it silently dies .. 2./etc/init.d/named start 3./etc/init.d/named restart/stop Actual Results: /etc/init.d/named start * Starting named... [ ok ] But it dies electly .. /etc/init.d/named start * WARNING: "named" has already been started. Its not really started /etc/init.d/named stop [ !! ]ing named... Cant stop it .. i am submitting this as critical because my mail server and other clients hosts including the dns server does not resolve, so for now i am running named under CLi until its able to be ran correctly.
'/etc/init.d/named zap' will tell the init system that named isn't running anymore if you are trying to start it after it has crashed. named has a tendancy to just die without giving much information if there is something wrong with it's configuration files.
Should have included that i use that syntax to stop and reset named when restart or stop fail Um .. the configuration files are in perfect configuration .. its the init script or something else .. how is it that i can run named as root and not as named .. since this is true, then the init script will never work because it tries to run as named ..
Has anyone looked into this? Any suggestions .. ?
Well .. with the help at the forums.. i was able to get this fixed .. was a dang pid file .. but this still seems strange as i was getting errors because user named i guess was denied permission to remove or overwrite the named pid file in /var/named/named.pid Jun 01 17:29:56.442 couldn't open pid file '/var/run/named.pid': Permission denied [ !! ]7:29:56.442 exiting (due to early fatal error) THE FIX: /etc/conf.d/named.conf Add the syntax below pid-file "/var/run/named/named.pid"; Thanks to Chris W at the forums ..