- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swinstall depot 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
01-08-2007 10:35 PM
01-08-2007 10:35 PM
I am trying to install through the network with an script a patch
swinstall -x ask=false -x match_target=true -x autoreboot=true /var/depots/T1471
AA_A.04.40.006_HP-UX_B.11.11_32+64.depot
and it gives me this answer in the log as it finishes, and it does not install nothing at all
***************** triana ***************
======= 01/09/07 12:21:07 MET BEGIN swinstall SESSION
(non-interactive) (jobid=triana-0038)
* Session started for user "root@triana".
* Beginning Selection
* Target connection succeeded for "triana:/".
ERROR: There is currently no depot software on host "triana" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "triana:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is triana:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 01/09/07 12:21:13 MET END swinstall SESSION (non-interactive)
My HP-UX OS is B11.11 and the server model is HP 9000/861/D370
Thank you for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 10:44 PM
01-08-2007 10:44 PM
Re: swinstall depot error
swinstall -x ask=false -x match_target=true -x autoreboot=true -s /var/depots/T1471AA_A.04.40.006_HP-UX_B.11.11_32+64.depot
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 10:46 PM
01-08-2007 10:46 PM
Re: swinstall depot error
Register the depot directory if not registered.
Example : swreg -l depot /var/depots.
Regds
B.Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 10:47 PM
01-08-2007 10:47 PM
Re: swinstall depot error
This should list existing depots on your host:
swlist -l depot @ triana
On triana, you could just issue:
swlist -l depot
However, checking your line:
"swinstall -x ask=false -x match_target=true -x autoreboot=true /var/depots/T1471
AA_A.04.40.006_HP-UX_B.11.11_32+64.depot"
Don't you need to specify "-s" before the source ? ( -s /var/depots/.....)
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 10:52 PM
01-08-2007 10:52 PM
Re: swinstall depot error
the right way was given by Pete.
You just need to specify -s option to get your depot installed. Otherwise HP-UX will search into default depot path, that is /var/spool/sw.
So run:
swinstall -x ask=false -x match_target=true -x autoreboot=true -s /var/depots/T1471
AA_A.04.40.006_HP-UX_B.11.11_32+64.depot
That will work.
Good luck...
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 11:33 PM
01-08-2007 11:33 PM
Re: swinstall depot error
swinstall -s /var/depots/T1471
AA_A.04.40.006_HP-UX_B.11.11_32+64.depot \*
The extra options are not needed and no reboot is necessary, but the most important part is the selection of which products to install. You must specify the name(s) of the products or \* to specify everything in the depot.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 11:35 PM
01-08-2007 11:35 PM
Re: swinstall depot error
triana:/var/opt/mx/depot11# swlist -l depot @ triana
# Initializing...
# Target "triana" has the following depot(s):
/var/opt/mx/depot11
and I changed all the parameters as you suggested me
swinstall -x ask=false -x match_target=true -x autoreboot=true -s /var/opt/mx/de
pot11/T1471AA_A.04.40.006_HP-UX_B.11.11_32+64.depot
And now it says this:
***************** triana ***************
======= 01/09/07 13:13:41 MET BEGIN swinstall SESSION
(non-interactive) (jobid=triana-0041)
* Session started for user "root@triana".
* Beginning Selection
* Target connection succeeded for "triana:/".
NOTE: The match operation failed to find software in the source that
matches software on the target.
NOTE: Cannot continue the "swinstall" task.
======= 01/09/07 13:13:52 MET END swinstall SESSION (non-interactive)
(jobid=triana-0041)
And the software is in the directory
triana:/var/opt/mx/depot11# ll
total 18304
dr-x------ 3 root sys 96 Apr 3 2006 AgentConfig
-rw-r----- 1 root sys 9359360 Jan 9 13:11 T1471AA_A.04.40.006_HP
-UX_B.11.11_32+64.depot
dr-x------ 4 root sys 96 Apr 3 2006 catalog
-rw-r--r-- 1 root sys 1146 Apr 3 2006 swagent.log
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 11:47 PM - last edited on 08-31-2023 03:08 AM by Sunitha_Mod
01-08-2007 11:47 PM - last edited on 08-31-2023 03:08 AM by Sunitha_Mod
Re: swinstall depot error
Hi,
not sure whether that same would apply for a depot:http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=193537
and are you sure you actually have a match against the depot ?
Please also read:http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
Your earlier thread from November is still waiting for your update/completion!
[Moderator edit: The above links are no longer valid.]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 12:05 AM
01-09-2007 12:05 AM
SolutionNot 100% sure, but I think you might now have a depot in a depot.
Try to swcopy the .depot file to your depot first.
swcopy -s /var/depots/T1471AA_A.04.40.006_HP-UX_B.11.11_32+64.depot @ triana:/var/opt/mx/depot11
Also not completely sure on the syntax.. anyone to confirm/correct ?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 12:13 AM
01-09-2007 12:13 AM
Re: swinstall depot error
swinstall -s /tmp/T1471AA_A.04.40.006_HP-UX_B.11.11_32+64.depot
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 12:16 AM
01-09-2007 12:16 AM
Re: swinstall depot error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 12:31 AM
01-09-2007 12:31 AM
Re: swinstall depot error
I tried also to register a new depot for getting there all the software I want to install, and it gave me this
ERROR: Failed to register soc on "/var/depots" for
root@triana.catastro.minhac.es. "/var/depots" is not a valid
depot. Mar, 09 Ene 2007 14:11:25 MET
I will close the other thread, as this account is used by a few persons. Sorry for the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 03:51 AM
01-09-2007 03:51 AM
Re: swinstall depot error
It worked finally making some changes