I have tried to set a timeout on the stop method, but Solaris still hangs on 
shutdown/reboot.

The problem occurred when I tried to use the Oracle SMF packaged (ora-smf) from 
Joost Mulders together with Solaris 10 running on a VMware server. The 
vmware-tools running in legacy mode removes the network interface early in the 
shutdown phase and then the Oracle listener service cannot be contacted and 
shutdown nicely.

The stop method of ora-smf then assumes that the service is already down and 
exits with SMF_EXIT_OK. But the Oracle listener process is still running. The 
result is that Solaris will not shutdown - it hangs. Timeout on the stop method 
didn't help on that.

I then modified the stop method to actually kill the listener process before 
exiting with SMF_EXIT_OK. Then Solaris was able to shutdown without hanging.

This was on Solaris 10 Update 3.

/Ole
 
 
This message posted from opensolaris.org

Reply via email to