- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: starting swagentd
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
12-20-2004 11:32 PM
12-20-2004 11:32 PM
I'm trying to register a depot locally on a HPUX 11.0 system but getting the error
the swagentd is not running and I try to start it with /sbin/init.d/swagentd start and nothing seems to happen.
ERROR: RPC exception: "Communications failure (dce / rpc)" 12/21/04
12:29:09 GMT
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for
"ukbsfspd:/var/adm/crash/Sendmail-811_B.11.00.01.005_HP-UX_B.11.00_32+64.depot".
Make sure the host is accessible from the network, and that
its daemon, swagentd, is running.
There does not seem to be any problems with resolving the ip and host name. the SD_UX patch is a bit old but is the same level as the other 10 identical servers I've already registered the depot on?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 11:37 PM
12-20-2004 11:37 PM
Re: starting swagentd
try a nslookup.
# nslookup ukbsfspd
# nslookup ip_ukbsfspd
if the ip or hostname is not correct, you will have to change it in the /etc/hosts file.
# swagentd -r
to restart the agent.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 11:38 PM
12-20-2004 11:38 PM
Re: starting swagentd
Then restart the daemon again.
There are several candiates in /etc but 11.00 and 11i v1 systems install without an actual nsswitch.conf file, without which swagentd can't function.
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
12-20-2004 11:43 PM
12-20-2004 11:43 PM
Re: starting swagentd
I've also got a /etc/nsswitch.conf file that seems to be the same as the other servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 11:54 PM
12-20-2004 11:54 PM
Re: starting swagentd
I had same problem after new HP-UX installation.
The changes in /etc/hosts (ip and hostname)
and setting of /etc/nsswitch.conf helped
don't forget restart swagent -r
rgds Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 11:56 PM
12-20-2004 11:56 PM
Re: starting swagentd
Check this thread because it seems to be similar to your issue: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=767682
Regards
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:03 AM
12-21-2004 12:03 AM
Re: starting swagentd
Still can't seem to get things working.
Should the command
nslookup ip_ukbsfspd
come back with something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:07 AM
12-21-2004 12:07 AM
Re: starting swagentd
I don't know the ip address of your server.
# grep the_name_of_server /etc/hosts
# nslookup above ip_address
should match with
# nslookup the_name_of_server
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:10 AM
12-21-2004 12:10 AM
Re: starting swagentd
yes they do match?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:26 AM
12-21-2004 12:26 AM
Re: starting swagentd
hostname=pluto
ip=125.2.4.12
if there is an error in the naming or addressing somewhere you can track it with nslookup.
nslookup pluto
nslookup 125.2.4.12
should match, if they don't check the /etc/nsswitch.conf
hosts files dns
nslookup will look first in the files (etc/hosts) then dns
check the /etc/hosts
first name will be the local server.
125.2.4.12 pluto pluto.mars.com
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:29 AM
12-21-2004 12:29 AM
Re: starting swagentd
If you had created the nsswitch.conf file after the system booted, then try moving that file to another name and try swlist.
Check if the filesets are in configured state. Otherwise get them to configured state first.
If you modified your hostname after this boot, then too such problem can come. check the outputs of uname and hostname and confirm that they are matching.
was the IP address modified ? If so, just do a restart.
ukbsfspd:/var/adm/crash/Sendmail-811_B.11.00.01.005_HP-UX_B.11.00_32+64.depot
this is a strange error. have you put any depot in the crash directory? though it may not be related to the problem, move this depot to another location. this is a very weird message.
Is any of your filesystem 100% full?
Check these things and revert.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:38 AM
12-21-2004 12:38 AM
Re: starting swagentd
The error I posted at the start of the thread is the one that comes from the swreg command and not when I try and start the swagentd.
ps -ef for swagentd shows its not running
/sbin/init.d/swagentd start just comes straight back exit 0 but does nothing?
The nsswitch file was not created by me and i have not altered the hostname. Also all patches seem to be applied,
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:48 AM
12-21-2004 12:48 AM
Re: starting swagentd
# ls -la /etc | grep nsswitch
nsswitch.compat
nsswitch.files
nsswitch.hp_defaults
nsswitch.nis
nsswitch.nis+
will get a simular output as above.
# cp /etc/nsswitch.files /etc/nsswitch.conf
# swagentd -r
to restart to swagentd.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:52 AM
12-21-2004 12:52 AM
Re: starting swagentd
The ls -al of /etc does show the same as above. However the two files are already the same?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 01:25 AM
12-21-2004 01:25 AM
Re: starting swagentd
# tail -20 /var/adm/sw/swagentd.log
Roobert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 01:43 AM
12-21-2004 01:43 AM
Re: starting swagentd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 01:45 AM
12-21-2004 01:45 AM
Re: starting swagentd
tail -20 /var/adm/sw/swagentd.log
* Stopping swagentd program, process ID 1092.
======= 10/23/04 08:05:15 BST END swagentd (pid = 15208).
======= 10/23/04 08:05:15 BST END swagentd (pid = 1092).
======= 10/23/04 08:15:17 BST BEGIN swagentd (pid = 369).
* Started remove agent on "/" for root@ukbsfspd, pid=377,
10/23/04 08:15:19 BST
* Agent pid=377 completed. 10/23/04 08:15:21 BST
======= 10/23/04 08:16:19 BST BEGIN swagentd (pid = 1097).
* Restarting swagentd program, process ID 369.
======= 10/23/04 08:16:19 BST END swagentd (pid = 369).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 01:52 AM
12-21-2004 01:52 AM
Re: starting swagentd
# ls -la /usr/sbin/swagentd
# file /usr/sbin/swagentd
what is the time/date stamp on the file and what kind of file is it ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 02:02 AM
12-21-2004 02:02 AM
Re: starting swagentd
/usr/sbin/swagentd: s800 shared executable dynamically linked
ukbsfspd:/var/adm/sw# ll /usr/sbin/swagentd
-r-xr-xr-x 1 bin bin 491520 Apr 29 1999 /usr/sbin/swagentd
??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 02:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 02:14 AM
12-21-2004 02:14 AM
Re: starting swagentd
It must be a problem with the script in init.d in that it never runs the start?
Thanks for you help Robert-Jan!