LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-10-2003, 07:24 PM   #1
WizardLock
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0
Posts: 2

Rep: Reputation: 0
Exclamation Deleted /etc/httpd


I need some help. I am new to Linux. I have been using Solaris mainly and Windows. ... anyways, I originally installed apache2 from a tar file. I heard today that Red Hat had rpm's for it. So I deleted the /usr/local/apache2 folder. Then I ran the rpm file I downloaded from Red Hat's site. I got a WHOLE bunch of errors, that mainly looked like this:

package httpd-2.0.40-11.5 (which is newer than httpd-2.0.40-8) is already installed

file /usr/bin/ab from install of httpd-2.0.40-8 conficts with file from package httpd-2.0.40-11.5

it then made reference to /etc/httpd. So I went ahead and deleted that folder as well, thinking that when I run the httpd rpm file, it would create it, but it didn't.

Any ideas (besides a fresh install) how to get this fixed? Thanks alot
 
Old 06-10-2003, 07:30 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Welcome to LQ. The problem is that the package you downloaded from RH is older than the one you already installed. You could, if you really wanted, force the installation of the RH file (rpm -Uvh xxxx.rpm --force --nodeps) or you could re-install the tar file you had originally. If everything was working fine under the version you installed from the tar file, then why use the rpm?
 
Old 06-10-2003, 07:31 PM   #3
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
Did you install apache during the install maybe rpm's try rpm -qa | grep httpd
 
Old 06-11-2003, 07:03 AM   #4
WizardLock
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
Got it!!!

I did that rpm -qa | grep httpd and found the newer version running, which is httpd-2.0.46-11.5..., but the rpm from Linux was httpd-2.0.46-8, so it was older and wouldn't let me install it... so this is what I typed and it worked

rpm -ivh --oldpackage httpd-2.0.46-8-i386.rpm

Not sure if that is the exact name of the rpm file, but it worked. I appreciate your help!!!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM
deleted httpd.conf - apache still finds it after restart jordanthompson Linux - Software 1 10-16-2004 02:08 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
HELP! I've deleted the /etc/httpd folder Neb Linux - Newbie 6 05-16-2003 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:46 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