Boot the system in milestone multi-user and verify that your service is working successfully (start/stop). I doubt the stop method is working as you would like but at least it will be easier for you to debug your mail issue.
However, it might be easier for you to add to your service a dependency on multi-user-server which should fix your network/mail issue. -- Renaud Robin wrote: > English is my second language, I'm sorry if I confused anyone here. > > New update information. > > 1)There is an echo "shutdown robinsrv..." command before invoke sending > email program in my stop script. > 2)I tested using shutdown -i0 -g60 -y to bring system down, and I did find > the message in the log. > > I also check the log of my Java program which identified that it can't > connect to email server. > > Here is my service depenencies: > > -bash-3.2# svcs -l robinsrv > fmri svc:/application/robinsrv:default > enabled true > state online > next_state none > state_time Mon Oct 27 11:24:54 2008 > logfile /var/svc/log/application-robinsrv:default.log > restarter svc:/system/svc/restarter:default > contract_id 77 > dependency require_all/none svc:/system/filesystem/autofs:default (online) > dependency require_all/none svc:/milestone/multi-user:default (online) > dependency require_all/none svc:/network/physical:default (online) > > Does anyone have further suggestions? > > Thanks, > > Robin > -- > This message posted from opensolaris.org > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org