Zones Problem


 
Thread Tools Search this Thread
Operating Systems Solaris Zones Problem
# 1  
Old 09-17-2011
Zones Problem

I have two zones that I just shut down. They showed up fine before I shut them down when I did the zoneadm list -cv command. Now they've vanished! The xml files are still present under /etc/zones, and the file systems are still mounted. I have even restarted the zones service, and rebooted the global zone to see if that would fix it. I seriously don't won't to have to reconfigure them from scratch. I've never seen this sort of strange behavior before. Does anyone have any suggestions on how to bring the zones back??

thanks!
# 2  
Old 09-17-2011
What says:
Code:
ls -ltr /etc/zones

?
# 3  
Old 09-17-2011
I actually just a few minutes ago solved the problem on my own. I spent two hours digging around to find what was wrong until after numerous troubleshooting I finally came down to one file someone had manipulated previously. I finally discovered the problem when I noticed the zone came up fine in zonecfg, but when I tried to change the autoboot setting it gave me an index error when I tried to commit the change. That lead me to the index file, and ultimately the solution. Under /etc/zones someone had renamed the index file to another name. The zones were operating fine until zoneadm had to utilize the index file when I started issuing zlogin and zoneadm commands to it. Thankfully there was a backup of the index file. I put the file back, and restarted the zones SMF service. The zones then came up successfully. Now I can resume my scheduled maintenance after a 2 hour delay.... Smilie

Anyway, I hope this helps someone else in the future. It always seems to come down to something simple -- it's just finding the solution that can be a pain in the rear.

Last edited by christr; 09-17-2011 at 03:51 AM..
# 4  
Old 09-17-2011
Quote:
Originally Posted by christr
Under /etc/zones someone had renamed the index file to another name.
That was the kind of issues I suspected and the reason why I asked for "ls -ltr /etc/zones" output.
# 5  
Old 09-17-2011
Yeah, you probably would of had the answer for me after seeing my directory listing. I was looking at the xml files, but didn't think of the index file.

thanks!
# 6  
Old 09-17-2011
Quote:
Originally Posted by christr
you probably ...
s/probably/certainly/ Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Zones

haven't work with zones in a while. when shutting down zones from solaris 10 I have to do it from the global zone, but can I just shutdown the global zone and all non global zones will shutdown or do I have to zoneadm -z zonename shutdown for all the non global zones ,then shutdown... (2 Replies)
Discussion started by: goya
2 Replies

2. Solaris

Packages in zones

hello, I have this problem. I'm trying to setup 2 zones on my server with different packages. I want one zone to have the package SUNlldap and the other zone to not have it. I don't care what's on the global zone. This package seems to be set to SUNW_PKG_ALLZONES=true. So It seems, that I have... (2 Replies)
Discussion started by: bitlord
2 Replies

3. Solaris

zones

how can we know zone is migrate and which files going to update (3 Replies)
Discussion started by: nsusheelgoud
3 Replies

4. Solaris

Zones

Hi Everyone, How to create a loopback filesystem in a running non golbalzone? and how to share a diskgroup in veritas ? Thanks & Regards Padmaja (1 Reply)
Discussion started by: padmaja
1 Replies

5. Solaris

Zones

Hi Everyone, I need the process of how to add a cpu to a non-global zone or how to add a resource to non-globalzone. Thanks & Regards Padmaja (2 Replies)
Discussion started by: padmaja
2 Replies

6. Solaris

Zones

Hi guys Im using VMware and ive installed solaris 10 in that..ive configured virtual disks in that n im using it..my question is if im gona configure zones in it do i need a seperate NIC card..my virtual interface name is pcn0 and if i create zones can i give pcn0:1 n allocate a seperate... (1 Reply)
Discussion started by: madanmeer
1 Replies

7. Solaris

Problem creating full root zones

OK, the situation is that I am trying to avoid full root zones whenever possible but I need at least /usr writable as this zone will be using apache as installed as a Solaris package. So....I created a new zone and every time I try to remove any inherited package directories, the below occurs.... (2 Replies)
Discussion started by: LittleLebowski
2 Replies

8. Solaris

zones

Hi I need a help in creating a zones.I am trying to create zone in Sun fire T1000 server with single cpu / 8 gb Ram / 73 gb hdd.I am planning to install java based application on two different zones. iam planning to install solaris 10. Can some one suggest what is the best way to create two... (5 Replies)
Discussion started by: solaris8in
5 Replies

9. Solaris

zones

what are the files related to dns zones database file management ? (1 Reply)
Discussion started by: tirupathi
1 Replies

10. Solaris

Zones

Hi, I want to wheather there is any command by using that we can reboot all the zones , Example : I have 10 zones, I can reboot all 10 zones by using one command (2 Replies)
Discussion started by: manoj.solaris
2 Replies
Login or Register to Ask a Question