> Il giorno 09/giu/2015, alle ore 21:09, Richard Elling 
> <[email protected]> ha scritto:
> 
> 
>> On Jun 9, 2015, at 11:45 AM, Lloyd Parkes <[email protected]> 
>> wrote:
>> 
>> Hi Giorgio,
>> I know this sounds a bit obvious, but have you tried looking in the logs?
>> 
>> SMF logs are in /var/svc/log/MANGLED-SERVICE-NAME.log. Since these logs 
>> contain the output of the method script being run by SMF, any debugging 
>> output you add to your start script will end up in this log file.
> 
> pro tip: 
> cat $(svcs -L service-name)

It does not work, svcs returns null presumably because the svcadm is unable to 
register it, and so there’s log file, as well.



--
Giorgio Valoti



-------------------------------------------
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

Reply via email to