• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Apach2 Problem

Hallo, ich habe folgendes Apache2 Problem, welches im laufenden Betribe aufgetreten ist:

Ich wollte per webbrowser auf meinen webserver zugreifen, aber es wurde mir nur ein weiser schirm uebertragen und der webbrowser zeigte fertig geladen an. Daraufhin hab ich in der konsole den apache gerestarted. Folgendes Prob trat auf:

Code:
server:/home/user # rcapache2 start
Starting httpd2 (prefork) /usr/sbin/rcapache2: line 102: 27503 Segmentation fault      /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -t

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
                                                                      failed
server:/home/www #

Koennt ihr mir dabei weiter helfen?

Das waere nett!

mfg Amswetter
 
Könnte so ziemlich alles sein.

Die Fehlermeldung sagt die hast eine Art "Blue Screen" (vlt. ne Speicherzugriffsfehler oder aehnlich)

Was steht in Zeile 102??

Gruß Dominik
 
Zeile 102 in der /usr/sbin/rcapche und folgende lauten:

Code:
if eval $cmdline -t > $logdir/rc$pname.out 2>&1 ; then
                export -n ${!APACHE_*}
                eval startproc -f -t ${APACHE_START_TIMEOUT:-2} $cmdline
                ret=$?

                if test -t 1 && stty -a 2>/dev/null | grep -q -- -echo\ ; then
                        # this means that apache was still waiting for a passphrase to be entered
                        stty echo 2>/dev/null
                        echo;echo
                        echo >&2 An SSL passphrase has not been entered within ${APACHE_START_TIMEOUT:-<not set>} seconds.
                        echo >&2 To increase this timeout, adjust APACHE_START_TIMEOUT in $sysconfig_apache .
                        # this surely means that apache won't start, despite it looked good to startproc
                        killall $apache_bin
                        echo >&2 "Trying to start the server without SSL (-D NOSSL)."
                        $0 start "$@" -D NOSSL
                        # rc_failed 1
                        # rc_status -v1
                        # rc_exit
                else
                        rc_failed $ret
                        rc_status -v
                fi
        else
                if [ "$link" = "$base" ] ; then
                        cat $logdir/rc$pname.out
                        echo >&2
                        echo >&2 The command line was:
                        echo >&2 $cmdline
                        echo >&2
                else
                        echo -e -n "\nsee $logdir/rc$pname.out for details\n";
                fi
                rc_failed 1
                rc_status -v1
        fi
        ;;
    stop)
        echo -n "Shutting down httpd2 "
        if [ ! -f $pidfile -a -f $pidfile.rpmsave ]; then mv $pidfile.rpmsave $pidfile; fi
        if ! [ -f $pidfile ]; then
                echo -n "(not running)"
 
Oben