- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change swinstall default Source Depot Path
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-29-2002 10:40 AM
04-29-2002 10:40 AM
Change swinstall default Source Depot Path
"swinstall.distribution_source_directory = /tmp/PATCHES.depot" to /var/adm/sw/defaults, and executed an swagentd -r , but swinstall still starts up with a source depot of /cdrom/QPK1100, the last one I used. What am I missing??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 10:52 AM
04-29-2002 10:52 AM
Re: Change swinstall default Source Depot Path
Try this:
1) Edit the file /var/adm/sw/defaults file.
2) Add entry - source_directory=/tmp/PATHCES.depot
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 10:53 AM
04-29-2002 10:53 AM
Re: Change swinstall default Source Depot Path
have you checked the content of the file /var/adm/sw/swreg.log to see if it registered correctly.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 10:55 AM
04-29-2002 10:55 AM
Re: Change swinstall default Source Depot Path
If you want to change this for only one user, then edit the file - $HOME/.sw/defaults. The /var/adm/sw/defaults file will change the default parameter system wide.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 11:27 AM
04-29-2002 11:27 AM
Re: Change swinstall default Source Depot Path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 11:41 AM
04-29-2002 11:41 AM
Re: Change swinstall default Source Depot Path
Regards,
dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 11:45 AM
04-29-2002 11:45 AM
Re: Change swinstall default Source Depot Path
For your confirmation: I just did this and it changed the default depot location. Try:
# vi /var/adm/sw/defaults
You don't need to put 'space' in between the parameter value. Add this:
source_directory=/tmp/PATHCES.depot
There is no space before or after "="
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 11:55 AM
04-29-2002 11:55 AM
Re: Change swinstall default Source Depot Path
source_directory=/software/patches/year2000/11.00/11.00_y2k-bundle
followed by /usr/sbin/swagentd -r
Ran swinstall. The source directory had changed.
Then changed it to source_directory=/software/patches/year2000/10.20/diags/depot
Again /usr/sbin/swagentd -r
Ran swinstall and the source directory had changed again.
Good luck!
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 12:22 PM
04-29-2002 12:22 PM
Re: Change swinstall default Source Depot Path
I have a primitive suggestion , try using sam and change the source to local directory ,
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 01:02 PM
04-29-2002 01:02 PM
Re: Change swinstall default Source Depot Path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 01:16 PM
04-29-2002 01:16 PM
Re: Change swinstall default Source Depot Path
Check the prmissions of the default file. Check the swagentd.log file for any errors. Apply the latest SD-UX patches to the system.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 01:26 PM
04-29-2002 01:26 PM
Re: Change swinstall default Source Depot Path
PHCO_25875
-Yates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 01:28 PM
04-29-2002 01:28 PM
Re: Change swinstall default Source Depot Path
Just before you place a call try and register a new depot. Then change /var/adm/sw/defaults , run /usr/sbin/swagentd -r again and see what happens.
The permissions I have on /var/adm/sw/defaults are
-r--r--r-- 1 bin bin 1244 Apr 29 20:54 defaults
HTH
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 03:18 PM
04-29-2002 03:18 PM
Re: Change swinstall default Source Depot Path
I am not sure how you are creating your depot. If you use swcopy the it will copy and register the depot both at the same time. Then you can run "swlist -l depot" to see if the depot is their or not. Once you see depot run "swinstall -s /tmp/PATCHES.depot" to install patches.
I use this simple loop to create my depots. It will unsar and create depot.
*****************************************
cd /tmp
for X in PH*
do
sh $X
done
mkdir /tmp/PATCHES.depot
for X in /tmp/PH*.depot
do
swcopy -x enforce_dependencies=false -s ${X} \* @ /tmp/PATCHES.depot
done
**********************************************
Hope this helps.
THX - Mike