LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-27-2004, 11:04 PM   #1
needforspeed
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 73

Rep: Reputation: 15
Question changing host name


I changed the hostname of my computer, and then restarted, as it restarted httpd failed to start, and failed to stop and then start in the services window. I changed the name back and it started just fine. Is there something I have to do besides changing the host name in the network config?

I'm using RH9 with Ximian desktop 2.

The reason I want to change the name is because I have another computer on my network that is trying to access a mysql server which is this computer. But I didn't name the computer the same name in windows and linux, and the other computer is still trying to use the windows hostname, and to top it off, I can't find a way to change the hostname to connect to on the other computer. The other computer basically says it can't find the server and stops. I tried stopping the IPtables service, but it still won't connect when I tried another application on the other computer. Any recommendations?
 
Old 02-28-2004, 12:44 PM   #2
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Firstly, depending on how you've got apache set up, it might not like your hostname change. What do you get as error messages when you try and start httpd using a terminal?

Secondly, it sounds like you've got an issue with samba. You need to make sure that the hostname that the windows computer is looking for is not the same as the SAMBA hostname - edit smb.conf to alter this.

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
changing host name scng Linux - Newbie 10 10-03-2004 07:36 AM
Changing host Name velan Red Hat 4 09-29-2004 12:07 AM
Changing host name jonathanztaub Red Hat 3 05-03-2004 04:14 AM
changing host name hoffman Linux - Newbie 3 11-22-2003 03:16 AM
Changing Host name coolamit78 Linux - General 2 10-04-2003 01:18 AM


All times are GMT -5. The time now is 02:30 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration