Hello! 

Have the similar problem on Solaris 06/06. How does it look.
-----------
root at ara[~]#svcs -xv

svc:/network/dns/server:chroot (BIND DNS server)
 State: offline since Fri Jul 14 11:37:23 2006
Reason: Unknown.
   See: http://sun.com/msg/SMF-8000-AR
   See: man -M /usr/man -s 1M named
Impact: This service is not running.
--------------
root at ara[~]#tail /var/svc/log/network-dns-server\:chroot.log
[ ??? 14 11:28:26 Enabled. ]
[ ??? 14 11:28:26 Executing start method ("/usr/local/sbin/named -u named -t 
/usr/local/etc/namedb -c named.conf") ]
[ ??? 14 11:28:26 Method "start" exited with status 0 ]
[ ??? 14 11:36:17 Stopping because service disabled. ]
[ ??? 14 11:36:17 Executing stop method (:kill) ]
-------------
root at ara[~]#svccfg
svc:> select dns/server:chroot
svc:/network/dns/server:chroot> listprop
config_data                   dependency
config_data/entities          fmri     
file://localhost/usr/local/etc/namedb/nam                                       
               ed.conf
config_data/grouping          astring  require_all
config_data/restart_on        astring  none
config_data/type              astring  path
general                       framework
general/action_authorization  astring  solaris.smf.manage.bind
general/value_authorization   astring  solaris.smf.manage.bind
general/enabled               boolean  true
start                         method
start/group                   astring  named
start/limit_privileges        astring  :default
start/privileges              astring  
basic,!proc_session,!proc_info,!file_link                                       
               
_any,net_privaddr,file_dac_read,file_dac_search,sys_resource,proc_setid,proc_chr
                                                      oot
start/project                 astring  :default
start/resource_pool           astring  :default
start/supp_groups             astring  :default
start/timeout_seconds         count    60
start/type                    astring  method
start/use_profile             boolean  false
start/user                    astring  named
start/working_directory       astring  /usr/local/etc/namedb
start/exec                    astring  "/usr/local/sbin/named -u named -t 
/usr/l                                                      ocal/etc/namedb -c 
named.conf"
restarter                     framework NONPERSISTENT
restarter/auxiliary_state     astring  none
restarter/next_state          astring  none
restarter/state               astring  offline
restarter/state_timestamp     time     1152862643.814620000
-------------
svc:> select dns/server:chroot
svc:/network/dns/server:chroot> listprop
config_data                   dependency
config_data/entities          fmri     
file://localhost/usr/local/etc/namedb/nam                                       
                                       ed.conf
config_data/grouping          astring  require_all
config_data/restart_on        astring  none
config_data/type              astring  path
general                       framework
general/action_authorization  astring  solaris.smf.manage.bind
general/value_authorization   astring  solaris.smf.manage.bind
general/enabled               boolean  true
start                         method
start/group                   astring  named
start/limit_privileges        astring  :default
start/privileges              astring  
basic,!proc_session,!proc_info,!file_link                                       
                                       
_any,net_privaddr,file_dac_read,file_dac_search,sys_resource,proc_setid,proc_chr
                                                                              
oot
start/project                 astring  :default
start/resource_pool           astring  :default
start/supp_groups             astring  :default
start/timeout_seconds         count    60
start/type                    astring  method
start/use_profile             boolean  false
start/user                    astring  named
start/working_directory       astring  /usr/local/etc/namedb
start/exec                    astring  "/usr/local/sbin/named -u named -t 
/usr/l                                                                          
    ocal/etc/namedb -c named.conf"
restarter                     framework NONPERSISTENT
restarter/auxiliary_state     astring  none
restarter/next_state          astring  none
restarter/state               astring  offline
restarter/state_timestamp     time     1152862643.814620000
svc:/network/dns/server:chroot> select dns/server
svc:/network/dns/server> listprop
filesystem_minimal             dependency
filesystem_minimal/entities    fmri     svc:/system/filesystem/minimal
filesystem_minimal/grouping    astring  require_all
filesystem_minimal/restart_on  astring  none
filesystem_minimal/type        astring  service
loopback                       dependency
loopback/entities              fmri     svc:/network/loopback
loopback/grouping              astring  require_any
loopback/restart_on            astring  error
loopback/type                  astring  service
network                        dependency
network/entities               fmri     svc:/milestone/network
network/grouping               astring  optional_all
network/restart_on             astring  error
network/type                   astring  service
general                        framework
general/entity_stability       astring  Unstable
stop                           method
stop/exec                      astring  :kill
stop/timeout_seconds           count    60
stop/type                      astring  method
refresh                        method
refresh/exec                   astring  ":kill -HUP"
refresh/timeout_seconds        count    60
refresh/type                   astring  method
tm_common_name                 template
tm_common_name/C               ustring  "BIND DNS server"
tm_man_named                   template
tm_man_named/manpath           astring  /usr/man
tm_man_named/section           astring  1M
tm_man_named/title             astring  named
------------

As you can see i've added a new instance (server:chroot) and a new method 
(refresh) for better usability. For now i have removed original bind package 
and builded and installed  9.3.2 from ISC. 

Problem is named in offline mode each reboot. If i make 

root at ara[~]#svcadm refresh dns/server:chroot

named starts without any problem. Look's like SMF don't know that named should 
be started.

What i can do? For now only idea is to write a script and start it is 
/etc/rc3.d. But that is not a SMF way.
 
 
This message posted from opensolaris.org

Reply via email to