Problem creating full root zones


 
Thread Tools Search this Thread
Operating Systems Solaris Problem creating full root zones
# 1  
Old 02-23-2010
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. This is 10/9 SPARC box with the lastest patch cluster installed. What am I doing wrong?

Code:
zonecfg:cf9tomcatzone> create
zonecfg:cf9tomcatzone> set zonepath=/zpool/zones/cf9tomcatzone
zonecfg:cf9tomcatzone> set autoboot=true
zonecfg:cf9tomcatzone> remove inherit-pkg-dir
Are you sure you want to remove ALL 'inherit-pkg-dir' resources (y/[n])? y
zonecfg:cf9tomcatzone> add net
zonecfg:cf9tomcatzone:net> set physical=bge0
zonecfg:cf9tomcatzone:net> set address=192.168.246.26
zonecfg:cf9tomcatzone:net> set defrouter=192.168.246.1
zonecfg:cf9tomcatzone:net> info
net:
	address: 192.168.246.26
	physical: bge0
	defrouter: 192.168.246.1
zonecfg:cf9tomcatzone:net> end
zonecfg:cf9tomcatzone> verify
zonecfg:cf9tomcatzone> info
zonename: cf9tomcatzone
zonepath: /zpool/zones/cf9tomcatzone
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
net:
	address: 192.168.246.26
	physical: bge0
	defrouter: 192.168.246.1
zonecfg:cf9tomcatzone> commit
zonecfg:cf9tomcatzone> exit
-bash-3.00# zoneadm -z cf9tomcatzone install
Preparing to install zone <cf9tomcatzone>.
Creating list of files to copy from the global zone.
Copying <3916> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <5> packages on the zone.
Initialized <5> packages on zone.                                
Zone <cf9tomcatzone> is initialized.
Installation of <1200> packages was skipped.
The file </zpool/zones/cf9tomcatzone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.

-bash-3.00# zoneadm -z cf9tomcatzone boot
zoneadm: zone 'cf9tomcatzone': mount of /proc failed: No such file or directory
zoneadm: zone 'cf9tomcatzone': unable to mount filesystems
zoneadm: zone 'cf9tomcatzone': call to zoneadmd failed

# 2  
Old 02-23-2010
Where you trying to configure alot of times? Maybe it will et corrupt.
If the zone is in configured state now, remove the config files(uninstall and delete the zone), reboot the servers and re-try creating the zone with no mistakes.
1. remove the zone entry in /etc/zones/index

2. delete the xml file associated with the zone under /etc/zones

3. delete the directory associated with the zone (if it has been created)
# 3  
Old 02-24-2010
Quote:
Originally Posted by LittleLebowski
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.
What apache package are you using ? Correctly built ones should have their configuration files under /etc. If you are using broken packages that use /usr/local, you can simply stay with sparse zones and add a read-write lofs mount point for /usr/local.

By the way, the usual way to create whole root zones is "create -b".
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Help - Chosing backup way (full system + zones)

Hello i am new on Solaris, and i need to migrate my old AIX 5.3 to Solaris 11.2 Now i have all apps working fine but i have the backup cause i was reading and i have not idea about what method must i choose. Btw on AIX i had a mksysb backup to restore all system and obviously another backups to... (4 Replies)
Discussion started by: thorin666
4 Replies

2. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

3. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

4. UNIX for Dummies Questions & Answers

Root file system full..Need help

Hi guys, In sun E250 server,root file system is full. we cleared log files in var/adm folder syslogs,mail logs,crash logs are empty. This is a production server. we are not able to run fsck from single user mode. I have given output of df and du command.How to create space in root... (3 Replies)
Discussion started by: PUSHPARAJA
3 Replies

5. Solaris

root directory is full

root directory in server / is full 100% , i already tried to delete any core file , log , .. still files under /proc directory take more than 4 G.. what you advice please i don't want to format the server and install again and re partition , i tried the FORMAT tools ! but it seems i cant do... (5 Replies)
Discussion started by: moata_u
5 Replies

6. Solaris

Solaris 10 spac root 76% full

Hello, I know that similar questions have been posted but my situation seems a bit different and would ask for assistance and or comments to proceed. My root was 97% full I moved much of my special programming and such over to a new disk. this got me down to 76%. This originally was a 146 gig... (5 Replies)
Discussion started by: 4xburn
5 Replies

7. Solaris

Root file system is 82% full

Hi I want to find out the reason that why root partition is 82% full? when i did fu -k / then most of files were created on /var . can you please help me to find out what I need to do in order to find the reason. Regards Ajwat (2 Replies)
Discussion started by: Ajwat
2 Replies

8. UNIX for Advanced & Expert Users

root partition full and problem start

We have SunOS 5.7 m/c. Following is the situation and problem what we are facing - - The root partition was full. - No login was possible on server (not from console also) - M/c was power swithced off - After this only console login is possible. FTP is possible. No telnet is possible. I... (1 Reply)
Discussion started by: rahul72
1 Replies

9. Filesystems, Disks and Memory

root partition was full and problem start

We have SunOS 5.7 m/c. Following is the situation and problem what we are facing - - The root partition was full. - No login was possible on server (not from console also) - M/c was power swithced off - After this only console login is possible. FTP is possible. No telnet is possible. I... (3 Replies)
Discussion started by: rahul72
3 Replies
Login or Register to Ask a Question