SMF service start error chdir: No such file or directory
919644Jun 14 2012 — edited Jul 10 2012Hi ,
In my new Solaris 11 server in one zone I installed: smb, dhcp and an dns
server.
All startup at (re) boot of the zone except the dns-server.
view /var/svc/log/network-dns-server:default.log:
[ Jun 14 14:04:11 Enabled. ]
[ Jun 14 14:04:27 Executing start method ("/lib/svc/method/dns-server start default"). ]
chdir: No such file or directory
[ Jun 14 14:04:27 Method "start" exited with status 96. ]
With svccfg I increased debug to 5 but nothing more is logged.
The dns-server just starts when doing:
svcadm enable svc:/network/dns/server:default
The server runs as user:named , configured with svccfg.
If I look with ps then indeed it runs as named.
Even when I configure the user as root, it will not start at (re-)boot.
I am sure it has nothing to to with bind itself, because nothing is logged
in /va/adm/messages, it doesnt come to that far.
I think it is started too early because the log says:
chdir: No such file or directory
In some previous install it just worked , but I cant find
the problem.
How to debug this ? ( i am rather new to Solaris)
Thanks