[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache läuft nicht



Am Montag, 4. Mai 2020, 11:34:28 CEST schrieb Klaus Becker:

Moin,

das Problem liegt offensichtlich bei mythweb.

Wenn ich es desinstalliere, läuft apache2 und zeigt brav localhost an. Bei "http://localhost/phpinfo.php"; bekomme ich allerdings eine Fehlermeldung, bei "http://localhost/CTadmin/"; ebenso. Php-seiten werden offensichtlich nicht interpretiert.

Wenn ich mythweb wieder neu installiere, bekomme ich die Meldung:

"apache2_invoke: Enable configuration mythweb
apache2_reload: Your configuration is broken. Not reloading Apache 2
apache2_reload: AH00526: Syntax error on line 109 of /etc/apache2/conf-enabled/mythweb.conf: apache2_reload: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration".

Die Zeile 109 in /etc/apache2/conf-enabled/mythweb.conf lautet:
"php_value file_uploads    0"

Ich hab' die Zeile kommentiert, apache neu gestartet und bekomme die Nachricht:
"# systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details"

"systemctl status apache2.serviceystemctl status apache2.service" sagt u. A.:
mai 04 20:39:32 1stein systemd[1]: Starting The Apache HTTP Server...
mai 04 20:39:32 1stein apachectl[152600]: AH00526: Syntax error on line 109 of /etc/apache2/conf-enabled/mythweb.conf: mai 04 20:39:32 1stein apachectl[152600]: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configur>
mai 04 20:39:32 1stein apachectl[152597]: Action 'start' failed.
mai 04 20:39:32 1stein apachectl[152597]: The Apache error log may have more information.

In der Asugabe von "journalctl -xe" ist nur von mythbackend und sshd die Rede, ich sehe da keinen Zusammenhang mit meinem Problem.


In der Ausgabe des error logs steht u. A.:

# grep -i error /var/log/apache2/error.log | tail -5
[Mon May 04 13:17:02.152697 2020] [php7:warn] [pid 115358] [client ::1:51358] PHP Warning: Use of undefined constant error_email - assumed 'error_email' (this will throw an Error in a future version of PHP) in /usr/share/mythtv/mythweb/includes/errors.php on line 237 [Mon May 04 13:17:02.152790 2020] [php7:warn] [pid 115358] [client ::1:51358] PHP Warning: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP) in /usr/share/mythtv/mythweb/includes/utils.php on line 334 [Mon May 04 13:17:02.152799 2020] [php7:warn] [pid 115358] [client ::1:51358] PHP Warning: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP) in /usr/share/mythtv/mythweb/includes/utils.php on line 335

grep -i warn (oder error oder failed) /var/log/apache2/access.log
findet nichts.

Ich habe unstable und MythTV noch auf einem anderen Computer und habe dort genau das gleiche Problem mit mythweb.

Gruß

Klaus


Reply to: