Some more info. I can bring the service on line by mark it and then clear it.
> Il giorno 10/giu/2015, alle ore 10:28, Giorgio Valoti <[email protected]> ha > scritto: > > >> Il giorno 10/giu/2015, alle ore 08:00, Lloyd Parkes >> <[email protected]> ha scritto: >> >> >>> On 10/06/2015, at 4:53 pm, Giorgio Valoti <[email protected]> wrote: >>> >>> I meant, “there’s no log”. >> >> There really, really ought to be a log. > > Yep. In order to track down the problem I tried just installing the software > and import the definition with svccfg import -V. The file is there and it’s > content at this stage is the expected one: > >> [ Jun 9 18:03:34 Enabled. ] >> [ Jun 9 18:03:34 Rereading configuration. ] > > The service is correctly listed as offline by svcs: > >> offline 8:04:23 svc:/buildmaster:default > > however, the log file is not listed with svcs -L, but let’s ignore that for a > moment. Now, if I try to enable the service it, without taking into account > service dependencies, it hangs: > >> /usr/sbin/svcadm enable -s buildmaster > > > >> >> >> Your process tree showed process 10752 as "/usr/sbin/svcadm enable -rst >> build master”. This means that the service must have already been registered >> by svccfg. >> >> My guess is svcadm is waiting for one or more of the service dependencies to >> become available before starting your service because that would explain why >> there is no log file for your service. Maybe Ansible is trying to start the >> service before deploying the configuration file “master.cfg"? >> >> Cheers, >> Lloyd >> >> >> >> ------------------------------------------- >> smartos-discuss >> Archives: https://www.listbox.com/member/archive/184463/=now >> RSS Feed: https://www.listbox.com/member/archive/rss/184463/24677287-57979da1 >> Modify Your Subscription: https://www.listbox.com/member/?& >> Powered by Listbox: http://www.listbox.com > > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > RSS Feed: https://www.listbox.com/member/archive/rss/184463/24677287-57979da1 > Modify Your Subscription: https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
