On the CentOS 6 server with kloxoMR, i found it failed to start named
and this was inside /var/log/messages[root@fq log]# service named start
Starting named: [FAILED]
i checked permission of the /var/log/namedApr 16 07:59:07 fq named[31390]: the working directory is not writable
Apr 16 07:59:07 fq named[31390]: isc_stdio_open '/var/log/named/default.log' failed: permission denied
Apr 16 07:59:07 fq named[31390]: configuring logging: permission denied
Apr 16 07:59:07 fq named[31390]: loading configuration: permission denied
Apr 16 07:59:07 fq named[31390]: exiting (due to fatal error)
and it was root:rootls -l /var/log/named
so i checked what is user group name for named:
so i changed that directory authorized user from root to named:[root@fq log]# groups named
named : named
[root@fq log]# groups bind
groups: bind: No such user
and named started this time:chown named:named /var/log/named
"not writable" kind of error maight be ignored probably, see: https://superuser.com/questions/1097407/named-the-working-directory-is-not-writable[root@fq log]# service named start
Starting named: [ OK ]
Bookmarks