- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11.0 swinstall error message swacl list
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 01:11 PM
тАО09-18-2002 01:11 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 01:18 PM
тАО09-18-2002 01:18 PM
SolutionRegards
Michael
These errors can be caused by confusion within the Software Distributor. There are different
sources of confusion are usually cleared up by following these instructions:
1.Login as root
2.Move the directory /var/adm/sw/security and its contents to /var/adm/sw/security.old
mv /var/adm/sw/security /var/adm/sw/security.old
3.Make an new /var/adm/sw/security directory
mkdir /var/adm/sw/security
4.Change the owner of the /var/adm/sw/security directory
chown bin:bin security
5.Change the mode of the /var/adm/sw/security directory
chmod 755 security
6.If installing from a cdrom unmount the cd.
umount /cdrom
7.Change the mode of the cdrom mount direcotry.
chmod 777 /cdrom
8.Stop the swagentd daemon.
/sbin/init.d/swagentd stop
NOTE: Execute this command on both local and remote machines, if applicable.
9.Register the source as a depot:
If the file is on the local machine:
swreg -l depot /tmp/PHxx_yyyy.depot
If the cdrom is on local machine:
swreg -l depot /cdrom
If the cdrom is on remote machine:
swreg -l depot @ "hostname":/cdrom
10.Restart the swagentd daemon.
/sbin/init.d/swagentd start
NOTE: Execute this command on both local and remote machines, if applicable.
11.If installing from a cdrom remount the cd.
mount /cdrom
12.Now re-install the software. swinstall
Of course, these errors may actually be a function of a non-root user attempting to execute
swinstall or some other Software Distributor function. To allow a non-root user to install patches
read the following.
Description
The swacl mechanism protects all the different objects and actions that Software Distributor
(SD) knows about. Note that this is not the same thing as the similarly named file system ACLs
(Access Control Lists).
The man page for swacl(1) is not particularly detailed but gives an overview. The full details are
described in the CDROM manual Managing Software with HP-UX (B2355-90054). Take a
look at Chapter 8 Controlling Access to Software Objects. There are so many options that you
really need to go through the section, but the specific area you will need is Root ACLs. This
object is the one on which you need to open permissions.
To avoid the error, insert the permissions on the host object (not root object).
For example:
1.Write the host level for swacl to a file.
# swacl -l host > swacl.host
2.Display the new file:
# cat swacl.host
#
# swacl Host Access Control List
#
# For host: hpchs9
#
# Date: Mon Dec 29 17:39:08 1997
#
# Object Ownership: User= root
# Group=sys
# Realm=hpchs9.cup.hp.com
#
# default_realm=hpchs9.cup.hp.com
group:swadm:crwit
any_other:-r--t
3.Edit the file swacl.host
4.Give permissions to the desired user.
user:desired_username:a
Note: The a gives the user all permissions. Refer to the swacl(1) man page for
details on the more specific permissions such as read/write/insert etc.
EXAMPLE: To give permissions to user max:
user:max:a
5.Now swacl.host looks like this without the comments being displayed:
user:max:crwit
group:swadm:crwit
any_other:-r--t
6.Write this new version back into the system with the swacl command.
swacl -l host -F swacl.host
7.Go back to users swinstall session and select Action->Change Target.
8.Change the target to /tmp, for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 01:20 PM
тАО09-18-2002 01:20 PM
Re: HPUX 11.0 swinstall error message swacl list
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
I know restarting swagentd is always the first thing you would do before you troubleshoot further. Just try this first and see if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 01:37 PM
тАО09-18-2002 01:37 PM
Re: HPUX 11.0 swinstall error message swacl list
I agree with Mr. Khan. In my experience, 9 times out of 10, restarting the swagent daemon clears the problem. Also, you may want to post your swinstall command to this thread...just in case.
Hope this helps,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 01:49 PM
тАО09-18-2002 01:49 PM
Re: HPUX 11.0 swinstall error message swacl list
Do these simple steps. I believe your problem should get resolved.
swacl -l depot > new_file
vi new_file
edit changes and save file
swacl -l depot -F new_file
If you need to add an entry for a user
/usr/sbin/swacl -l host -M group:groupname@hostname:writ
Regards,
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 10:09 PM
тАО09-18-2002 10:09 PM
Re: HPUX 11.0 swinstall error message swacl list
# hostname
# nslookup `hostname`
# ifconfig lan0
# nslookup
If the results are not consistent, ie. the IP address of the local hostname is not matching the IP on lan0, SD will detect that you are trying to install to a remote node.
But if you are trying to install to a remote node, you need special ACLs. Hence the error message.
The solution is to make the IP address matching the hostname and the IP address on lan0 (the primary IP!) the same.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 10:15 PM
тАО09-18-2002 10:15 PM
Re: HPUX 11.0 swinstall error message swacl list
#/usr/sbin/swagentd -r
should solve this problem, after this you may face another problem, i.e swinstall hangs while analyzing. in this case install patches from latest support plus CD.