- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create_depot_hp-ux_11 script
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
тАО03-20-2007 10:16 AM
тАО03-20-2007 10:16 AM
------
ERROR:
"testserv.domein1.nl:/tmp/patches/depot": You do not have the
required permissions to select this target. 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.
----
What might be the problem? Script ran under root?!
Regards,
Chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2007 10:21 AM
тАО03-20-2007 10:21 AM
Re: create_depot_hp-ux_11 script
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2007 10:30 AM
тАО03-20-2007 10:30 AM
Re: create_depot_hp-ux_11 script
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 03:04 AM
тАО03-21-2007 03:04 AM
Re: create_depot_hp-ux_11 script
I checked the following files and there are no IP or hostnames in their.
---
# ll ns*
-r--r--r-- 1 bin bin 547 Nov 14 2000 nsswitch.compat
-r--r--r-- 1 bin bin 372 Nov 14 2000 nsswitch.files
-r--r--r-- 1 bin bin 574 Nov 14 2000 nsswitch.hp_defaults
-r--r--r-- 1 bin bin 532 Nov 14 2000 nsswitch.nis
-r--r--r-- 1 bin bin 585 Nov 14 2000 nsswitch.nisplus
--
Which file do you mean exactly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 03:05 AM
тАО03-21-2007 03:05 AM
Re: create_depot_hp-ux_11 script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 03:10 AM
тАО03-21-2007 03:10 AM
Re: create_depot_hp-ux_11 script
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=
continue TRYAGAIN=return] nis
The stop and restart swagentd:
/sbin/init.d/swagent stop
/sbin/init.d/swagent start
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 03:26 AM
тАО03-21-2007 03:26 AM
Re: create_depot_hp-ux_11 script
After restarting the swagentd it works.
Thanx.
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 03:29 AM
тАО03-21-2007 03:29 AM
Re: create_depot_hp-ux_11 script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 03:42 AM
тАО03-21-2007 03:42 AM
SolutionDo a man on nsswitch.conf. (there is no nsswitch file, it's nsswitch.conf). Basically it tells DNS how you want to resolve hostnames - that is the order of resolution: look at /etc/hosts first, if you don't find it there, check DNS, then NIS, etc, etc.
Without an nsswitch.conf, your resolution is strictly via /etc/hosts - and it's unlikely you use this box to access the outside world!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2007 04:08 AM
тАО03-21-2007 04:08 AM
Re: create_depot_hp-ux_11 script
Thanx.