07-27-2007
pkgadd issues
I have a server running solaris 8 with veritas 4.1. I am trying to install a package on the server. The package install fails miserably though. I have installed the very same package on other development servers, but for some reason, the install fails on this, soon to be prod, server. No idea why. here's the failed output.
-----------------------------------------
ldappb01-lh:/home/se05922# pkgadd -d . CPTHsone
Processing package instance <CPTHsone> from </home/se05922>
CP Sun ONE Secure Password Plug-in
(SPARC) 4.2.14
Copyright (c) 1999-2004 Critical Path Inc.
All Rights Reserved.
Enter the user id for this installation <noaccess> [?,q] ldapadm
Enter the group id for this installation <other> [?,q] ldap
Enter base installation directory </opt/criticalpath> [?] /apps/iplanet/ldap/criticalpath
//apps/iplanet/ldap/criticalpath doesn't exist, do you want to create it? y
mkdir: Failed to make directory "/apps/iplanet/ldap/criticalpath"; Permission denied
Installation of <CPTHsone> was terminated due to user request.
No changes were made to the system.
------------------------------------------------
So why would permission be denied? It doesnt make sense. Here is df output. I think my filesystems are ok.
------------------------------------------------------
ldappb01-lh:/apps/iplanet/ldap/current/slapd-directory# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/bootdg/rootvol
5051118 4191774 808833 84% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 29113832 16 29113816 1% /var/run
dmpfs 29113816 0 29113816 0% /dev/vx/dmp
dmpfs 29113816 0 29113816 0% /dev/vx/rdmp
/dev/vx/dsk/bootdg/altboot
5051118 27086 4973521 1% /altboot
/dev/vx/dsk/bootdg/0 128988231 1614767 126083582 2% /space/0
swap 512000 128 511872 1% /tmp
/space/0/home 128988231 1614767 126083582 2% /home
/space/0/apps 128988231 1614767 126083582 2% /apps
/space/0/cores 128988231 1614767 126083582 2% /var/cores
/dev/vx/dsk/datadg/ldapvol
20971520 3231897 16630920 17% /apps/iplanet/ldap
-----------------------------------------------------
/etc/vfstab info.
ldappb01-lh:/apps/iplanet/ldap/current/slapd-directory# more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes logging
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/vx/dsk/bootdg/swapvol - - swap - no nologging
/dev/vx/dsk/bootdg/rootvol /dev/vx/rdsk/bootdg/rootvol / ufs 1 no nologging
/dev/vx/dsk/bootdg/altboot /dev/vx/rdsk/bootdg/altboot /altboot ufs 2 yes logging
/dev/vx/dsk/bootdg/0 /dev/vx/rdsk/bootdg/0 /space/0 ufs 2 yes logging
swap - /tmp tmpfs - yes size=500m
### START OF SYSCONF 3.0 inserts
/space/0/home - /home lofs - yes -
/space/0/apps - /apps lofs - yes -
/space/0/cores - /var/cores lofs - yes -
### END OF SYSCONF 3.0 inserts
#NOTE: volume rootvol () encapsulated partition c1t0d0s0
#NOTE: volume altboot () encapsulated partition c1t0d0s1
#NOTE: volume swapvol () encapsulated partition c1t0d0s5
#NOTE: volume 0 () encapsulated partition c1t0d0s7
/dev/vx/dsk/datadg/ldapvol /dev/vx/rdsk/datadg/ldapvol /apps/iplanet/ldap vxfs 1 yes -
-----------------------------------------------------------
mount output
ldappb01-lh:/apps/iplanet/ldap/current/slapd-directory# mount
/ on /dev/vx/dsk/bootdg/rootvol read/write/setuid/intr/largefiles/onerror=panic/dev=44c0000 on Thu Jun 28 18:08:14 2007
/proc on /proc read/write/setuid/dev=4e00000 on Thu Jun 28 18:08:14 2007
/dev/fd on fd read/write/setuid/dev=4ec0000 on Thu Jun 28 18:08:15 2007
/etc/mnttab on mnttab read/write/setuid/dev=4fc0000 on Thu Jun 28 18:08:19 2007
/var/run on swap read/write/setuid/dev=1 on Thu Jun 28 18:08:19 2007
/dev/vx/dmp on dmpfs read/write/setuid/dev=2 on Thu Jun 28 18:08:20 2007
/dev/vx/rdmp on dmpfs read/write/setuid/dev=3 on Thu Jun 28 18:08:20 2007
/altboot on /dev/vx/dsk/bootdg/altboot read/write/setuid/intr/largefiles/logging/onerror=panic/dev=44d30b0 on Thu Jun 28 18:08:27 2007
/space/0 on /dev/vx/dsk/bootdg/0 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=44d30b1 on Thu Jun 28 18:08:27 2007
/tmp on swap read/write/setuid/size=500m/dev=4 on Thu Jun 28 18:08:27 2007
/home on /space/0/home read/write/setuid/dev=44d30b1 on Thu Jun 28 18:08:27 2007
/apps on /space/0/apps read/write/setuid/dev=44d30b1 on Thu Jun 28 18:08:27 2007
/var/cores on /space/0/cores read/write/setuid/dev=44d30b1 on Thu Jun 28 18:08:27 2007
/apps/iplanet/ldap on /dev/vx/dsk/datadg/ldapvol read/write/setuid/delaylog/largefiles/ioerror=mwdisable/dev=44d2110 on Thu Jul 26 19:09:21 2007
If anyone can give some input, that would be much appreciated. If you think you need further info, please ask me and i can provide.
Thanks.
-Sowser
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am adding gcc 3.3.2 to my unix box what is the best way
to do it???? (4 Replies)
Discussion started by: alsande
4 Replies
2. Solaris
is there an option in pkgadd to accept the default option?
I want to use pkgadd in a script and do not want to stop at intercative questions.
thx. (6 Replies)
Discussion started by: melanie_pfefer
6 Replies
3. UNIX for Dummies Questions & Answers
Please inform me on how I can resolve the PaTcH_MsG 8 Version message below I am running solaris 9 9/05 HW on a Sun V445. Thank you.
# pkgadd SUNWqlc
Processing package instance <SUNWqlc> from </var/spool/pkg>
Qlogic ISP 2200/2202 Fibre Channel Device Driver
(sparc)... (3 Replies)
Discussion started by: GLJ@USC
3 Replies
4. Solaris
I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output.
pkgadd -d packagename.dstream
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) :
Processing... (1 Reply)
Discussion started by: mokkan
1 Replies
5. Solaris
Hi there, I need to install the Sun explorer package on hundreds of boxes and am writing a script to install it ..However, When you run
pkgadd -d SUNWexplo
It is interactive .....well i say interactive ...it gives you two questions both of which I answer a simple yes to.
So i tried
... (9 Replies)
Discussion started by: hcclnoodles
9 Replies
6. Solaris
Hi all.
Is there an option to #pkgadd to test if package bundle you want to install requires a reboot?
#pkgadd -d "package bundle" an option like test or a dry run?
Suggestions, anyone? :confused:
Reloader (2 Replies)
Discussion started by: Reloader
2 Replies
7. Solaris
Morning all,
I am attempting to load a package from a Solaris 8 CDROM.
This fails with the error :
"pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap>
No changes were made to the system"
Any help would be appreciated
Andy (6 Replies)
Discussion started by: AndyD
6 Replies
8. Solaris
Hi All,
Good Mng,Here I am getting one error while adding the top package to one of my Aun server.
root@HYDREM01 # pkgadd -d top-3.6.1-sol9-sparc-local
The following packages are available:
1 SMCtop top
(sparc) 3.6.1
Select package(s) you wish to process (or... (6 Replies)
Discussion started by: lbreddy
6 Replies
9. Shell Programming and Scripting
Hi,
Please could someone help me, understand how pkgadd works within unix.
I have a software file, and I need to package this up and then pkgadd this to another server. Please could some advise me the best way to do this.
regards
venhart (2 Replies)
Discussion started by: venhart
2 Replies
10. Solaris
Hi,
when I install a package using pkgadd, it correctly installs the binary files with the user name that I want.
However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is.
I could see that before installing,... (1 Reply)
Discussion started by: funwithdolphin
1 Replies