Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 7th, 2001, 11:54 AM
cliffyman cliffyman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Washington DC, USA
Posts: 156 cliffyman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 7 sec
Reputation Power: 8
Send a message via AIM to cliffyman
apachectl script, not there by default?

I just installed RH 7.1 on a box and then added the following RPM:

apache 1.3.19-5.i386.rpm

it seemed to install things a little differently than on the 6.2 server we bought from VA Linux a ways back... ie, main differences being that there is no /usr/local/apache path on the 7.1 folder and everything seems to be centered around httpd as opposed to apache or apachectl.

Anyways, I have apacheconf running in gnome and all seems well, except i don't have my apachectl script so i can't find a good way to start | restart | stop the server (I've heard doing httpd stop | start is bad). what can i do to get this script in there?

incidentally, i'm not opposed to reinstalling the whole RPM or another apache RPM that will give me what i consider to be the standard /usr/local/apache paths and apachectl all by default.

thanks for your help!

Reply With Quote
  #2  
Old November 7th, 2001, 12:26 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
When it comes to installing Apache, RPM is a piece of **** that doesn't give you flexibility or configurability.

>> except i don't have my apachectl script

Because Redhat invented their own start/stop script at /etc/rc.d/init.d/httpd or equivalent.

>> I've heard doing httpd stop | start is bad

Yes and you probably heard it from me.
When you install Apache via RPM, the directory where Apache binary (httpd) resides will be in your $PATH. When you run httpd stop without the path, the httpd daemon will be invoked instead of the startup script at /etc/rc.d/init.d/httpd. If Redhat is still using the same startup script name as httpd, what a shame.

Keep in mind, apachectl is just a simple script (written by my former co-worker). If you perfer it, just do a search in google.com and replace your Redhat default one. If you wish to stick with the default one, just create a symlink from your /etc/rc.d/init.d/httpd to another location like /usr/local/sbin (make sure it's in your $PATH).

Reply With Quote
  #3  
Old November 7th, 2001, 12:31 PM
cliffyman cliffyman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Washington DC, USA
Posts: 156 cliffyman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 7 sec
Reputation Power: 8
Send a message via AIM to cliffyman
Hey,


Thanks for the info. I'm pretty uncomfortably with this new configuration of how RH dumped all their stuff all over the place... if I remove it, where's a good place to get one of those tar.gz archives that extracts an installable binary (still working on Linux lingo, forgive me if that didn't make sense)?

Reply With Quote
  #4  
Old November 7th, 2001, 12:41 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> of how RH dumped all their stuff all over the place

Then it's time to look for RH's alternative such as Slackware or even ditch Linux altogether and migrate to BSD like FreeBSD. Read the entire thread of Differences in the *BSDs in BSD forum to find out more.

>> place to get one of those tar.gz

Go to http://httpd.apache.org/dist/

>> http://httpd.apache.org/dist/

Then go freshmeat. Those tar.gz are not installable but compilable. As I said, precompiled binary sucks and you will lose configurability such as where to install things with your own preference. The install paths are basically based on an individual perference (the binary maker).

Reply With Quote
  #5  
Old November 8th, 2001, 10:41 AM
blackbird's Avatar
blackbird blackbird is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: USA
Posts: 62 blackbird User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
re:apachectl

If you want to keep redhat 7.x, there are two choices:

1. Compile apache, php and mysql from source. This will need some work but it can be done(I did).

2. Go to amazon and buy the book "Redhat server 7" by Kabir which explains evrything about redhat 7.x and how to set up server with apache the rpm way.

I do agree with the other post that rpms messed up a lot of things when it comes to setup server. For playing desktop, games and for beginners, however, rpms do make learning easier.

Last edited by blackbird : November 8th, 2001 at 10:44 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apachectl script, not there by default?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway