- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swagentd Daemon Not Enabled!!!
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
тАО02-16-2010 08:08 AM
тАО02-16-2010 08:08 AM
I am currently working on the performance tuning of TBB 2.2 on HPUX Itanium platform. For this purpose I am trying to install caliper on HPUX. Unfortunately I am stuck with an error which I am not able to figure out. The error is as follows:
Could not start a management session for "nitkhp01:/ake*". The system administrator for host "nitkhp01" may have disabled the
swagentd daemon or there may be a networking problem affecting the operation. If the swagentd daemon has been disabled, it can be
enabled by the system administrator on "nitkhp01" by setting the "SW_ENABLE_SWAGENTD" entry in /etc/rc.config.d/swconfig to "1" and
executing "/usr/sbin/swagentd -r".
This error was encountered while installing caliper.depot.gz file on HPUX using the command swinstall -s /path/caliper.depot.gz. We tried to enable the swagentd daemon according to how it is given but still we are facing with the same problem. Actually speaking the daemon is running all the time, somehow its not able to detect that the daemon is running. It would be very helpful if anyone could help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 08:17 AM
тАО02-16-2010 08:17 AM
Re: Swagentd Daemon Not Enabled!!!
ll /etc/nsswitch.conf
If it is not there, there are a few choices with the name nsswitch as the first part of the name.
By default, new installations of HP-UX do not have an nsswitch.conf set. You need to put one in place and then restart swagentd.
Though maybe not required, I recommend:
gunzip calilper.gz
swinstall -s /tmp/caliper.gz \*
Then run swinstall. swinstall may be able to gunzip depots, but I have never tested this.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 08:33 AM
тАО02-16-2010 08:33 AM
Re: Swagentd Daemon Not Enabled!!!
>gunzip caliper.depot.gz
>swinstall -s /path/caliper.depot \*
Yes, it's required.
>swinstall may be able to gunzip depots
It doesn't. It can handle individual files in the depot that are already compressed but not the whole tape depot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 08:51 AM
тАО02-16-2010 08:51 AM
Re: Swagentd Daemon Not Enabled!!!
Thanks for the quick reply.I have the latest version of HPUX (11.31) and it does not have nsswitch.conf. Where can I get the nsswitch.conf file for this purpose or what should I do in order to make such a file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:08 AM
тАО02-16-2010 09:08 AM
Solutioncd /etc
ll nsswitch*
Pick one that meets your needs.
more, cat or vi edit them.
cp nsswitch.
Then restart the swagentd daemon
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:44 PM
тАО02-16-2010 09:44 PM
Re: Swagentd Daemon Not Enabled!!!
I did according to what you said.
The files present are
nsswitch.files
nsswitch.nis
nsswitch.compat
nsswitch.ldap
nsswitch.hp_defaults
I did not change anything in the files. I directly copied into /etc/nsswitch.conf and restarted swagentd daemon. Tried swinstall but still it gives the same error.
Could you tell me how to find out to what kind of client is my host configured to (I mean whether is it configured to NIS or LDAP since the corresponding nsswitch files are present)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 10:19 PM
тАО02-16-2010 10:19 PM
Re: Swagentd Daemon Not Enabled!!!
I tried setting nsswitch.files as /etc/nsswitch.conf and then restarted the daemon and swinstalled it.
The errors were encountered:
ERROR: RPC exception: "Communications failure (dce / rpc)" 02/17/10 11:51:16 IST
ERROR: Could not start a management session for "nitkhp01:/". The system administrator for host "nitkhp01" may have disabled the swagentd daemon or there may be a networking problem affecting the operation. If the swagentd daemon has been disabled, it can be enabled by the system administrator on "nitkhp01" by setting the "SW_ENABLE_SWAGENTD" entry in /etc/rc.config.d/swconfig to "1" and executing "/usr/sbin/swagentd -r".
* Target connection failed for "nitkhp01:/".
ERROR:More information may be found in the daemon logfile on this target (default location is nitkhp01:/var/adm/sw/swagentd.log).
* Selection had errors.
I am totally stuck at this point since I am not able to install anything on the HPUX machine because of this problem. Any help regarding this issue would be great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 10:30 PM
тАО02-16-2010 10:30 PM
Re: Swagentd Daemon Not Enabled!!!
/usr/sbin/swagentd -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 10:31 PM
тАО02-16-2010 10:31 PM
Re: Swagentd Daemon Not Enabled!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 10:43 PM
тАО02-16-2010 10:43 PM