Operating System - HP-UX
1847211 Members
7130 Online
110263 Solutions
New Discussion

Remote installation of ignite products (swacl)

 
Michael Petersen_2
Occasional Advisor

Remote installation of ignite products (swacl)

Hi !

I have an ignite server called Falcon, which also acts as out software depot server. From that server I want to push out a new version of ignite to another server called eagle. The depot on falcon is made and reg'ed, eagle can see it
micpe@eagle[ /home/micpe ]>swlist -s falcon:/var/opt/ignite/depots/recovery B5725AA
# Initializing...
# Contacting target "falcon"...
#
# Target: falcon:/var/opt/ignite/depots/recovery
#

# B5725AA C.6.9.150 HP-UX Installation Utilities (Ignite-UX)
B5725AA.Ignite-UX C.6.9.150 HP-UX System Installation Services
# B5725AA C.6.6.93 HP-UX Installation Utilities (Ignite-UX)
B5725AA.Ignite-UX C.6.6.93 HP-UX System Installation Services

When I try
swinstall -s falcon:/var/opt/ignite/depots/recovery Ignite-UX @ eagle

I get this error.

ERROR: "eagle:/": 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

I have tried on eagle to play with the swacl and it looks like this now

micpe@eagle[ /home/micpe ]>s swacl -l host
#
# swacl Host Access Control List
#
# For host: eagle
#
# Date: Thu Oct 19 13:14:23 2006
#

# Object Ownership: User= root
# Group=sys
# Realm=eagle.prod.telia.dk
#
# default_realm=eagle.prod.telia.dk
user:micpe:crwit
host:falcon.prod.telia.dk:crwit
user:micpe@falcon.prod.telia.dk:crwit
user:root@falcon.prod.telia.dk:crwit
any_other:crwit

Can any one tell what the SWACL should look on the remote node to be able to push out new software. ?
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: Remote installation of ignite products (swacl)

Shalom,

I'm not certain swacl is an issue here.

There may be hostname limitations on the NFS share point for the images that cause this. I'd check those first.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
IT_2007
Honored Contributor

Re: Remote installation of ignite products (swacl)

logon to "eagle" server and run getacl command against it to check ACL information. You can add your id using setacl command.

You need to add "root@falcon" on to ACL's list for "eagle" using setacl. look man page for setacl.
Yang Qin_1
Honored Contributor

Re: Remote installation of ignite products (swacl)

You need to configure swacl on falcon (the depot source server) to grant access to eagle(?).

on falcon, run swacl -l host and see if

user:micpe@eagle.prod.telia.dk:crwit
user:root@eagle.prod.telia.dk:crwit

are configured.

Yang
Michael Petersen_2
Occasional Advisor

Re: Remote installation of ignite products (swacl)

hi again.

I have tried to configure the swacl as you said, but still the same error. Here are how my swacl looks on both hosts

micpe@falcon[ /home/micpe ]>s swacl -l host
#
# swacl Host Access Control List
#
# For host: falcon
#
# Date: Thu Oct 19 14:56:59 2006
#

# Object Ownership: User= root
# Group=sys
# Realm=falcon.prod.telia.dk
#
# default_realm=falcon.prod.telia.dk
user:micpe:crwit
user:micpe@eagle.prod.telia.dk:crwit
user:root@eagle.prod.telia.dk:crwit
any_other:-r---

micpe@eagle[ /home/micpe ]>s swacl -l host
Password:
#
# swacl Host Access Control List
#
# For host: eagle
#
# Date: Thu Oct 19 14:58:11 2006
#

# Object Ownership: User= root
# Group=sys
# Realm=eagle.prod.telia.dk
#
# default_realm=eagle.prod.telia.dk
user:micpe:crwit
host:falcon.prod.telia.dk:crwit
user:micpe@falcon.prod.telia.dk:crwit
user:root@falcon.prod.telia.dk:crwit
any_other:crwit
micpe@eagle[ /home/micpe ]>

Yang Qin_1
Honored Contributor

Re: Remote installation of ignite products (swacl)

Check /var/adm/sw/swagent.log and swagentd.log on both servers and see if you can find some errors there.
Michael Petersen_2
Occasional Advisor

Re: Remote installation of ignite products (swacl)

Hi Yang

I have checked on falcon no errors, on eagle the client I get det following from the swagentd.log

ERROR: Access denied. The user does not have the necessary (w)rite or
(i)nsert permission for the target "/". Please modify your
permissions using the "swacl" command. pid=2117 10/19/06
14:59:05 METDST
* Agent pid=2117 completed. 10/19/06 14:59:06 METDST
Ivan Krastev
Honored Contributor

Re: Remote installation of ignite products (swacl)

Hi Michael,

check for wrong entries in hosts file for that server. Also reload swagent (/usr/sbin/swagentd -r).

regards,
ivan
Yang Qin_1
Honored Contributor

Re: Remote installation of ignite products (swacl)

Which user your logged on with on eagle? root, or micpe? run swinstall without any option on eagle, do you also have error?

Yang
Michael Petersen_2
Occasional Advisor

Re: Remote installation of ignite products (swacl)

Hi Guys...

Thanks for the replies, I have tried restarting swagent, and I can install the product without any errors if I from eagle do a manual install either from command line or interactive.

Michael
Michael Petersen_2
Occasional Advisor

Re: Remote installation of ignite products (swacl)

for got to say, I'm using root to get it to work now, but want to have it to work as a normale user
Bob Ingersoll
Valued Contributor

Re: Remote installation of ignite products (swacl)

You must be root to install Ignite. You can't change this requirement by modifying swacl.
IT_2007
Honored Contributor

Re: Remote installation of ignite products (swacl)

for got to say, I'm using root to get it to work now, but want to have it to work as a normale user
=====================
You need to assign permissions to user from which you want to kick off. Also, user should have root privilages to install any software on the server.