Problem installing SSGD on Solaris 9
I am trying to install SSGD solaris package and I am getting the following error:
=========
/var/tmp//installpDaG7s/checkinstallsDaG7s: /tmp/ttainst_0: permission denied
pkgadd: ERROR: request script did not complete successfully
Installation of <tta> failed.
No changes were made to the system.
====
I traced the installation using -v option for pkgadd and I am seeing the following:
+ cd /tmp
+ mkdir -m 700 ttainst_0
+ [ 0 -ne 0 -a 0 -lt 100 ]
+ cd /tmp
+ [ 0 -ge 100 ]
TTA_TMPDIR=/tmp/ttainst_0
+ export TTA_TMPDIR
+ chown nobody /tmp/ttainst_0
+ chmod 777 /tmp/ttainst_0
+ [ ! -f /tmp/tta_noreqcd ]
+ cd /tmp/ttainst_0
After that I get "permission denied" error that I listed previously.
Does anybody know how to avoid the "permission denied" error?
I created the 'ttasys' and 'ttaserv' users and the 'ttaserv' group that are required by Installation Guide.
I will really appreciate any help in this matter.
Thanks a lot
Boris
# 1
Boris,
what version of SSGD are you trying to install? From where are you installing the the package from? What is your umask set to? I take it you are installing as root.
Does /tmp have enough space? You might try setting TMPDIR to a diff file system
$ TMPDIR=/;export TMPDIR
To debug further run
$ touch /tmp/pkgadd.debug
then try to install again.
# 2
Thanks a lot for your response.
I am installing version 4.20.983 for Sparc Solaris. I put the package in /opt and ran "pkgadd -d /opt/ttaspso.pkg". I have lots of empty space in /tmp:
# df -k /tmp
Filesystemkbytesusedavail capacity Mounted on
swap808144011496 80699441%/tmp
I am running this installation as a root. I have not explicitely set 'umask', but I tried to also set 'umask 022'
When I ran 'touch /tmp/pkgadd.debug', I didn't find anything in that file.
I still have the same error.
Do you have any more ideas?
Thanks a lot
Boris
# 3
the touching of the pkdadd.debug file just allows for debugging to be written to the /opt/tarantella/var/log/setup.log and start.log or if the install bombs our early to /tmp/tta.inst*
check in these files for more info
also have you installed /usr/lib/libsendfile.so lib file per
http://docs.sun.com/source/819-4308-10/README.htm#os_mods
# 4
Thanks again for a response. I think I had some weird permission problem. I read in 'pkgadd' man page that by default the 'request' script runs as user 'nobody', but you can make it run as 'root' if you set the following in the admin file /var/sadm/install/admin/default:
rscriptalt=root
After I put that line in the default admin file, the installation started to go OK.
Thanks again
Boris