Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Systems > Linux / BSD / OS X

Reply
 
LinkBack Thread Tools Display Modes
Old 01-04-2003, 03:54 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
looking for some help.

anyone interested in helping me downgrade apache in my redhat 8.0 box?

the box is co-located and installing a different o/s isn't an option.

apache 2 comes with redhat 8 and it does not seem to be an rpm. i'm not sure how to get rid of it.

please help me.
sde is offline   Reply With Quote
Old 01-04-2003, 04:16 PM   #2 (permalink)
anon
Guest
 
Posts: n/a
I would just rm -rf anything with apache in the name and then re-install it.
  Reply With Quote
Old 01-04-2003, 04:49 PM   #3 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Or you can reinstall Redhat without the apache pkg.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 01-04-2003, 04:49 PM   #4 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
or you can reinstall redhat without the apache pkg
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 01-04-2003, 05:29 PM   #5 (permalink)
anon
Guest
 
Posts: n/a
Quote:
Originally posted by ilya020
or you can reinstall redhat without the apache pkg
Not an option you moron, stop floding the boards!
  Reply With Quote
Old 01-04-2003, 06:18 PM   #6 (permalink)
revolution
Legend in my own mind
 
revolution's Avatar
 
Join Date: May 2002
Location: florida
Posts: 618
revolution is on a distinguished road
Send a message via AIM to revolution
i dont think ive tried to remove anything that was put in place on the install other than manually deleting the files and directories themselves (which im not sure is a smart thing), but i havent had a problem yet. I would think if you would do the [SHELL]$whereis apache[/SHELL] and get rid of all the dir's and files and then download the source for apache and install you should be ok. Please someone correct me if im wrong
__________________
Is it me or does the word abbreviation seem a little long?


registered user #193524 with the Linux Counter,
http://counter.li.org
revolution is offline   Reply With Quote
Old 01-04-2003, 06:42 PM   #7 (permalink)
anon
Guest
 
Posts: n/a
Quote:
Originally posted by revolution
i dont think ive tried to remove anything that was put in place on the install other than manually deleting the files and directories themselves (which im not sure is a smart thing), but i havent had a problem yet. I would think if you would do the [SHELL]$whereis apache[/SHELL] and get rid of all the dir's and files and then download the source for apache and install you should be ok. Please someone correct me if im wrong
I would do updatedb;locate apache because I believe whereis only finds things with an EXACT match... may be wrong though..
  Reply With Quote
Old 01-04-2003, 06:43 PM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
thansk guys.. i'm about to fix something or break somethin .. here we go =)
sde is offline   Reply With Quote
Old 01-04-2003, 06:44 PM   #9 (permalink)
anon
Guest
 
Posts: n/a
sde, if YOU REALLY need something accurate install RH 8.0 on another box, then install apache with PHP. Record ALL changes and copy them over... It's timely though and slow...
  Reply With Quote
Old 01-04-2003, 06:59 PM   #10 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
whereis apache

just returns "apache:" .. no directories or anything.
sde is offline   Reply With Quote
Old 01-04-2003, 07:03 PM   #11 (permalink)
anon
Guest
 
Posts: n/a
WTF? do:

whereis htdocs
whereis httpd.conf

They should show a location . Where do you keep your web servers files? /www? rm -rf it.
  Reply With Quote
Old 01-04-2003, 07:24 PM   #12 (permalink)
revolution
Legend in my own mind
 
revolution's Avatar
 
Join Date: May 2002
Location: florida
Posts: 618
revolution is on a distinguished road
Send a message via AIM to revolution
Quote:
Originally posted by sde
whereis apache

just returns "apache:" .. no directories or anything.
you sure apache is installed and running? when i do a [SHELL]$ whereis apache[/SHELL] on mandrake which has no apache installed i get the same, but when i do the same on my debian server i get all the listings
__________________
Is it me or does the word abbreviation seem a little long?


registered user #193524 with the Linux Counter,
http://counter.li.org
revolution is offline   Reply With Quote
Old 01-04-2003, 07:28 PM   #13 (permalink)
anon
Guest
 
Posts: n/a
whereis is probably screwed up, I would just use locate (notice you have to do updatedb before you run locate)
  Reply With Quote
Old 01-04-2003, 09:12 PM   #14 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
whereis works perfectly fine.

what about: whereis httpd ?/ would that be the same thing?
sde is offline   Reply With Quote
Old 01-04-2003, 09:45 PM   #15 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
Mike,

Try these:

- locate apachectl
- locate httpd.conf

Also:

- rpm -qa | grep apache
- service httpd status

if the service command returns "OK" then you can look at the file /etc/init.d/httpd to figure out what it is running.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 12:38 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting