- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall lock error
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
03-13-2006 04:58 PM
03-13-2006 04:58 PM
I'm trying to install some base DCE packages on servers without cdrom's. I've tar'd up the contents of the cdrom and copied them to my remote server and untar'd to a location.
I then try running 'swinstall' and set it for a local directory and get the following error;
Cannot establish a lock on this target because of an external error
(for example, the lock file could not be created).
I've stopped the swagentd daemon (using swagentd -k), removed the '/var/adm/sw/products/swlock' file and started the agent agian (using swagentd). Try the install again and same problem.
Because of security and personnel issues, I can't egt someone to load the CD for me to mount nor can I use NFS and remote mount the CD. As far as I can see this is my only way of installing a package of the base CD's.
If you've got another idea how to install these packages, please let me know or how to fix the above problem it would be much appreciated.
Thanks.
Cheers.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:04 PM
03-13-2006 05:04 PM
SolutionThis is caused due to missing lock file in the catalog sub-directory of the depot.
To fix this do the following,
cd /DEPOTPATH/catalog
touch swlock
where DEPOTPATH is the full path to the depot location.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:08 PM
03-13-2006 05:08 PM
Re: swinstall lock error
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:08 PM
03-13-2006 05:08 PM
Re: swinstall lock error
Other options would be doing a swcopy on one server an then installaing on other servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:09 PM
03-13-2006 05:09 PM
Re: swinstall lock error
Check these threads,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=884010
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=938878
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:13 PM
03-13-2006 05:13 PM
Re: swinstall lock error
Read swinstall man page with swlock keyword.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:15 PM
03-13-2006 05:15 PM
Re: swinstall lock error
Just to add on, While you restart swagentd, try with this commands
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 06:06 PM
03-13-2006 06:06 PM
Re: swinstall lock error
I've created the swlist with permissions 444 in /TAR'd_CD_PATH/catalog.
When I now run 'swinstall' (with no switches). click on "local directory" and then the path, now gets another error;
File /var/tmp/BAAa01451/catclog/DCE-CoreAdmin/DCE-ACCT-MGR/INFO does not exist.
The catalog files for product at DCE-CoreAdmin,r=B.11.00.10 failed to load. Check the above output for details.
I've tried creating the INFO file and necessary directories but a different INFO file appears each time (it could be /var/tmp/BAAa01451/catclog/DCE-CoreAdmin/pfile/INFO).
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 06:56 PM
03-13-2006 06:56 PM
Re: swinstall lock error
--
Muthu