LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2007, 05:37 PM   #1
rajeshsfo
LQ Newbie
 
Registered: Aug 2006
Posts: 19

Rep: Reputation: 0
hostname/domain Problem, RedHat AS 4.0


I am installing Oracle 11i on my Linux AS 4.0 and validate system configuration fails at Host/Domain Check.

Here's my /etc/sysconfig/network file
------------------------------------------------------
[root@mylx1 /]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mylx1
[root@mylx1 /]#

and /etc/hosts file looks like
-----------------------------------------
[root@mylx1 /]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.xxx.x.xxx mylx1

[root@mylx1 /]# hostname
mylx1
[root@mylx1 /]#

Can some one tell me what's wrong in here.

Thanks a lot
RK
 
Old 12-17-2007, 10:01 PM   #2
dsplabs
LQ Newbie
 
Registered: Nov 2007
Location: Brisbane, Australia
Distribution: Fedora, Suse, Ubuntu
Posts: 4

Rep: Reputation: 0
Just a wild guess, but if hostname -f or hostname -a fails with hostname: Unknown host error message, then this post: http://linux.dsplabs.com.au/hostname...error-fix-p52/ will help. Try the following in your /etc/hosts file:

#127.0.0.1 localhost.localdomain localhost
127.0.0.1 mylx1.domain.local mylx1
192.xxx.x.xxx mylx1

Last edited by dsplabs; 12-17-2007 at 11:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname in domain jhwilliams Linux - Software 4 07-12-2007 01:18 PM
Hostname and Domain Name SuSE 10.1 Wavz SUSE / openSUSE 7 05-23-2006 11:27 AM
Changing Hostname to Domain Name mikebua56 Linux - Newbie 1 11-06-2005 06:53 PM
hostname vs domain racediver007 Linux - Newbie 5 03-20-2003 03:30 PM
Understanding hostname/domain name SpaceGroove Linux - Newbie 2 01-26-2003 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration