Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Startup scripts question
Results 1 to 4 of 4

Thread: Startup scripts question

  1. #1

    Startup scripts question

    This is a really simple question, but I ask because I don't want to screw anything up (which I've done before)

    I lease a dedicated server running Red Hat 7.2. A while back I installed a newer version of Apache, but since it's in a different location than the default machine config, Apache no longer starts during boot up. I have to do it manually.

    The command I use is:
    /usr/local/apache/bin/apachectl startssl

    What is the correct file I need to edit to get it to start during boot, and is there a special syntax I need to follow? Thanks.

  2. #2

    Re:Startup scripts question

    hello,
    it would be in /etc/init.d and would be called www or apache, i can't remember whic exactly - anyway - when you edit it it should be failr ly obvious as to what you need to fix.

    please let us know if you have issues.

  3. #3
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re:Startup scripts question

    it's called /etc/init.d/httpd
    Change the apachectl, moduledir and httpd variable in it to point where your new version is located.. And everything should be fine.

  4. #4

    Re:Startup scripts question

    Great, thanks for the help!

Similar Threads

  1. Scripts
    By countach44 in forum Windows - General Topics
    Replies: 8
    Last Post: 05-25-2005, 10:47 PM
  2. Startup scripts
    By cloverm in forum Linux - General Topics
    Replies: 2
    Last Post: 06-20-2003, 03:01 PM
  3. Startup applications question...
    By vwgtiturbo in forum Redhat / Fedora
    Replies: 3
    Last Post: 04-24-2003, 02:39 AM
  4. Can this be done with Scripts ??
    By Compunuts in forum Programming
    Replies: 14
    Last Post: 11-08-2002, 08:06 AM
  5. KDM startup scripts.
    By Kernel_Killer in forum Programming
    Replies: 0
    Last Post: 09-08-2002, 08:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •