Patch Manager 2.0 vs. /var/sadm installation problem.

Hello -

uname -a (minus the host name):

SunOS 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-5_10

Due to space restrictions, /var/sadm has been moved to another drive and a

soft link in /var created so that /var/sadm --> /void/sadm

Here starts the fun:

================== <-- More text at the matching string of equal-signs.

# ./pmsetup

Installing Patch Manager 2.0 ...

Processing package instance <SUNWppror> from

</void/home/mbecker/Patches/Patch_Manager_2.0/2.8/packages/sparc>

PatchPro core functionality (Root)

(sparc) 5.0,REV=2004.06.10.04.44

Copyright 2001 Sun Microsystems, Inc. All rights reserved.

Using <> as the package base directory.

## Processing package information.

## Processing system information.

3 package pathnames are already properly installed.

## Verifying package dependencies.

Installing PatchPro core functionality (Root) as <SUNWppror>

## Installing part 1 of 1.

pkgadd: ERROR: unable to create lock file </var/sadm/install/.pkg.lock>.

pkgadd: ERROR: Database lock failed.

Installation of <SUNWppror> failed (internal error) - package

partially installed.

There are 2 more packages to be installed.

Do you want to continue with installation [y,n,?] n

2 packages were not processed!

==================

And now /var contains a partially-populated /sadm directory. The soft-link to

the second drive has been removed. So I remove /var/sadm, recreate the soft

link, and <whew> everything is back to ..normal.

Must the install remove the soft link to /var/sadm --> /void/sadm ?

Must everything be shifted around to put /void/sadm back into /var/sadm? There

have been a lot of patches installed.. and there's a lot of stuff in those

folders.

Your time is appreciated.

Mark

[1973 byte] By [MarkB] at [2007-11-26 6:59:51]
# 1

To investigate why the symbolic link at /var/sadm was removed during the pmsetup I would recommend raising a support case.

In the meatime, is there a reason for using a symbolic link from /var/sadm to /void/sadm rather than actually mounting the partition that is currently mounted at /void/sadm directly on /var/sadm?

ForumModerator at 2007-7-6 15:38:23 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

Hello -

I ..found your response while searching for the solution to another problem.

The problem was ..fixed.. by moving the contents of /var/sadm to a free partition on a second drive then mounting that partition to /var/sadm.

By "free" ... I spent an evening backing up the second disk then doing a repartition. Brute force.. but it worked.

Regards,

Mark

MarkB at 2007-7-6 15:38:23 > top of Java-index,Administration Tools,Sun Update Connection-System...