- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changed HOSTNAME from upper to lower case and SAM ...
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
02-17-2007 07:52 AM
02-17-2007 07:52 AM
I just changed the case of the hostname from upper to lower case and now I find that SAM won't start without asking me to change the HOSTNAME, and X seems to hang after the login and password prompt. There is also some kind of hang signal being generated to my telnet clients which requires and break signal to fix. I suspect there is a mismatch somewhere internally within my HP-UX that is still looking for the upper case hostname. When I change it back, everything works fine. Need the lower case though now for Oracle 10G to work properly. Any help is greatly appreciated and thanks in advance to all.
Very Respectfully,
Chris Elmore
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2007 08:12 AM
02-17-2007 08:12 AM
SolutionHow and where is the DISPLAY environment parameter defined.
# print $DISPLAY
It probably has the nodename in there, with the wrong case.
It possibly should be localhost:0.0
Bourne, Bash, or Korn shell:
$ DISPLAY=localhost:0.0 ; export DISPLAY
C shell:
$ setenv DISPLAY localhost:0.0
- Is the display local, or is this a desktop - server setup?
- You may want to review the (dns) name resolution lookup mechanisme for the box.
man resolv.conf.
I don't think Oracle cares for lower or upcase hostname, as long as something resolves it correctly. Maybe there is a surprise translation offered up in one case (sic) only.
Hope this helps
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2007 08:25 AM
02-17-2007 08:25 AM
Re: Changed HOSTNAME from upper to lower case and SAM or X won't start now
I should mention that my box is HP-UX 11.11 and I've already run the uname -a and hostname commands to set the name. I've even run the set_parms utility to make sure that everything looks in sync.
Very Respectfully,
Chris Elmore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2007 08:40 AM
02-17-2007 08:40 AM
Re: Changed HOSTNAME from upper to lower case and SAM or X won't start now
Actually, I just spotted one case with a restriction for Oracle (AS):
The database name portion of the global database name:
* can contain only alphanumeric characters
* must not be longer than eight characters
* must not contain the word "PORT" or "HOST" in uppercase characters. If you need to use these words, use lowercase characters.
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b28043/emnet.htm
Does your hostname contain the word "host"?
Your hostname is not a cute "HOSTNAME" is it?
(If so, you are get what you deserve :-)
Also, be sure to #grep -i HOSTNAME /etc/hosts
btw... I also see a recommendation for numeric host name in listener.ora, for security reasons if the dns setup can be hacked??
http://download-east.oracle.com/docs/cd/B19306_01/em.102/b16231/listener.htm
Regards,
Hein van den Heuvel
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2007 09:24 AM
02-17-2007 09:24 AM
Re: Changed HOSTNAME from upper to lower case and SAM or X won't start now
The system is very sensitve when it comes to changing the host name - how did you perform the change?
Ideally you should use the set_parms command, and then reboot the system.
Some application (i.e.SAM) use the hostmname obtained from the booot process........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 07:56 AM
03-01-2007 07:56 AM
Re: Changed HOSTNAME from upper to lower case and SAM or X won't start now
Sorry for this slow response, I've been fighting Oracle upgrade fires on my HP day in and day out.
I want to say thanks for your very helpful responses. I awarded you both 10 pts. each for each response posted. I found you both to be very helpful and I really do appreciate your assistance with this folks.
Believe it or not, I simply rebooted my L2000 and the problem resolved itself. Everything was properly re-homed to the new hostname in lower case. SAM worked fine, X worked fine. I'm guessing a hostname change must require the reboot for full effect.
Very Respectfully,
Chris Elmore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 07:58 AM
03-01-2007 07:58 AM