- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with swinstall and swacl - please help !
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
Forums
Discussions
Discussions
Discussions
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
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
04-04-2005 09:59 AM
04-04-2005 09:59 AM
This is what happens when I try to install my package :
Installing package : CSTBscs
======= 04/04/05 20:04:16 METDST BEGIN swinstall SESSION
(non-interactive) (jobid=dspp-0041)
* Session started for user "root@dspp".
* Beginning Selection
* Target connection succeeded for "dspp:/".
ERROR:
"dspp:/misc/source/common/packaging/generator/CSTBscs-4.1.1-31789.HPUX.IA-64.depot":
You do not have the required permissions to perform this
operation. 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.
* Source connection failed for
"dspp:/misc/source/common/packaging/generator/CSTBscs-4.1.1-31789.HPUX.IA-64.depot".
WARNING: More information may be found in the daemon logfile on this
target (default location is dspp:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 04/04/05 20:04:17 METDST END swinstall SESSION
(non-interactive) (jobid=dspp-0041)
As you can see the error suggests a permission problem. I have read about swacl and tried to use it, but when I do I also get errors :
# swacl -l depot
#
# swacl Depot Access Control List
#
# For depot: dspp:/var/spool/sw
#
# Date: Mon Apr 4 20:05:14 2005
#
ERROR: You are not authorized to perform the requested operation on
the "depot" ACL at "dspp:/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.)
So, is there some way I can make root so it can install packages ? I would have thought this would be the default anyway, so maybe somebody who used this system before me broke the default acl's ? Any help with this would be appreciated. Many thanks.
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 10:06 AM
04-04-2005 10:06 AM
Re: Problems with swinstall and swacl - please help !
/usr/sbin/swagentd -r
And then run swinstall
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 01:40 PM
04-04-2005 01:40 PM
Re: Problems with swinstall and swacl - please help !
Do like this (restart software agent):
[server:/] ps -ef|grep swage
root 1431 1 0 Mar 16 ? 0:38 /usr/sbin/swagentd -r
root 13628 13352 2 08:38:50 pts/0 0:00 grep swage
[server:/] kill -9 1431
[server:/] /usr/sbin/swagentd -r
I'm sure that it will be OK
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 02:46 PM
04-04-2005 02:46 PM
Re: Problems with swinstall and swacl - please help !
It probably needs to be a pure root login or an su - root login as another user.
By default, swinstall should let root do installations, unless someone has changed the user id or shell of root in /etc/passwd.
Might want to check that.
I'm not sure what would happen if you are another user doing sudo.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 07:46 PM
04-04-2005 07:46 PM
Re: Problems with swinstall and swacl - please help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 09:12 PM