unable to halt the zone


 
Thread Tools Search this Thread
Operating Systems Solaris unable to halt the zone
# 8  
Old 11-26-2008
That explains it. Your zone is in a state ready. From zoneadm(1M) man page:

Code:
     ready

         Prepares a zone for running applications  but  does  not
         start any user processes in the zone

Boot it and then halt:

Code:
# zoneadm -z content-server-zone boot
# zoneadm -z content-server-zone halt

That should do the trick.
# 9  
Old 11-26-2008
Thanks Luka,

However when I am trying to boot the zone ia m facing the same problem the screen is getting hanged.

All I want to do is to remove this zone from system
# 10  
Old 11-26-2008
What exactly do you mean by "the screen is getting hanged"? The command never finishes and you have to kill it?
Maybe you could try to force the uninstallation:

Code:
# zoneadm -z content-server-zone uninstall -F


Last edited by Luka; 11-26-2008 at 07:49 AM..
# 11  
Old 11-26-2008
What i mean to say is nothing is happening after giving the command

and when i try to uninstall with

Quote:
# zoneadm -z content-server-zone uninstall -F
i am getting error as
Quote:
uninstall operation is invalid for ready zones.
# 12  
Old 11-26-2008
What version of Solaris are you using? Check the zones log file (/var/svc/log/system-zones:default.log).
# 13  
Old 11-27-2008
Hi Luka

please see the version detail

Quote:
#cat /etc/release
Solaris 10 5/08 s10s_u5wos_10 SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 24 March 2008
Also I cant see any thing unusual in log file

Quote:
[ Sep 30 10:23:07 Disabled. ]
[ Sep 30 10:23:07 Rereading configuration. ]
[ Sep 30 10:23:42 Enabled. ]
[ Sep 30 10:25:11 Executing start method ("/lib/svc/method/svc-zones start") ]
[ Sep 30 10:25:11 Method "start" exited with status 0 ]
[ Sep 30 10:45:14 Stopping because service disabled. ]
[ Sep 30 10:45:14 Executing stop method ("/lib/svc/method/svc-zones stop") ]
[ Sep 30 10:45:15 Method "stop" exited with status 0 ]
[ Sep 30 10:47:05 Executing start method ("/lib/svc/method/svc-zones start") ]
[ Sep 30 10:47:05 Method "start" exited with status 0 ]
[ Oct 2 14:31:38 Stopping because service disabled. ]
[ Oct 2 14:31:38 Executing stop method ("/lib/svc/method/svc-zones stop") ]
[ Oct 2 14:31:38 Method "stop" exited with status 0 ]
[ Oct 2 14:33:46 Executing start method ("/lib/svc/method/svc-zones start") ]
[ Oct 2 14:33:46 Method "start" exited with status 0 ]
[ Oct 2 16:06:31 Stopping because service disabled. ]
[ Oct 2 16:06:31 Executing stop method ("/lib/svc/method/svc-zones stop") ]
[ Oct 2 16:06:31 Method "stop" exited with status 0 ]
[ Oct 2 16:08:29 Executing start method ("/lib/svc/method/svc-zones start") ]
[ Oct 2 16:08:29 Method "start" exited with status 0 ]
[ Nov 12 09:42:34 Executing start method ("/lib/svc/method/svc-zones start") ]
[ Nov 12 09:42:34 Method "start" exited with status 0 ]
[ Nov 12 09:49:32 Executing start method ("/lib/svc/method/svc-zones start") ]
[ Nov 12 09:49:32 Method "start" exited with status 0 ]
# 14  
Old 11-27-2008
Have you tried to restart the zones service? Or reboot the machine if it is possible?
Maybe the whole zone system isn't working properly. Is it possible to create a test zone and see if it works?
I really haven't been able to reproduce your problem. I allways get an error from zoneadm and it never hangs (sometimes it takes a few seconds to finish it's job, but it never hangs).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Unable to login via console mode to non-global zone

tldr; We've installed a non-global-zone from a unified archive which once booted, we're unable to gain access to the system either through zlogin or zlogin -C. Errors; svc.startd: instance svc:/system/console-login:default exited with status 127 Investigation; 1) Already opened a SR with... (1 Reply)
Discussion started by: samthewildone
1 Replies

2. Solaris

Unable to send mail from non-global zone

TLDR; non-global-zone has same configuration files (sendmail.cf) as global-zone but still unable to send mail out using mailx I have a S11.3 system that has a non-global-zone which uses the exact same sendmail.cf configurations as the global but, unable to send mail out from it. Apparently... (2 Replies)
Discussion started by: samthewildone
2 Replies

3. Solaris

Unable to get Solaris 11 Zone onto the network

Hello, I followed these instructions to create a Solaris 11 zone: http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html And I am unable to ping anything from the Local Zone except for the IP address of the global zone. My global zone has an IP... (6 Replies)
Discussion started by: unblockable
6 Replies

4. Solaris

Unable to find utilized disk space on zone server.

Hi, I am unable to find remaining space on solaris 10. below is output. I am facing this issue on zone server. bash-3.00# df -h / Filesystem size used avail capacity Mounted on / 59G 59G 0K 100% / bash-3.00# pwd / bash-3.00# du -sh * 1K File_Stores 19K TT_DB 9K app 1K bin... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

5. Solaris

Unable to access serial port from non-global solaris zone on netra 240

I am trying to use a serial communications device that is connected to /dev/ttyb on a netra 240 server. This is a solaris zone configuration using solaris 10 0910. I am able to access /dev/ttyb from the global zone but not throught he non-global zone. I have enabled all of the tty devices in my... (0 Replies)
Discussion started by: disagreeable
0 Replies

6. Emergency UNIX and Linux Support

Shutdown to a Halt and restart

I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console... (16 Replies)
Discussion started by: hedkandi
16 Replies

7. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies

8. Solaris

difference b/w halt shutdown

Hi, I want to know the difference between halt and shutdown commands and which is better to use? Regards, visu (2 Replies)
Discussion started by: visu_ak
2 Replies

9. UNIX for Dummies Questions & Answers

unable to login to zone after enable BSM

hi i am not able to the zones after i enable BSM, but i am able to login using "zlogin -S" option. is there any command which i can use to troubleshoot. thanks a lot! :cool: (0 Replies)
Discussion started by: legato
0 Replies

10. Programming

How to halt Prog Execution for some time?

Hi, Perhaps I am asking a silly question, but I really don't know about it. Can anyone tell me the function for "sleep" kind of functionality in C language for Unix. I don't think any function with the name of sleep() exits in Unix's C language. or perhaps I am not known with the header file... (3 Replies)
Discussion started by: Ahsan
3 Replies
Login or Register to Ask a Question