Operating System - HP-UX
1833171 Members
3701 Online
110051 Solutions
New Discussion

cannot install trial version of PRM

 
simon_108
Advisor

cannot install trial version of PRM

When I download the trial version of PRM for HPUX 11.00, I cannot use swinstall -s /pathname/prm.depot for installation. It shows the error messages as below:

"b180l:/var/spool/sw/B3835DA_TRY,r=C.02.02,a=HP-UX_B.11.00_32_64.depot": You do not have the required permissions to perform this SD operation. Please check to see that you have the required permissions using the "swacl" command or see your system administrator for assistance.

I'm root user for installation. How can I solve it?

6 REPLIES 6
Michael Tully
Honored Contributor

Re: cannot install trial version of PRM

first try to stop and restart swagent. Is the depot file on the same server as to where you are attempting installation?

/sbin/init.d/swagent stop
/sbin/init.d/swagent start

Also you might like to try it like this:
swinstall -s /pathname/prm.depot \*
Anyone for a Mutiny ?
simon_108
Advisor

Re: cannot install trial version of PRM

Still have problem as below:

# /sbin/init.d/swagent stop
sh: /sbin/init.d/swagent: not found.
# /sbin/init.d/swagentd stop
# ps -ef|grep sw
root 0 0 0 Jun 29 ? 0:04 swapper
root 911 1 0 Jun 29 ? 0:08 /usr/sbin/swagentd -r
# /sbin/init.d/swagentd start
# pwd
/var/spool/sw
# ls
B3835DA_TRY,r=C.02.02,a=HP-UX_B.11.00_32_64.depot
# ,r=C.02.02,a=HP-UX_B.11.00_32_64.depot \* <

======= 07/06/04 15:29:12 EAT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@b180l".

* Beginning Selection
* Target connection succeeded for "b180l:/".
ERROR:
"b180l:/var/spool/sw/B3835DA_TRY,r=C.02.02,a=HP-UX_B.11.00_32_64.depot":
You do not have the required permissions to perform this SD
operation. Please check to see that you have the required
permissions using the "swacl" command or see your system
administrator for assistance.
* Source connection failed for
"b180l:/var/spool/sw/B3835DA_TRY,r=C.02.02,a=HP-UX_B.11.00_32_64.depot".

WARNING: More information may be found in the daemon logfile on this
target (default location is b180l:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 07/06/04 15:29:13 EAT END swinstall SESSION (non-interactive)
Jan Sladky
Trusted Contributor

Re: cannot install trial version of PRM

hi Simon,
I have same problem and we have tried to solve it here
but only step into single user mode and back
helped.

so if it is possible in your case, try it:

:/root# shutdown now (or init 1)

than

:/root# init 3

Keep on mind that all services from runlevel3 and 2 will be stopped, so if the server is in product inviroment, do it in period of lowest load, it will take several minutes go there and back.

check /etc/rc.log after that

hope this will help you

br Jan
GSM, Intelligent Networks, UNIX
Michael Tully
Honored Contributor

Re: cannot install trial version of PRM

Instead of attempting to do this from the command line, try using the interactive swinstall screen and make the selection that way.

You haven't changed the hostname or the IP address recently have you? As sometimes the ACL file does not realise this ...
Anyone for a Mutiny ?
simon_108
Advisor

Re: cannot install trial version of PRM

I changed the IP address before and modify the /etc/rc.config.d/netconf file already and boot up normal. Do you mean that have alternate file to recognize the IP?
T G Manikandan
Honored Contributor

Re: cannot install trial version of PRM

ps -ef|grep swagent

kill the process

Then remove the lock file /var/adm/sw/products/swlock

Then start the swagentd

/usr/sbin/swagentd