Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confused by pkgadd error 3

Status
Not open for further replies.

JMCraig

Programmer
Feb 20, 2002
217
US
Hi Folks,

OK, simple problem (except for a Solaris newbie like me!). I am installing OpenSSH on a pair of servers. The first server went fine. Now I'm trying to do it on the second one: it won't add the packages.

FTP'd the packages from freeware.sun.com (it has a number of different packages which are required, but the behavior's the same on all of them so here's a representative sample):

get openssh-4.3p2-sol8-sparc-local.gz

Unzipped it:

# gunzip openssh-4.3p2-sol8-sparc-local.gz

I only got one file and I thought I would get a directory tree, but maybe I just saw that stuff going by during the pkgadd process on the prior server, so I'm unconcerned. Then when I do the pkgadd command it complains strangely:

# pkgadd -d openssh-4.3p2-sol8-sparc-local
pkgadd: ERROR: no packages were found in </var/tmp/dstreAAAXBaObN>

Is this a way of saying the the file is corrupted somehow so that the tmp file it tried to use in the process didn't work right or what? I tried redoing the download in a different way and the byte counts are identical to the original. gzip doesn't complain about the zip file being bad or anything. What should I try next?

Any suggestions welcomed most heartily!

John

John Craig
Alpha-G Consulting, LLC
 
kHz,

Here's the OBP's info:
[tt]
# prtconf -V
OBP 3.16.1 1999/04/19 07:55
[/tt]
Where can I find out if a given patch is compatible with this? (I don't see any mention of OBP in the descriptions of patches that appear in the list on the SunSolve page of patches for Solaris 8.)

Also, I don't find the patch you recommended on the Sun site I'm looking at:


Is there somewhere else I should be looking? (Nothing shows up that looks promising on a web search.) I've also looked through this recent "patch report"--again no OBP info (also not mention of an Ultra-250--just too old, I'm guessing):


Annihilannic,

Here's the space usage. There appears to be plenty of space on /var (and /tmp also, if that matters):

[tt]
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d50 1525647 702646 761976 48% /
/dev/md/dsk/d56 1525647 812875 651747 56% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/md/dsk/d53 2056211 35357 1959168 2% /var
swap 2105920 0 2105920 0% /var/run
swap 2106264 344 2105920 1% /tmp
/dev/md/dsk/d54 1525647 1035111 429511 71% /opt
/dev/md/dsk/d55 9075677 698958 8285963 8% /export/home
[/tt]

It seems like I'd better tell the client that about all I can figure is for them to buy some time from Sun--and that might get them somewhere.

Thanks,

John

John Craig
Alpha-G Consulting, LLC
 
JMCRAIG;

I would not bother spending money on Sun support until you have updated system to latest kernel patch, and OBP level. This is the first thing Sun will tell you to do.


OBP patch can be found at below link; (look at quick facts section Flash PROM, this is a public patch so you can download.)


For future system searches go to there is a section Sun System handbook and you can pick and choose if it is a server array then what model you are researching.

Also on the link main page there is a Patches and update section which will bring you to a page where you can search patchfinder section for specific patch # (ex 108528) this will give you the latest REV, make sure to Look at REquired patches section of the patch page as you will need to have other specific patches and levels to update kernel patch. FYI the Kernel patch is also a public patch so you can download free.

Also look for pkgadd and patchadd patches.

There are also cluster patches. (I use these only when I do an initial install) before putting into production.

So I would suggest these improvements to your customer before they waste any money. MAKE SURE YOU HAVE A GOOD BACKUP BEFORE INSTALLING KERNEL PATCHES.


Thanks

CA
 
These are the first few patches in the last 8_Recommended bundle I downloaded:

[tt]112396-02 SunOS 5.8: /usr/bin/fgrep patch
111111-04 SunOS 5.8: /usr/bin/nawk patch
110662-20 SunOS 5.8: ksh patch
110380-06 SunOS 5.8: ufssnapshots support, libadm patch
110934-24 SunOS 5.8: package utilities patch
108987-17 SunOS 5.8: Patch for patchadd and patchrm[/tt]

I don't see that installing a recent Kernel Jumbo Patch (e.g. 108528) will make much difference to your problem unless you also install these... personally I would just chuck the latest Recommended bundle on there. But if you wanted to keep changes to a minimum I would go for the ones above.

Annihilannic.
 
Hi Folks,

Hearty thanks, kHz, for hanging in there with me (although I didn't mark any particular post of yours with a star, I appreciate your assistance greatly).

Anihilannic,
The package utilities patch you listed did the trick. I did find that a number of the patches you recommended said they had newer versions ("obsoleted" by a different dash-number); at any rate, I am so unfamiliar with this patching-Solaris-game that I didn't know what to look for--big help to have some patch numbers.

BTW, how do I find the "latest Recommended bundle"? And is that any different from a "recent Kernel Jumbo Patch"? (It seems it is from what you say.) Would a "latest recommended bundle" include kernel patches? (I'm not sure I can ensure the system is backed up properly; I'll have to check with the on-site folks and doing a bare-metal restore remotely sounds tricky.)

CA,
Most grateful for the explicit link!

Cheers, friends!

John

John Craig
Alpha-G Consulting, LLC
 
JMCRAIG;

Recommended Clusters can be found at
look for section ;

Downloads

Recommended and Security Patches
» Recommended Patch Clusters
» Recommended and Security Patches
» Security T-Patches and ISRs
Please be advised that in the near future we will publish details about a new directory structure for FTP. Learn more.

from there you will get to clusters page and can search for clusters pertaining to the OS you are working on, and yes it includes the latest Kernel patch.

Thanks

CA
 
hi... dont think anyone suggested yet but do u have the admin file under /var/sadm i believe.. check it out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top