Apache segmentation fault

7,940

Try reinstall all apache packages(segfault apache-mpm, apache2 is metapackage)

sudo apt-get remove apache2
sudo apt-get autoremove
sudo apt-get install apache2

Try check md5sum:

sudo apt-get install debsums
sudo debsums -s

Also try use gdb:

gdb apache2
(gdb) run

Try backup config:

cp -R /etc/apache2 ~/apache2_conf

and delete package with config.

Share:
7,940

Related videos on Youtube

hiemye
Author by

hiemye

Updated on September 17, 2022

Comments

  • hiemye
    hiemye almost 2 years

    Ubuntu 10.10, Apache 2.2.16:

    # service apache2 start
     * Starting web server apache2                                                                                                                                         Segmentation fault
    Action 'start' failed.
    The Apache error log may have more information
    

    in log:

    [  968.901395] apache2[1850]: segfault at 4 ip b76fafb3 sp bf824b94 error 4 in ld-2.12.1.so[b76f0000+1c000]
    

    Reinstall don't help

    $ sudo apt-get --reinstall install apache2
    
  • hiemye
    hiemye over 13 years
    debsums: changed file /usr/lib/apache2/mpm-worker/apache2 (from apache2.2-bin package)
  • ooshro
    ooshro over 13 years
    @hiemye try: sudo apt-get --reinstall install apache2-bin
  • drakonli
    drakonli over 7 years
    I know this is an old thread, but thank you, helped after deleting apache2_conf. Can you interpret what is happening? Why suddenly the segmentation errors?