- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Hostname problem
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
05-04-2005 05:55 PM
05-04-2005 05:55 PM
Hostname problem
Just now i checked syslogfile in my hp rx2600 server.The following output displayed.I checked hostname.hostname is ok(by using hostname command).Also i checked /etc/hosts file is ok.
Pls give me how to match the hostname from unknown to test123.
May 5 10:58:37 unknown inetd[1619]: daytime/tcp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: daytime/udp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: time/tcp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: echo/tcp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: echo/udp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: discard/tcp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: discard/udp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: chargen/tcp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: chargen/udp: Added service, server internal
May 5 10:58:37 unknown inetd[1619]: kshell/tcp: Added service, server /usr/lbin
/remshd
May 5 10:58:37 unknown inetd[1619]: klogin/tcp: Added service, server /usr/lbin
/rlogind
Regards,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 05:58 PM
05-04-2005 05:58 PM
Re: Hostname problem
This appears to be a problem with the inetd daemon.
check /etc/inetd.conf
inetd -k
inetd -c
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
05-04-2005 06:17 PM
05-04-2005 06:17 PM
Re: Hostname problem
Pls find the following output.
unknown:root:/#hostname
lcsweb6 ((not more than 8 char.)
unknown:root:/#inetd -k
unknown:root:/#inetd -c
inetd: There is no inetd running
How to change the hostname from unknown to lcsweb6
Regards,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 06:22 PM
05-04-2005 06:22 PM
Re: Hostname problem
1. Try pinging lcsweb6 ...see if it works.
2. Check root users .profile and /etc/profile
3. Use /sbin/init.d/inetd stop|start to stop and start inetd daemon.
If still it doesn't work then use:
4. Confirm entries in /etc/hosts are correct and execute:
# set_parms hostname
But this will reboot the system and you will see your hostname back after reboot.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 06:30 PM
05-04-2005 06:30 PM
Re: Hostname problem
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 06:56 PM
05-04-2005 06:56 PM
Re: Hostname problem
Pinging is ok.
i tried to start the inetd in console, iam getting the following error
/sbin/init.d/inetd (36):/etc/ntp.conf is not identifier.But inetd command is working.
I checked host name is lcsweb6 and i checked uname -m , it displayed "unknown, then i used uname -S lcsweb6.After restart "uname" command output is unknown
Regards,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:13 PM
05-04-2005 07:13 PM
Re: Hostname problem
1. Use # set_parms hostname
for changing hostname permanently and reboot the system. I hope this should work.
2. Check /etc/nsswitch.conf file if it is present.
3. Check if your /etc/inetd.conf file is correct and see you do not have any backup file of inetd.conf in /etc. if it is there move it to some other directory.
Becuase during system startup all files in the /etc directory are read.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:26 PM
05-04-2005 07:26 PM
Re: Hostname problem
# cd /etc/rc.config.d
# grep HOSTNAME *
Check if there is a backup file of the netconf configuration, if so move it to the /tmp dir.
Double check the netconf file for errors.
HOSTNAME="lcsweb6"
LOOPBACK_ADDRESS=127.0.0.1
IP_ADDRESS[0]=X.XX.XX.XXX
Check you /etc/hosts file
127.0.0.1 localhost loopback
X.XX.XX.XXX lcsweb6
Check you /etc/nsswitch.conf should include
hosts: files
If you have changed the netconf file hostname /ip make shure to reboot.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:40 PM
05-04-2005 07:40 PM
Re: Hostname problem
Actually the problem is node name and System name are different.After i sychronized node name and system name via "SAM".
NOw it is working fine.
Thanks,
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:45 PM
05-04-2005 07:45 PM
Re: Hostname problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 09:39 AM
11-16-2005 09:39 AM
Re: Hostname problem
"After i sychronized node name and system name via "SAM"."