LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 04-01-2009, 11:48 AM   #1
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 257

Rep: Reputation: 31
SUNWs8brandk and containers


Hello

Is there another way to find a copy of SUNWs8brandk other than the Solaris 8 Containers package?

I have a system with Solaris 10 10/8 and need to install containers for an application we have that runs fine on our Solaris 8 box but will not run on Solaris 10. I downloaded the file s8containers-bundle-solaris10-sparc.tar.gz and when I untar it and go to install the package SUNWs8brandk it get checksum errors and it won't install.

The checksum errors appear on the files: copyright, depend, and pkginfo

I checked the download signature with the package and it checked out. It appears that the package SUNWs8brandk in the package is bad.
I assumed that my download was somehow bad and have downloaded the file 3 times over the past 2 weeks each download has the same error.

Please help.
Thank you
 
Old 04-01-2009, 02:20 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,950

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
I had once a similar problem with a bad patch zip file and I finished up using the .jar file from the signed patch to install it, although I've informed them to replace the bad zip.
So just for curiosity, I've downloaded the s8containers-bundle-solaris10-sparc.tar.gz in a sparc box running Solaris 10 5/08, extracted and followed the instructions in the README, i.e for my Solaris 5/08:
Quote:
cd s8containers-bundle/1.0.1/Product
pkgadd -d `pwd` SUNWs8brandr SUNWs8brandu SUNWs8brandk
and it complained because SUNWs8brandk wasn't in the current directory. I think it's a "usual" Sun documentation error. They meant to write SUNWs8p2v instead of SUNWs8brandk and to confirm I did a little search and came across this wiki that confirmed my thoughts...
 
Old 04-01-2009, 05:21 PM   #3
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 257

Original Poster
Rep: Reputation: 31
Thank you

I noticed there is a SUNWs8p2v package. The documentation I was reading didn't even mention it. I read the wiki page you pointed to and I like their directions better.

I will update this when I complete the install.
I must admit it find it curious that after a week of being posted on forums.sun.com I did not get an answer. One day here in a Linux forum I get an answer. I like this forum.
Thank you again.
 
Old 04-01-2009, 05:44 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,950

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
In general Sun wikis are more updated specially regarding new products. And the documentation is better understandable than the one in docs.sun.com...

Regards
 
Old 04-02-2009, 11:28 AM   #5
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 257

Original Poster
Rep: Reputation: 31
I tried to add SUNWs8p2v and got the same error as when I tried to add SUNWs8brandk which is

file size <93> expected <95> actual
file cksum <8258> expected <8284> actual

it complains about the files (copyright, depend, and pkginfo)

The downloaded zip file passes checksum errors but the individual packages included in the zip file are bad.

Can containers be installed without either of those two packages?
 
Old 04-02-2009, 12:51 PM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,950

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
How did you get the file, cause I've downloaded from here (after signing-in of course), using firefox and had no problems extracting and installing.
Btw how did you extract the tar.gz file. You can either use the gunzip/tar procedure from the README, or use the gtar (gnu tar) to do it in a single step (gtar zxvf archive.tar.gz).
I don't know if you can install a broken package like the one you mentioned, because at least the depend file is needed to find dependencies.

Last edited by bathory; 04-02-2009 at 12:53 PM.
 
Old 04-02-2009, 02:14 PM   #7
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 257

Original Poster
Rep: Reputation: 31
I got it from the same place. I think that is the only place to get it.
I used "tar xvzf <filename.tar.gz>"
 
Old 04-02-2009, 02:21 PM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,950

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Try gtar xvzf <filename.tar.gz> (use the gnu tar), as the solaris tar doesn't support all the features of gnu tar.
If you don't have it installed, you can
Code:
gunzip filename.tar.gz
tar xvf filename.tar
 
Old 04-03-2009, 02:58 PM   #9
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 257

Original Poster
Rep: Reputation: 31
My Mother thanks you,
My Father thanks you,
and I thank you.

Using gtar rather than tar worked perfectly. The packages installed without problem. Go figure!

One last issue I hope.
I followed the directions on the wiki page you pointed me to. I did the

zonecfg -z s8-zone

butwhen I tried to do the

zoneadm -z zone-s8 install -u -a solaris8-image.flar

I get the error zone-s8, no such zone configured. If I do a "zonecfg -z zone-s8 info" it shows the info about the zone and if I do a "zonecfg -z zone-s8" and a create it says zone already exists.

Thank you for all the help you have been.
 
Old 04-03-2009, 04:23 PM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,950

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Post

I cannot help you further, as I have no need to migrate anything for Sol8 to Sol10.
But from the wiki it seems that the error you get is normal:
Quote:
# zonecfg -z s8-zone
s8-zone: No such zone configured
Use 'create' to begin configuring a new zone.
...
So please follow the instructions there to the letter, take a look at the comments of other readers and if you have any questions I guess you have to ask the wiki writer.

Give my regards to your mom and dad.

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: An OpenVZ Experiment - How many containers? LXer Syndicated Linux News 0 12-22-2008 06:30 PM
DISCUSSION: Protecting Files Using Encrypted Containers XavierP LinuxAnswers Discussion 1 02-25-2007 07:23 AM
fast containers gecoool Programming 4 02-02-2006 03:55 AM
how to free linked list containers? rgiggs Programming 3 07-30-2004 02:24 PM
stl containers champ Programming 2 04-09-2003 06:27 AM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration