bind10 fails to start with --user=bind

Spain, Dr. Jeffry A. spainj at countryday.net
Fri Dec 2 02:59:53 UTC 2011


I'm trying, unsuccessfully so far, to set up bind10 to run as user bind. I'd like to ask for some guidance as to permissions to check or log files to review.

I'm using the following command, which results in the msgq component failing to start:
root at bind10:~# /usr/sbin/bind10 --user=bind --pid-file=/var/run/named/named.pid
2011-12-01 21:45:00.337 INFO  [b10-boss.boss] BIND10_STARTING starting BIND10: bind10 20110223 (BIND 10 20111128)
2011-12-01 21:45:00.338 INFO  [b10-boss.boss] BIND10_CONFIGURATOR_START bind10 component configurator is starting up
2011-12-01 21:45:00.338 INFO  [b10-boss.boss] BIND10_COMPONENT_START component Socket creator is starting
2011-12-01 21:45:00.345 INFO  [b10-boss.boss] BIND10_SOCKCREATOR_INIT initializing socket creator parser
2011-12-01 21:45:00.346 INFO  [b10-boss.boss] BIND10_COMPONENT_START component msgq is starting
2011-12-01 21:45:00.346 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-msgq
2011-12-01 21:45:05.413 ERROR [b10-boss.boss] BIND10_COMPONENT_START_EXCEPTION component msgq failed to start: Unable to connect to c-channel after 5 seconds
2011-12-01 21:45:05.413 ERROR [b10-boss.boss] BIND10_COMPONENT_FAILED component msgq (pid None) failed with unknown exit status
2011-12-01 21:45:05.414 FATAL [b10-boss.boss] BIND10_COMPONENT_UNSATISFIED component msgq is required to run and failed
2011-12-01 21:45:05.414 ERROR [b10-boss.boss] BIND10_CONFIGURATOR_PLAN_INTERRUPTED configurator plan interrupted, only 1 of 3 done
2011-12-01 21:45:05.414 INFO  [b10-boss.boss] BIND10_KILLING_ALL_PROCESSES killing all started processes
2011-12-01 21:45:05.415 INFO  [b10-boss.boss] BIND10_KILL_PROCESS killing process Socket creator
2011-12-01 21:45:05.415 WARN  [b10-boss.boss] BIND10_SOCKCREATOR_KILL killing the socket creator
2011-12-01 21:45:05.416 FATAL [b10-boss.boss] BIND10_STARTUP_ERROR error during startup: Unable to start b10-msgq: Component failed during startup

It does start successfully as root:
root at bind10:~# /usr/sbin/bind10 --pid-file=/var/run/named/named.pid
2011-12-01 21:45:16.911 INFO  [b10-boss.boss] BIND10_STARTING starting BIND10: bind10 20110223 (BIND 10 20111128)
2011-12-01 21:45:16.912 INFO  [b10-boss.boss] BIND10_CONFIGURATOR_START bind10 component configurator is starting up
2011-12-01 21:45:16.912 INFO  [b10-boss.boss] BIND10_COMPONENT_START component Socket creator is starting
2011-12-01 21:45:16.918 INFO  [b10-boss.boss] BIND10_SOCKCREATOR_INIT initializing socket creator parser
2011-12-01 21:45:16.919 INFO  [b10-boss.boss] BIND10_COMPONENT_START component msgq is starting
2011-12-01 21:45:16.919 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-msgq
2011-12-01 21:45:17.129 INFO  [b10-boss.boss] BIND10_COMPONENT_START component cfgmgr is starting
2011-12-01 21:45:17.130 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-cfgmgr
2011-12-01 21:45:18.147 INFO  [b10-boss.boss] BIND10_STARTING_CC starting configuration/command session
2011-12-01 21:45:18.221 INFO  [b10-boss.boss] BIND10_READING_BOSS_CONFIGURATION reading boss configuration
2011-12-01 21:45:18.221 INFO  [b10-boss.boss] BIND10_CONFIGURATOR_RECONFIGURE reconfiguring running components
2011-12-01 21:45:18.222 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-auth is starting
2011-12-01 21:45:18.222 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-auth
2011-12-01 21:45:18.235 INFO  [b10-boss.boss] BIND10_COMPONENT_START component Set UID is starting
2011-12-01 21:45:18.235 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-xfrin is starting
2011-12-01 21:45:18.236 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-xfrin
2011-12-01 21:45:18.250 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-cmdctl is starting
2011-12-01 21:45:18.250 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-cmdctl
2011-12-01 21:45:18.269 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-xfrout is starting
2011-12-01 21:45:18.270 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-xfrout
2011-12-01 21:45:18.308 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-zonemgr is starting
2011-12-01 21:45:18.309 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-zonemgr
2011-12-01 21:45:18.342 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-stats is starting
2011-12-01 21:45:18.343 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-stats
2011-12-01 21:45:18.365 INFO  [b10-boss.boss] BIND10_COMPONENT_START component b10-stats-httpd is starting
2011-12-01 21:45:18.366 INFO  [b10-boss.boss] BIND10_STARTING_PROCESS starting process b10-stats-httpd
2011-12-01 21:45:18.384 INFO  [b10-boss.boss] BIND10_STARTUP_COMPLETE BIND 10 started
2011-12-01 21:45:18.444 INFO  [b10-auth.datasrc] DATASRC_CACHE_ENABLE enabling the hotspot cache
2011-12-01 21:45:18.445 INFO  [b10-auth.auth] AUTH_SERVER_CREATED server created
2011-12-01 21:45:18.483 INFO  [b10-auth.datasrc] DATASRC_SQLITE_SETUP setting up SQLite database
2011-12-01 21:45:18.496 INFO  [b10-auth.auth] AUTH_SERVER_STARTED server started
2011-12-01 21:45:18.793 INFO  [b10-xfrout.xfrout] XFROUT_NEW_CONFIG Update xfrout configuration
2011-12-01 21:45:18.794 INFO  [b10-xfrout.xfrout] XFROUT_NEW_CONFIG_DONE Update xfrout configuration done
2011-12-01 21:45:18.794 INFO  [b10-stats.stats] STATS_STARTING starting
2011-12-01 21:45:18.881 INFO  [b10-stats-httpd.stats-httpd] STATHTTPD_STARTED listening on 127.0.0.1#8000
^Z
[1]+  Stopped                 /usr/sbin/bind10 --pid-file=/var/run/named/named.pid
root at bind10:~# bg
[1]+ /usr/sbin/bind10 --pid-file=/var/run/named/named.pid &
root at bind10:~# dig @127.0.0.1 -c CH -t TXT authors.bind

; <<>> DiG 9.7.3 <<>> @127.0.0.1 -c CH -t TXT authors.bind
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19184
;; flags: qr aa rd; QUERY: 1, ANSWER: 18, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;authors.bind.                  CH      TXT

;; ANSWER SECTION:
authors.bind.           0       CH      TXT     "Chen Zhengzhang"
authors.bind.           0       CH      TXT     "Dmitriy Volodin"
authors.bind.           0       CH      TXT     "Evan Hunt"
authors.bind.           0       CH      TXT     "Haidong Wang"
authors.bind.           0       CH      TXT     "Han Feng"
authors.bind.           0       CH      TXT     "Jelte Jansen"
authors.bind.           0       CH      TXT     "Jeremy C. Reed"
authors.bind.           0       CH      TXT     "Jin Jian"
authors.bind.           0       CH      TXT     "JINMEI Tatuya"
authors.bind.           0       CH      TXT     "Kazunori Fujiwara"
authors.bind.           0       CH      TXT     "Michael Graff"
authors.bind.           0       CH      TXT     "Michal Vaner"
authors.bind.           0       CH      TXT     "Naoki Kambe"
authors.bind.           0       CH      TXT     "Shane Kerr"
authors.bind.           0       CH      TXT     "Shen Tingting"
authors.bind.           0       CH      TXT     "Stephen Morris"
authors.bind.           0       CH      TXT     "Yoshitaka Aharen"
authors.bind.           0       CH      TXT     "Zhang Likun"

;; AUTHORITY SECTION:
authors.bind.           0       CH      NS      authors.bind.

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Dec  1 21:49:48 2011
;; MSG SIZE  rcvd: 501

I believe that user bind is set up properly:
root at bind10:~# cat /etc/passwd | grep bind
bind:x:107:115::/var/bind10-devel:/bin/false
root at bind10:~# cat /etc/group | grep bind
bind:x:115:

Thanks.

Jeffry A. Spain
Network Administrator
Cincinnati Country Day School


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-users/attachments/20111202/9d13c9bb/attachment.html>


More information about the bind10-users mailing list