Operating System - HP-UX
1753664 Members
5820 Online
108798 Solutions
New Discussion юеВ

Even IN Root Mode swacl and swinstall does not work. RPC error

 
SOLVED
Go to solution
Anand Chauhan
Occasional Contributor

Even IN Root Mode swacl and swinstall does not work. RPC error

Thanks Sanjay and Denver Osborne however I am still getting following errors EVEN IN ROOT PRIVILEGE. please help.........

1. ON ISSUING swinstall COMMAND I GET FOLLOWING ERROR MESSAGE :
swinstall -s /tmp/mysql-3.23.42-sd-11.00.depot \*

======= 09/05/02 22:05:37 CDT BEGIN swinstall SESSION
(non-interactive) (jobid=fia-0020)

* Session started for user "root@fia".

* Beginning Selection
ERROR: "fia:/": You do not have the required permissions to select
this target. Check permissions using the "swacl" command or
see your system administrator for assistance. Or, to manage
applications designed and packaged for nonprivileged mode, see
the "run_as_superuser" option in the "sd" man page.
* Target connection failed for "fia:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is fia:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 09/05/02 22:05:37 CDT END swinstall SESSION (non-interactive)
(jobid=fia-0020)
2. AND ON ISSUING ANY swacl COMMAND LIKE swacl -l root, swacl -l host, I GET FOLLOWING ERROR MESSAGE
Andy
6 REPLIES 6
Bill McNAMARA_1
Honored Contributor

Re: Even IN Root Mode swacl and swinstall does not work. RPC error

Did you check the log file:
/var/adm/sw/swagentd.log
It works for me (tm)
Wodisch
Honored Contributor
Solution

Re: Even IN Root Mode swacl and swinstall does not work. RPC error

Well,

what does this error message look like?
Check your IPD's (Installed Products Database) security settings:

/var/adm/sw/security:
_ACL
_OWNER

NOT supported: modify them to your needs (hostname is wrong, I guess)...

Then restart the "swagentd".

HTH,
Wodisch
John Bolene
Honored Contributor

Re: Even IN Root Mode swacl and swinstall does not work. RPC error

you need to kill and restart swagentd

what it sounds like is that you changed machine name or IP or DNS lookup name without rebooting

swagentd keeps the old info and since you have changed, it does not think you are allowed
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Jeff Schussele
Honored Contributor

Re: Even IN Root Mode swacl and swinstall does not work. RPC error

I agree w/John,
Every time I get this problem, bouncing swagentd (/usr/sbin/swagentd -r) cures it.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Ashwani Kashyap
Honored Contributor

Re: Even IN Root Mode swacl and swinstall does not work. RPC error

Kill the swagentd daemon . Remove the file swlock from /var/adm/sw/products .

Restart swagentd .
Then trying running swinstall .

If that doesn't work use swacl to see the access control list for that product or user .

use man swacl for more information .
Ryan Green
Valued Contributor

Re: Even IN Root Mode swacl and swinstall does not work. RPC error

What I do in cases like this is to rename the /var/adm/sw/security directory and create a new one with the same permissions as the old. Then stop and start the swagentd process. This will repopulate the security directory.