Nach Ubuntu Update wird eine PHP Meldung gezeigt

Hat soweit geklappt nur hat jetzt Apache2 nach dem neustart ein Problem:

Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.

Code:
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit apache2.service has finished.
░░
░░ The job identifier is 3814 and the job result is done.
Aug 14 23:58:52 nextcloud systemd[1]: Starting The Apache HTTP Server...
░░ Subject: A start job for unit apache2.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit apache2.service has begun execution.
░░
░░ The job identifier is 3814.
Aug 14 23:58:52 nextcloud apachectl[15525]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.1.load: Cannot load /usr/lib/apache2/modules/libphp8.1.so into server: /usr/lib/apache2/modules/libphp8.1>
Aug 14 23:58:52 nextcloud apachectl[15522]: Action 'start' failed.
Aug 14 23:58:52 nextcloud apachectl[15522]: The Apache error log may have more information.
Aug 14 23:58:52 nextcloud systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 14 23:58:52 nextcloud systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
Aug 14 23:58:52 nextcloud systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit apache2.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit apache2.service has finished with a failure.
░░
░░ The job identifier is 3814 and the job result is failed.
Aug 15 00:00:53 nextcloud systemd[1]: Starting The Apache HTTP Server...
░░ Subject: A start job for unit apache2.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit apache2.service has begun execution.
░░
░░ The job identifier is 4302.
Aug 15 00:00:53 nextcloud apachectl[15715]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.1.load: Cannot load /usr/lib/apache2/modules/libphp8.1.so into server: /usr/lib/apache2/modules/libphp8.1>
Aug 15 00:00:53 nextcloud apachectl[15712]: Action 'start' failed.
Aug 15 00:00:53 nextcloud apachectl[15712]: The Apache error log may have more information.
Aug 15 00:00:53 nextcloud systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 15 00:00:53 nextcloud systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
Aug 15 00:00:53 nextcloud systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit apache2.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit apache2.service has finished with a failure.
░░
░░ The job identifier is 4302 and the job result is failed.
lines 5556-5626/5626 (END)
Ergänzung ()

@P54CS der Befehl wurde nicht gefunden.
Aber ich kann mich dran erinnern das, das mal geklappt hat.
 
Zuletzt bearbeitet:
ArrorRT schrieb:
@P54CS der Befehl wurde nicht gefunden
Wie hast du ihn exakt eingegeben? Paste mal hier.

ArrorRT schrieb:
nextcloud apachectl[15522]: The Apache error log may have more information
Dann zeig doch mal das zugehörige error log. Wird vermutlich nextcloud und error im Dateinamen haben.. Und in /var/log/apa liegen..
 
@madmax2010 ich habe php -v eingegeben

hier das log es hieß eroe.log.1 und lag unter /var/log/apache2/

Code:
[Sun Aug 14 22:15:58.059766 2022] [mpm_event:notice] [pid 4777:tid 139718761826176] AH00489: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 22:15:58.059917 2022] [core:notice] [pid 4777:tid 139718761826176] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 22:17:06.070030 2022] [mpm_event:notice] [pid 4777:tid 139718761826176] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 22:17:06.117704 2022] [mpm_event:notice] [pid 5096:tid 140452213229440] AH00489: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 22:17:06.117847 2022] [core:notice] [pid 5096:tid 140452213229440] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 22:36:56.048251 2022] [mpm_event:notice] [pid 5096:tid 140452213229440] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 22:36:56.094760 2022] [mpm_event:notice] [pid 13555:tid 139990815295360] AH00489: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 22:36:56.094928 2022] [core:notice] [pid 13555:tid 139990815295360] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 22:39:34.044745 2022] [mpm_event:notice] [pid 13555:tid 139990815295360] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 22:40:26.742824 2022] [mpm_event:notice] [pid 1003:tid 139697225095040] AH00489: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 22:40:27.318399 2022] [core:notice] [pid 1003:tid 139697225095040] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:09:15.653338 2022] [mpm_event:notice] [pid 1003:tid 139697225095040] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:09:18.047240 2022] [mpm_prefork:notice] [pid 14986] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 23:09:18.047426 2022] [core:notice] [pid 14986] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:09:18.162288 2022] [mpm_prefork:notice] [pid 14986] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:09:18.226546 2022] [mpm_prefork:notice] [pid 15026] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 23:09:18.226596 2022] [core:notice] [pid 15026] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:09:20.895280 2022] [mpm_prefork:notice] [pid 15026] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:09:20.965873 2022] [mpm_prefork:notice] [pid 15106] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Sun Aug 14 23:09:20.965923 2022] [core:notice] [pid 15106] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:09:54.447830 2022] [mpm_prefork:notice] [pid 15106] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:09:54.518721 2022] [mpm_prefork:notice] [pid 15222] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:09:54.518782 2022] [core:notice] [pid 15222] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:10:24.473870 2022] [mpm_prefork:notice] [pid 15222] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:10:24.589331 2022] [mpm_prefork:notice] [pid 16313] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:10:24.589385 2022] [core:notice] [pid 16313] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:12:47.309563 2022] [mpm_prefork:notice] [pid 16313] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:12:47.422077 2022] [mpm_prefork:notice] [pid 25656] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:12:47.422130 2022] [core:notice] [pid 25656] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:14:27.395112 2022] [mpm_prefork:notice] [pid 25656] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:15:21.832973 2022] [mpm_prefork:notice] [pid 997] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:15:21.848215 2022] [core:notice] [pid 997] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:19:01.095279 2022] [mpm_prefork:notice] [pid 997] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:19:01.195226 2022] [mpm_prefork:notice] [pid 3723] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:19:01.195338 2022] [core:notice] [pid 3723] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:19:02.211741 2022] [mpm_prefork:notice] [pid 3723] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Sun Aug 14 23:19:02.264809 2022] [mpm_prefork:notice] [pid 3723] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:19:02.264827 2022] [core:notice] [pid 3723] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:22:22.896930 2022] [mpm_prefork:notice] [pid 3723] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:22:23.009196 2022] [mpm_prefork:notice] [pid 20456] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:22:23.009252 2022] [core:notice] [pid 20456] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:22:37.996278 2022] [mpm_prefork:notice] [pid 20456] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:22:38.118824 2022] [mpm_prefork:notice] [pid 20527] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:22:38.118878 2022] [core:notice] [pid 20527] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:25:03.867330 2022] [mpm_prefork:notice] [pid 20527] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:25:03.987202 2022] [mpm_prefork:notice] [pid 30395] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:25:03.987260 2022] [core:notice] [pid 30395] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:27:28.377054 2022] [mpm_prefork:notice] [pid 30395] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:28:15.880196 2022] [mpm_prefork:notice] [pid 831] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:28:15.893595 2022] [core:notice] [pid 831] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:34:42.212903 2022] [mpm_prefork:notice] [pid 831] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:34:42.331305 2022] [mpm_prefork:notice] [pid 2839] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:34:42.331360 2022] [core:notice] [pid 2839] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:34:43.055826 2022] [mpm_prefork:notice] [pid 2839] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:34:43.170415 2022] [mpm_prefork:notice] [pid 2857] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:34:43.170484 2022] [core:notice] [pid 2857] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:41:02.713117 2022] [mpm_prefork:notice] [pid 2857] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:41:02.814629 2022] [mpm_prefork:notice] [pid 3899] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:41:02.814748 2022] [core:notice] [pid 3899] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:46:57.302418 2022] [mpm_prefork:notice] [pid 3899] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:46:57.402388 2022] [mpm_prefork:notice] [pid 14684] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:46:57.402505 2022] [core:notice] [pid 14684] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:54:26.772502 2022] [mpm_prefork:notice] [pid 14684] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:54:26.878818 2022] [mpm_prefork:notice] [pid 15083] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Aug 14 23:54:26.878883 2022] [core:notice] [pid 15083] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 14 23:54:47.506398 2022] [mpm_prefork:notice] [pid 15083] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Aug 14 23:54:47.622891 2022] [mpm_prefork:notice] [pid 15162] AH00163: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 configured -- resuming normal operations
 
ArrorRT schrieb:
@madmax2010 ich habe php -v eingegeben
das php modul hast du aber aktiviert?

php -v hat er nicht gefunden? Du hast aber nachgesehen und verifiziert, dass php installiert ist? Falls nicht waere das auch ein Ansatz
 
Ja habe ich, denn vorher kam der Apache Fehler nicht. Also gehe ich davon aus das es daran liegt.

jup ist installiert, habe die Installation neu gestartet und jetzt klappt es. Bzw. die Version wird korrekt dargestellt
Version 8.1


Übrigens, von außen ist der Server noch immer nicht erreichbar und im Netz kommt HTTP Error 500 bzw ''Diese Seite funktioniert im Moment nicht.''
Ergänzung ()

Nächster Nachtrag apache läuft jetzt dennoch HTTP Error 500 und nicht von außen erreichbar
 
Zuletzt bearbeitet:
madmax2010 schrieb:
nextcloud config angepasst?
madmax2010 schrieb:
zeig uns die nextcloud und reverse proxy configs..................
madmax2010 schrieb:
oder du hast in der nextcloud config noch die alte php-fpm version stehen
madmax2010 schrieb:
versuch doch bitte wenigstens manche der fragen teilweise zu beantworten.
?? wid aber wohl mod_php in der config sein
Ergänzung ()

madmax2010 schrieb:
Aaber, dass klingt direkt nach einem nextcloud error. Daher wirst du wohl in der nextcloud config nachsehen muessen, wo das nextcloud log liegt..
:) und was steht so im nextcloud log?
 
  • Gefällt mir
Reaktionen: ArrorRT
Inwiefern angepasst?

Wie kann ich die Config des reverse Proxys aufrufen?
Die Nextcloud Config poste ich im extra

Nein habe ich nicht

Tut mir leid das ich die Fragen übersehen habe, macht wohl die Müdigkeit
 
@madmax2010
heir die Nextcloud Config
Code:
<?php
$CONFIG = array (
  'instanceid' => '.............',
  'passwordsalt' => '................./',
  'secret' => '........................',
  'trusted_domains' =>
  array (
    0 => 'meine Domain',
    1 => 'IP des Servers',
  ),
  'datadirectory' => '/home/data/',
  'dbtype' => 'mysql',
  'version' => '24.0.4.1',
  'overwrite.cli.url' => 'https://reitmayer-server.cloudns.ph',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextclouduser',
  'dbpassword' => 'mein Passwort',
  'installed' => true,
  'default_phone_region' => 'DE',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_from_address' => 'meine Mail',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp-gmail.com',
  'mail_smtpport' => '557',
  'maintenance' => false,
  'updater.secret' => '..............................',
  'theme' => '',
  'loglevel' => 2,
);
 
Zurück
Oben