Operating System - HP-UX
1834136 Members
2299 Online
110064 Solutions
New Discussion

swinstall error under HPUX 10.20

 
SOLVED
Go to solution
Marc Rogers
Occasional Contributor

swinstall error under HPUX 10.20

When I try to install a package (the openssh depot) swinstall fails complaining that the package is incompatible. If forced, using:

"-x allow_incompatible=true"

the install allows selection of that package, moves onto the analysis phase and fails with:

ERROR: "diogenes:/": One or more filesystems that appear in the filesystem table are not mounted and cannot be mounted.

Examination of the swagent log reveals:

ERROR: The /lib directory is on a mounted volume. Cannot install software unless /lib is on the root volume, due to shared libraries. (They reside in /lib, and must be present for most HP-UX commands to run.)

/lib is as normal a symlimk to /usr/lib, which
is mounted along with all the other mountpoints:

# df
/home (/dev/vg00/lvol4 ): 27844 blocks 3445 i-nodes
/opt (/dev/vg00/lvol5 ): 287708 blocks 38515 i-nodes
/tmp (/dev/vg00/lvol6 ): 24890 blocks 15180 i-nodes
/usr (/dev/vg00/lvol7 ): 133232 blocks 41014 i-nodes
/var (/dev/vg00/lvol8 ): 11428 blocks 69766 i-nodes
/stand (/dev/vg00/lvol1 ): 68144 blocks 7665 i-nodes
/ (/dev/vg00/lvol3 ): 115586 blocks 12041 i-nodes

Can anyone shed any light on this?

Thanks in advance,

Marc Rogers
4 REPLIES 4
Robin Wakefield
Honored Contributor
Solution

Re: swinstall error under HPUX 10.20

Hi,

Check if the line:

OPERATING_SYSTEM=HP-UX

is in your /etc/rc.config.d/netconf. It has caused this problem in the past.

Robin.
Robin Wakefield
Honored Contributor

Re: swinstall error under HPUX 10.20

Sorry, forgot one step: if you find the above to be the case, issue the command afterwards:

setuname -s HP-UX -t

Robin
John Waller
Esteemed Contributor

Re: swinstall error under HPUX 10.20

Are you installing openssh depot from the correct media? while stressed one night I accidently tried to load an application from the 7xx series aplication CD instead of the 8xx series ionto a system and wondered why it came up with the error it was incompatible.
linuxfan
Honored Contributor

Re: swinstall error under HPUX 10.20

Hi Marc,

I also see an error
ERROR: "diogenes:/": One or more filesystems that appear in the filesystem table are not mounted and cannot be mounted.

which means there is/are some filesystem(s)listed in /etc/fstab which is/are not mounted.
swinstall by default expects all the filesystems to be mounted. To disable this feature, use
swinstall -x mount_all_filesystems=false
option

-HTH
I am RU
They think they know but don't. At least I know I don't know - Socrates