Operating System - HP-UX
1748265 Members
4174 Online
108760 Solutions
New Discussion юеВ

Re: You do not have the required permissions to perform this SD operation while doing swinstall

 
gany59
Regular Advisor

You do not have the required permissions to perform this SD operation while doing swinstall

Hi to all,

In the hp-ux 10.20 server , i am getting the error as below while i am try to install the package:

WARNING: Could not create the session directory
"/nfs/alicfi/users/ngunasek/.sw/sessions/": Permission denied
(13). This directory is where a session's selections are
stored.

======= 02/02/10 13:17:09 GMT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "ngunasek@adlc7e".

* Beginning Selection
* Target connection succeeded for "adlc7e:/".
ERROR: "adlc7e:/opt/zlib-1[1][1].1.4-sd-10.20.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
"adlc7e:/opt/zlib-1[1][1].1.4-sd-10.20.depot".
WARNING: More information may be found in the daemon logfile on this
target (default location is adlc7e:/var/adm/sw/swagentd.log).
* Selection had errors.

the error log file is :

* Started source agent on "/opt/ucmdb" for root@adlc7e,
pid=21241, 02/01/10 18:03:49 GMT
* Agent pid=21241 completed. 02/01/10 18:04:50 GMT
* Agent pid=21238 completed. 02/01/10 18:04:50 GMT
* Started install agent on "/" for ngunasek@adlc7e, pid=7908,
02/02/10 13:17:11 GMT
ERROR: Access denied to ngunasek@adlc7e to start agent on
unregistered depot "/opt/zlib-1[1][1].1.4-sd-10.20.depot". No
(i)nsert permission on host. 02/02/10 13:17:13 GMT
* Agent pid=7908 completed. 02/02/10 13:17:13 GMT

Pls let me know ,by how it able to resolve.

5 REPLIES 5
Jupinder Bedi
Respected Contributor

Re: You do not have the required permissions to perform this SD operation while doing swinstall

please run the command by root user
All things excellent are as difficult as they are rare
Pete Randall
Outstanding Contributor

Re: You do not have the required permissions to perform this SD operation while doing swinstall

You appear to be running this as user "ngunasek". You need to be root.


Pete

Pete
Johnson Punniyalingam
Honored Contributor

Re: You do not have the required permissions to perform this SD operation while doing swinstall

>>* Session started for user "ngunasek@adlc7e".<<<

run the command as "root" see above you are running by user account "ngunasek"
Problems are common to all, but attitude makes the difference
AVV
Super Advisor

Re: You do not have the required permissions to perform this SD operation while doing swinstall

Hi,

Try as root !!

I assume, swacl will help you to run the same but anyway root permission is required (?).
Dennis Handly
Acclaimed Contributor

Re: You do not have the required permissions to perform this SD operation while doing swinstall

>WARNING: Could not create the session directory
"/nfs/alicfi/users/ngunasek/.sw/sessions/": Permission denied

(This is only a minor part of your problems.)
This happens to me when I su(1) to root and my home directory is mounted with the root-is-less-than-dirt option and doesn't have permission to write to it.