LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-03-2007, 01:58 AM   #1
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Rep: Reputation: 15
Question Cento OS 4.4 server with no resolv.conf?


Hello guys, I come from a Fedora background and decided to install Cent 0S in a box at my office, I opted for the Cent 0S 4.4 server version since it seemed as a good option. After installing it in my box, I'm having 2 issues with it:

1- I custom installed and added mysql, but guess what, it is no where to be found, and "service mysql status" generates an unrecognized service notice.

2- I cannot use yum, been having problems with the Base URL not being found,even as I try to use wget on x page I get: "Temporary failure in name resolution". As I tried to fix the issue I realized there is no /etc/resolv.conf.

What is wrong? am I doing something wrong? or is it Cent OS?
 
Old 12-03-2007, 07:28 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
YOu must be doing something wrong because I am using CentOS 4.4 and do not have these problems. I don't use MySQL so I can't speak on that part, but I do have a /etc/resolv.conf file
 
Old 12-03-2007, 08:01 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
So, create yourself a resolv.conf file and then do a locate mysql to find your mysql install. Did you happen to install by source or RPM? Probably best to install by RPM as it will create the init scripts for you.

If you did install by rpm, search the rpm database.

rpm -qa | grep MySQL
 
Old 12-03-2007, 08:54 AM   #4
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Original Poster
Rep: Reputation: 15
Thank you for your replies guys. I installed mysql from the cd as part of the original install. Note that this is an install that uses a single cd (for servers). Anyhow my guess is that the file was corrupted as I downloaded it (I didn't do a md5sum, just a media check). I decided to go with a full install of Cent OS 5 (since I don't know what else could be wrong with this install). Again I really appreciate your input. Many thanks.

UPDATE: I finally got it to work. The issue at hand was an incompatibility of the volume groups. I had previously installed Fedora Core 6 which used LVM1. CentOS uses LVM2, so I had to wipe my disk clean using knoppix and zeroing the hd by means of #dd if=/dev/zero of=/dev/hda.

Last edited by YAOMK; 04-21-2008 at 12:29 AM.
 
  


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
resolv.conf c0mputerking Linux - Software 18 12-20-2007 02:03 AM
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 09:21 AM
Who changes /etc/resolv.conf? lmp Debian 4 11-29-2005 08:08 AM
dns server and /etc/resolv.conf freeosfreesoul Linux - Laptop and Netbook 2 09-02-2005 06:45 PM
resolv.conf?? wrat Linux - Newbie 3 06-14-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration