Find the answer to your Linux question:
Results 1 to 4 of 4
Hi All I am using a centOS server and am trying to install Apache 2.0.48 using a tar.gz file ..... The configure , make and make install commands got executed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Location
    Pune
    Posts
    2

    Unhappy Segmentation Fault while trying to start Apache


    Hi All

    I am using a centOS server and am trying to install Apache 2.0.48 using a tar.gz file .....
    The configure , make and make install commands got executed without any errors , but when i try to start Apache using either $ ./apachectl start or $ service httpd start ... I get the same error " Segmentation Fault $HTTPD -k $ARGV "

    The following is the configure command that I used to install Apache :
    $ ./configure --prefix=/home/new1/httpd/ --enable-rewrite --enable-mods-
    shared=all --enable-logio --enable-deflate --enable-ssl

    Hoping an urgent help .

    Thanks in Advance

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    11

    Apache Segmentation fault

    Hi,

    Try to start httpd with strace, i.e strace -f /usr/sbin/httpd. You will get some information about whereis the problem.

  3. #3
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    also why didn't you just install apache during the OS install? If the version was too old can't you yum upgrade apache? maybe I am wrong don't know enough about that but seems reasonable to me.

    Anyways also check here
    /var/log/

    tail -100 messages

    var/log/httpd

    tail -100 error.log

    Also it is an RPM OS you might have better luck with an RPM.

    Remember that centos is RedHat and RedHat likes to move things around.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2007
    Location
    Pune
    Posts
    2
    Hi All

    Thanks a lot guys .

    The OS had already installed apache but I wanted a different version and also I wanted it with ssl and some other feature support which was not there and it was really difficult to reconfigure the installed apache binary .

    Anyways , I could avoid the error I was facing by installing a different version. I was getting error with Apache 2.0.48 but was successful in installing Apache 2.0.50 .

    So, I took on from there to proceed further .
    Anyways , thanks a lot again for ur inputs .

    Regards
    V.T.

Posting Permissions

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