- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem with the hostname
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
11-10-2006 10:39 PM
11-10-2006 10:39 PM
problem with the hostname
When I tried to start the CDE using xmanager there was a problem.
refering to Xerror logs:
# cat /var/dt/Xerrors
Sat Nov 11 13:06:50 2006
error (pid 2737): Hostname hpux is invalid. Setting DISPLAY to ':0'
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
Sat Nov 11 13:06:50 2006
error (pid 2737): Server unexpectedly died
Sat Nov 11 13:06:55 2006
error (pid 2737): Server for display :0 can't be started.
#
# hostname
hpux
#
# nslookup hpux
*** Warning - the local domain is not set.
*** Either hostname should be a domain name,
*** the domain should be specified in /etc/resolv.conf,
*** or the shell variable LOCALDOMAIN should be set.
Name Server: ns2.evrocom.net
Address: 217.10.240.242
Trying DNS
Trying NIS
looking up FILES
Name: hpux
Address: 192.168.0.9
#
But
# ping hpux
ping: unknown host hpux
#
# cat /etc/hosts |grep hpux
192.168.0.9 hpux
#
How I can fix this problem?
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 11:59 PM
11-10-2006 11:59 PM
Re: problem with the hostname
export DISPLAY=
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2006 12:09 AM
11-11-2006 12:09 AM
Re: problem with the hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2006 04:49 AM
11-11-2006 04:49 AM
Re: problem with the hostname
A new server on a non-routable network should not show up on a DNS based query unless its been added to the DNS database.
See /etc/nsswitch.conf for host name resolution order.
Note that broacast of X hosts is very often blocked by switches and firewalls in a corporate environment.
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
11-11-2006 06:24 AM
11-11-2006 06:24 AM
Re: problem with the hostname
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2006 10:38 PM
11-13-2006 10:38 PM
Re: problem with the hostname
Can you try the attached one.
regards,
shanmuha.