- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swreg
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-05-2009 01:57 AM
тАО09-05-2009 01:57 AM
Re: swreg
In your case you don't need it. But you can unregister depots. Or if you used mv, cp, or pax/tar/cpio to copy a depot, you would need to register it. Or if the depot is on NFS, you may register it on other machines.
Or if you fall into the SD trap of having N ways to do things and you use swpackage instead of swcopy, you would need to register it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 03:32 AM
тАО09-05-2009 03:32 AM
Re: swreg
I was trying to unregister melow patch but ended up with error..plz guide
swreg -u depot /var/patch/PHNE_39872.depot
ERROR: A valid registration level is needed for the successful
execution of "swreg"(). The valid levels are: "depot", "root",
"shroot" or "prroot".
ERROR: Command line parsing failed.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 04:08 AM
тАО09-05-2009 04:08 AM
Re: swreg
swreg -l depot -u
Now let me help you to register a depot the right way:
Assume you have downloaded the patch to depot_server@/tmp/PHNE_39872.depot and you want it to register at /depot/patch/PHNE_39872.
swcopy -x mount_all_filesystems=false -x enforce_dependencies=FALSE /tmp/PHNE_39872.depot \* @/depot/patch/PHNE_39872
verify if swcopy has automatically registered it:
swlist -l depot
If not register it:
swreg -l depot /depot/patch/PHNE_39872
From remote system:
swlist -l depot -s depot_server
swinstall -s depot_server:/depot/patch/PHNE_39872 \*
Hope this helps
Thanks
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 04:25 AM
тАО09-05-2009 04:25 AM
Re: swreg
The unregistration successful.
I have run swcopy as suggested by you.But ended up with errors.
* Session started for user "root@noortrg".
* Beginning Selection
* "noortrg:/var/patch/PHNE_39872": This target does not exist
and will be created.
ERROR: There is currently no depot software on host "noortrg" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "noortrg:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is noortrg:/var/adm/sw/swagentd.log).
* Selection had errors.
-----------------------
tail -f /var/adm/sw/swagentd.log
16:20:50 uae
* Agent pid=13007 completed. 09/05/09 16:20:50 uae
* Started copy agent on "/var/patch/PHNE_39872" for
root@noortrg, pid=13050, 09/05/09 16:22:54 uae
NOTE: The target "/var/patch/PHNE_39872" does not exist and will be
created. pid=13050 09/05/09 16:22:54 uae
ERROR: Failed to start source agent on "/var/spool/sw" for
root@noortrg. "/var/spool/sw" is not a valid depot. 09/05/09
16:22:54 uae
* Agent pid=13050 completed. 09/05/09 16:22:54 uae
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 04:30 AM
тАО09-05-2009 04:30 AM
Re: swreg
swcopy -x mount_all_filesystems=false -x enforce_dependencies=FALSE -s /tmp/PHNE_39872.depot \* @/depot/patch/PHNE_39872
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 05:08 AM
тАО09-05-2009 05:08 AM
Re: swreg
swcopy worked fine..
BUt when i tried in server B,getting same error.
Mel,
after doing swcopy , defaults.hosts file got created and by default it has source server name and i added target server name.but after that also source server name not displayed in target.
Tinqli,
/tmp is a OS filesystem,not any link
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 05:12 AM
тАО09-05-2009 05:12 AM
Re: swreg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 05:13 AM
тАО09-05-2009 05:13 AM
Re: swreg
UAEMFQDDCBAPD01:/tmp>swlist -l depot @ noortrg
# Initializing...
# Target "noortrg" has the following depot(s):
/tmp/rsp/depot
/var/patch/rsp/depot
/pcard/os/Noor-Islamic-Bank_Depot_bundle+recommended-patches-12081.depot
/var/patch/PHNE_39872
its showing registered depots in target.
Anything needs to done in target?
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 05:15 AM
тАО09-05-2009 05:15 AM
Re: swreg
noortrg /tmp >swlist -l depot
# Initializing...
# Target "noortrg" has the following depot(s):
/tmp/rsp/depot
/var/patch/rsp/depot
/pcard/os/Noor-Islamic-Bank_Depot_bundle+recommended-patches-12081.depot
/var/patch/IPfilter/depot
/var/patch/PHNE_39872
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 05:15 AM
тАО09-05-2009 05:15 AM