ich habe die Tage von Debian 7 ein Upgrade über die Version 8 auf 9 durchgeführt. Auf der Maschine läuft nur das Ticketsystem OTRS, welches nicht per Browser erreichbar ist.
Ich habe schon versucht dem Problem auf die Sprünge zu kommen habe jedoch alles nur schlimmer gemachtInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@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.

Code: Alles auswählen
root@OTRS01:/etc/apache2/sites-available# /etc/init.d/apache2 start
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!
Code: Alles auswählen
root@OTRS01:/etc/apache2/sites-available# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-04-29 13:09:53 CEST; 5s ago
Process: 27687 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILURE)
Process: 9250 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
Process: 9691 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Main PID: 22078 (code=exited, status=0/SUCCESS)
Apr 29 13:09:53 OTRS01 systemd[1]: Starting The Apache HTTP Server...
Apr 29 13:09:53 OTRS01 apachectl[9691]: AH00526: Syntax error on line 3 of /etc/apache2/sites-enabled/000-default.conf:
Apr 29 13:09:53 OTRS01 apachectl[9691]: Invalid command '----', perhaps misspelled or defined by a module not included in the server configuration
Apr 29 13:09:53 OTRS01 apachectl[9691]: Action 'start' failed.
Apr 29 13:09:53 OTRS01 apachectl[9691]: The Apache error log may have more information.
Apr 29 13:09:53 OTRS01 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 29 13:09:53 OTRS01 systemd[1]: Failed to start The Apache HTTP Server.
Apr 29 13:09:53 OTRS01 systemd[1]: apache2.service: Unit entered failed state.
Apr 29 13:09:53 OTRS01 systemd[1]: apache2.service: Failed with result 'exit-code'.
Code: Alles auswählen
<VirtualHost *:80>
---- END SSH2 PUBLIC KEY ----
---- END SSH2 PUBLIC KEY ----
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
