Force stopping a stuck Solaris zone

por | 22 agosto, 2025
  1. Check zone status
zoneadm list -iv

Example:

  ID NAME             STATUS          PATH
   0 global           running         /
   5 myzone           shutting_down   /zones/myzone
  1. List processes of the zone
ps -ef -z myzone
  1. Kill all processes of the zone (force)
pkill -9 -z myzone
  1. Confirm zone state
zoneadm list -iv

The zone should now show as installed.

  1. Boot the zone again if needed
zoneadm -z myzone boot

pkill -9 -z <zonename> is the most effective “emergency stop.”
It works when a zone is stuck in shutting_down.