- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RC.LOG FILE ERROR
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
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
11-13-2003 02:10 AM
11-13-2003 02:10 AM
I am getting errors in my rc.log file upon startup of the system, which is an HP-UX 11 on a k580 with 4 240 mhz processors and 2 gig of ram. All patches are up to date and I am able to ping the host and nslookup comes back correctly. I am also able to start these agents manually. Does anyone have any Ideas of how I can get this corrected and not have the errors in the log rc.log file?
Start Software Distributor agent daemon
Output from "/sbin/rc2.d/S100swagentd start":
----------------------------
ERROR: The 'swagentd' daemon started but the local hostname 'mhzfast1' cannot be resolved, therefore no SD commands will be able to contact it. The most likely solution is to define 'mhzfast1' in '/etc/hosts'.
"/sbin/rc2.d/S100swagentd start" FAILED
Configuring all unconfigured software filesets
Output from "/sbin/rc2.d/S120swconfig start":
----------------------------
ERROR: Cannot contact the 'swagentd' daemon because the local hostname 'mhzfast1' cannot be resolved, therefore no 'swconfig' or 'swremove' will be executed at this time'
The most likely solution is to define 'mhzfast1'in '/etc/hosts'.
"/sbin/rc2.d/S120swconfig start" FAILED
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:12 AM
11-13-2003 02:12 AM
Re: RC.LOG FILE ERROR
have u changed the hostname recently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:15 AM
11-13-2003 02:15 AM
Re: RC.LOG FILE ERROR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:15 AM
11-13-2003 02:15 AM
Solutionhosts: files [NOTFOUND=continue] dns
This should fix your errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:16 AM
11-13-2003 02:16 AM
Re: RC.LOG FILE ERROR
If you post the results, we can tell you right where to go.
/etc/hosts od nsswitch, for instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:21 AM
11-13-2003 02:21 AM
Re: RC.LOG FILE ERROR
your /etc/hosts should also have a line stating:
127.0.0.1 localhost loopback
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:28 AM
11-13-2003 02:28 AM
Re: RC.LOG FILE ERROR
If I buid an nsswitch.conf file what would need to be in that I currently do not have one of those in the /etc directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:32 AM
11-13-2003 02:32 AM
Re: RC.LOG FILE ERROR
Then you'd only have to worry about /etc/hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:35 AM
11-13-2003 02:35 AM
Re: RC.LOG FILE ERROR
hosts: files [NOTFOUND=continue] dns
or is there more to it then just that one line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:36 AM
11-13-2003 02:36 AM
Re: RC.LOG FILE ERROR
There are examples in the /usr/newconfig/etc
# ls nsswitch.*
nsswitch.compat
nsswitch.hp_defaults
nsswitch.nisplus
nsswitch.files
nsswitch.nis
Hope this helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:37 AM
11-13-2003 02:37 AM
Re: RC.LOG FILE ERROR
so make a copy
cp /etc/nsswitch.files /etc/nsswitch.conf
And edit the hosts line as per Stefan's reply.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:37 AM
11-13-2003 02:37 AM
Re: RC.LOG FILE ERROR
#
# /etc/nsswitch.hp_defaults:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
automount: files
aliases: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:46 AM
11-13-2003 02:46 AM
Re: RC.LOG FILE ERROR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:49 AM
11-13-2003 02:49 AM
Re: RC.LOG FILE ERROR
swlist
see if it can "contact target" .... and list your sw
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:52 AM
11-13-2003 02:52 AM
Re: RC.LOG FILE ERROR
# /usr/sbin/swagentd -r
# swlist
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:55 AM
11-13-2003 02:55 AM
Re: RC.LOG FILE ERROR
When Itested it I go this error in the /var/adm/sw/swagentd.log file:
WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncacn_ip_tcp" with endpoint "2121". The
endpoint you have specified is in use by another process.
Either another copy of the SD daemon is running or there is a
conflict in choice of endpoints with another application.
Endpoints are specified within square brackets [] in the
"rpc_binding_info=" option.
WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncadg_ip_udp" with endpoint "2121". The
endpoint you have specified is in use by another process.
Either another copy of the SD daemon is running or there is a
conflict in choice of endpoints with another application.
Endpoints are specified within square brackets [] in the
"rpc_binding_info=" option.
ERROR: Terminating prematurely - cannot serve RPC requests with any
binding.
======= 11/13/03 15:51:54 WET END swagentd (pid = 8348, startup
error).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:59 AM
11-13-2003 02:59 AM
Re: RC.LOG FILE ERROR
/sbin/init.d/swagentd stop
and check its died;
ps -ef|grep -i swagent
If you still see an swagentd process running kill it, then restart it;
/sbin/init.d/swagentd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 07:22 AM
12-10-2003 07:22 AM
Re: RC.LOG FILE ERROR
When HPUX runs the /sbin/init.d/swagentd start, it uses nslookup to resolve the IP address of the host. The version of nslookup I had would never use the /etc/hosts file and always go to DNS, which is not running at that point in the boot process.
Verify that your nsswitch.conf has the
hosts: files [NOTFOUND=continue] dns
nslookup mhzfast1
If you do not see Using /etc/hosts, then your nslookup is probably the problem.