Operating System - HP-UX
1833780 Members
2386 Online
110063 Solutions
New Discussion

swinsall denies root access to depot

 
SOLVED
Go to solution
Jennifer Arey
Occasional Advisor

swinsall denies root access to depot

I have been trying to get CIFS to run on my shiny new L2000. It is running HP-UX 11.0 (64-bit). When I go to install using swinstall from the June 2000 CD mounted on /cd I get the following error:

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.

Then I decide to give this a shot. I try this command:

swacl -l depot

Which, in turn, gives me this error message:

You are not authorized to perform the requested operation on the "depot" ACL at "[system]:/var/spool/sw". Depending on whether you are attempting to list or modify the ACL, you do not have the required "test" or "control" permission, respectively. (Use the "id" command to find out the identity information used by SD to determine your access permissions.)

I am root (GID=0). Why is it doing this?

I can try anything on this box because it is a test system.

Thanks in advance,
Jennifer Arey
11 REPLIES 11
Alan Riggs
Honored Contributor

Re: swinsall denies root access to depot

I saw this once on a brand new system that had not had networking enabled. It has been a while, but I believe I worked around it by setting the IP to 127.0.0.1 in /etc/hosts.
Jim Shroyer_1
Occasional Advisor

Re: swinsall denies root access to depot

Jennifer,

As a workaround, you might try using a uniquely named mount point for your CD - This should take care of the problem. If not, try: "swreg -l depot"

Regards,

Matthew
Jim Shroyer_1
Occasional Advisor

Re: swinsall denies root access to depot

SD does indeed run more smoothly standalone if you opt for the local loopback approach. If you do decide to configure the server where SD needs networking however, you might want to setup your /etc/resolv.conf and /etc/nsswitch.conf files and restart swagentd.

Matthew
Jennifer Arey
Occasional Advisor

Re: swinsall denies root access to depot

I tried all three of these suggestions. Localhost was already 127.0.0.1 in /etc/hosts. I tried both changing the mount point, and registering the depot, but neither fixed the problem. swreg even developed a new permissions error similar to those I stated in my initial message.

Good ideas, but no dice.
Any other ideas?
Byron Myers
Trusted Contributor

Re: swinsall denies root access to depot

Jennifer, try "swagnetd -r". sometimes this
daemon gets confused and spits out ACL permission type messages. This command will just restart swagentd.
If you can focus your eyes far and straight enough ahead of yourself, you can see the back of your head.
James R. Ferguson
Acclaimed Contributor
Solution

Re: swinsall denies root access to depot

Jennifer:

This seems to have come up before. See this thread for a solution:

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc5ed6c96588ad4118fef0090279cd0f9,00.html

...JRF...
Alan Riggs
Honored Contributor

Re: swinsall denies root access to depot

Jennifer -- set the hostname to 127.0.0.1 in /etc/hosts, not just localhost.
Peter Singhof
Advisor

Re: swinsall denies root access to depot

Hi Jennifer,

did you mount the cd read-only(-o ro). I've already seen the error message you get when I forgot to mount the cd in read-only mode.

Regards,
Peter
Wodisch
Honored Contributor

Re: swinsall denies root access to depot

Hello Jennifer,
perhaps a silly question - but do you have installed "LAN/9000" ???
In the past (at least) you got the question
about having "networking" installed or not
but if said "no" - swinstall would not work
and the whole installation process broke...
So, check that (SAM->Kernel Configuration->Subsystems), and install it - if missing.
Then you should activate this LAN-card with
a "real" ip-address (e.g. 192.168.1.1 or so)
in "/etc/rc.config.d/netconf" and "/etc/hosts",
reboot and try again.
HTH,
Wodisch
Jennifer Arey
Occasional Advisor

Re: swinsall denies root access to depot

Thanks for the help, I tried rebooting the box and that seemed to do it. This was suggested in the other thread that James Furgeson suggested to try. This of course restarted everyting and got rid of the glitch. Thanks again to everyone.

Re: swinsall denies root access to depot

The most probably thing is to kill and restart the swagentd. This is a "ususal" solution for this prob you can even get from the ITRC support engineers.