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, 09:15 PM   #16 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
thanks scott, .. here are the results. [SHELL] [root@dp root]# whereis apachectl
apachectl: /usr/sbin/apachectl /usr/share/man/man8/apachectl.8.gz
[root@dp root]# rpm -qa |grep apache
[root@dp root]# service httpd status
httpd (pid 19209 19208 19207 19206 19205 19204 19203 19202 19199) is running...
[root@dp root]#[/SHELL]

my httpd.conf is in /etc/httpd/conf/

so it's like apache isn't an rpm for redhat 8.0 .. kinda weird . now do i just remove everything in /etc/httpd/ ?

i'm completely lost.
sde is offline   Reply With Quote
Old 01-04-2003, 09:20 PM   #17 (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
Just do what I love to do...:

[SHELL]$ rm -rf[/SHELL]
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 01-04-2003, 09:27 PM   #18 (permalink)
anon
Guest
 
Posts: n/a
cp -R /etc/httpd /etc/backup
rm -rf /etc/httpd

Then try to access the webpage, if it works, well you just FSCKED UP! But you have a back up If you can access it. Horrah! Get the latest packages and install!


EDIT: Soon I will be in the CodeNewbie IRC channel if you want to talk to me or something?

EDIT(again): Can't find it, nevermind... Telepathy?
  Reply With Quote
Old 01-04-2003, 09:36 PM   #19 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
haha irc .. i remember that =)

irc.openprojects.net #codenewbie

i didn't even think of backing up =) good advice. i won't be in irc tonight, but i guess this is how i'll start.
sde is offline   Reply With Quote
Old 01-04-2003, 09:39 PM   #20 (permalink)
anon
Guest
 
Posts: n/a
FINE THAT I WONT BE IRC EITHER! =) But backup and do it, and if it fsckes up and goes belly up, well hey your problem not mine
  Reply With Quote
Old 01-04-2003, 09:46 PM   #21 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
Don't just start removing things. That gets to be a pain in the arse to recover from.

Bare with me a few, I'm gonna check a few things and maybe come up with an answer for you.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Old 01-04-2003, 09:50 PM   #22 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
Okay, it looks like RedHat 8.0 has the rpms named different than previously.

do this:

- rpm -qa|grep -i httpd

And post the results...

Removing it may be as simple as:

- rpm -qa|grep -i httpd | xargs rpm -e

But, lets see the output first.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Old 01-04-2003, 09:52 PM   #23 (permalink)
anon
Guest
 
Posts: n/a
sdeming, damn, taking out the fun of rm -rf'ing just any random directory with web or apache on it
  Reply With Quote
Old 01-04-2003, 09:55 PM   #24 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
thanks scott, .. the main goal here is just to be able to run apache/php/mysql together on rh8. if there is anything you need to check on the box, let me know and i'll get the info, or give you login. thanks!
sde is offline   Reply With Quote
Old 01-04-2003, 09:56 PM   #25 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
Quote:
Originally posted by Vlad902
sdeming, damn, taking out the fun of rm -rf'ing just any random directory with web or apache on it
i trust scott like yoda .. =) he runs the servers that all mine and my friends websites are hosted on w/o any downtime in the last year =) ... or at least any that we know of
sde is offline   Reply With Quote
Old 01-04-2003, 09:56 PM   #26 (permalink)
anon
Guest
 
Posts: n/a
Quote:
Originally posted by sde
thanks scott, .. the main goal here is just to be able to run apache/php/mysql together on rh8. if there is anything you need to check on the box, let me know and i'll get the info, or give you login. thanks!
sde, give me a log in, I am well trained in the are of rm -r and rm -f, and even combined, INTO rm- rf!
  Reply With Quote
Old 01-04-2003, 09:57 PM   #27 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
Mike,

Email me the login info. I'll at least gather the required details and then walk you through the motions. You may want to install Apache via source as well so you can be certain you are always up to date on the latest patches and such.

Building apache and php is relatively simple, again I can help you with that stuff. RPM's for things like that just get in the way.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Old 01-04-2003, 09:57 PM   #28 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
Quote:
Originally posted by Vlad902


sde, give me a log in, I am well trained in the are of rm -r and rm -f, and even combined, INTO rm- rf!
ip: 12.34.56.78
user: yeah
pass: right

sde is offline   Reply With Quote
Old 01-04-2003, 09:59 PM   #29 (permalink)
anon
Guest
 
Posts: n/a
sdeming: Best guide to installing Apache:
http://www.php.net/manual/en/install....apache-module
:rock: php.net for life!
  Reply With Quote
Old 01-04-2003, 10:01 PM   #30 (permalink)
anon
Guest
 
Posts: n/a
Quote:
Originally posted by sde


ip: 12.34.56.78
user: yeah
pass: right

??? What does "404" mean ???

He try my computer:

ip: 98.76.54.32
user: up
pass: yours

  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 03:41 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





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