On Wednesday 19 June 2013 01.27:33 doiggl@velocitynet.com.au wrote:
Hello. Thanks for the help Bruno.
I edited the file [1] Rerun commands [2]
Log shows no errors
#rcapache2 stop redirecting to systemctl stop apache2
# cat /var/log/apache2/error_log cat: /var/log/apache2/error_log: No such file or directory
So stopped at this point Still get error as [3]
Wonder what to check next --Glenn
[1] changed line in /etc/apache2/httpd.conf # apache2ctl -t [Wed Jun 19 00:29:58.477067 2013] [core:warn] [pid 10916] AH00117: Ignoring deprecated use of DefaultType in line 140 of /etc/apache2/httpd.conf. Syntax OK
So changed line in /etc/apache2/httpd.conf
From # associate MIME types with filename extensions TypesConfig /etc/apache2/mime.types DefaultType text/plain Include /etc/apache2/mod_mime-defaults.conf
To # associate MIME types with filename extensions TypesConfig /etc/apache2/mime.types # DefaultType text/plain Include /etc/apache2/mod_mime-defaults.conf
[2]rerun command # apache2ctl -t Syntax OK #
# rm /var/log/apache2/error_log
# rcapache2 start redirecting to systemctl start apache2
- browse to http://127.0.0.1/
[3] Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.4.4 (Linux/SUSE) Server at 127.0.0.1 Port 80
#edited file rerun command
# apache2ctl -t Syntax OK
there's some tricks you could investigate. first what the output of systemctl status apache2.service like here (just upgraded the 2.4.3 to 2.4.4) systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: active (running) since Wed, 2013-06-19 07:56:09 CEST; 2s ago Process: 1943 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=0/SUCCESS) Main PID: 1998 (httpd2-event) Status: "Processing requests..." CGroup: name=systemd:/system/apache2.service ├ 1998 /usr/sbin/httpd2-event -f /etc/apache2/httpd.conf -D SYSTEMD -DNO_DETACH -k start ├ 2041 /usr/sbin/httpd2-event -f /etc/apache2/httpd.conf -D SYSTEMD -DNO_DETACH -k start ├ 2042 /usr/sbin/httpd2-event -f /etc/apache2/httpd.conf -D SYSTEMD -DNO_DETACH -k start ├ 2043 /usr/sbin/httpd2-event -f /etc/apache2/httpd.conf -D SYSTEMD -DNO_DETACH -k start └ 2046 /usr/sbin/httpd2-event -f /etc/apache2/httpd.conf -D SYSTEMD -DNO_DETACH -k start Jun 19 07:56:09 c-3po.labaroche.ioda.net start_apache2[1998]: Module "unixd" is not installed, ignoring. Jun 19 07:56:09 c-3po.labaroche.ioda.net start_apache2[1998]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Jun 19 07:56:09 c-3po.labaroche.ioda.net systemd[1]: Started The Apache Webserver. apache2ctl -S (will show you the conf of vhost also) and finally the helper script start_apache2 could be the culprit /usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop check whatever you have in /etc/sysconfig/apache2 Mine is quite deviant from the default. Adjusted to my need. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org