Und jetzt, läßt du das mediawiki fallen, ode was ?alles deinstalliert, was ich nach der Serverinstallation für das Mediwiki installiert hatte.
mfg
schwedenmann
Und jetzt, läßt du das mediawiki fallen, ode was ?alles deinstalliert, was ich nach der Serverinstallation für das Mediwiki installiert hatte.
Code: Alles auswählen
$ php -versionphp -version
Code: Alles auswählen
$ a2enmod php7.3
Considering dependency mpm_prefork for php7.3:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
ERROR: Could not enable dependency mpm_prefork for php7.3, aborting
$ a2enmod php7.3
Considering dependency mpm_prefork for php7.3:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
ERROR: Could not enable dependency mpm_prefork for php7.3, aborting
Es ist ein Server der in meinem kleinen Heimnetzwerk hängt.debijaner2 hat geschrieben:02.06.2020 13:26:25Hallo,
habe eine Verständnisfrage. Im 1. Post schreibst Du # auf einem Server im eigenen Netzwerk installiert. # laufen da mehrere Server auf mehreren Geräten ?.
Das klappt immer noch nicht:schwedenmann hat geschrieben:02.06.2020 15:38:223. Jetzt im Browser http://localhost aufrufen
dort sollte dan die Apache2-debia-default page einscheinen
Die Website ist nicht erreichbar
localhost hat die Verbindung abgelehnt.
Versuchen Sie Folgendes:
Verbindung prüfen
Proxy und Firewall prüfen
ERR_CONNECTION_REFUSED
Überprüfen Sie Ihre Internetverbindung.
Überprüfen Sie Ihre Netzwerkverkabelung und starten Sie verwendete Router, Modems oder andere Netzwerkgeräte neu.
Erlauben Sie Opera den Netzwerkzugriff in den Firewall- oder Antivirus-Einstellungen.
Falls das Programm schon in der Liste mit erlaubtem Netzwerkzugriff eingetragen ist, entfernen Sie es aus der Liste und fügen Sie es noch einmal hinzu.
Falls Sie einen Proxyserver verwenden…
Überprüfen Sie Ihre Proxyservereinstellungen oder kontaktieren Sie Ihren Netzwerkadministrator, um sicherzustellen, dass der Proxyserver funktioniert. Wenn Sie glauben, dass Sie keinen Proxyserver verwenden sollten: Rufen Sie das Hauptmenü und dann > Einstellungen > Proxy-Einstellungen ändern… > LAN-Einstellungen auf. Deaktivieren Sie »Proxyserver für LAN verwenden«.
Hallo,schwedenmann hat geschrieben:02.06.2020 19:24:45Hallo
Du rufst den Apache doch vom srver aus auf, oder ?
mfg
schwedenmann
so sollte s sein.dann erscheint wie gewohnt die Apache2 Debian Default Page.
<?php
phpinfo();
?>
Code: Alles auswählen
# a2enmod php7.3
Considering dependency mpm_prefork for php7.3:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
ERROR: Could not enable dependency mpm_prefork for php7.3, aborting
# a2dismod mpm_prefork
Module mpm_prefork already disabled
Ich nehme an, du hast dich verlesen?Bebbi hat geschrieben:02.06.2020 21:05:01# a2enmod php7.3
Considering dependency mpm_prefork for php7.3:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
ERROR: Could not enable dependency mpm_prefork for php7.3, aborting
# a2dismod mpm_prefork
Module mpm_prefork already disabled
Code: Alles auswählen
# a2dismod mpm_event
Module mpm_event disabled.
To activate the new configuration, you need to run:
systemctl restart apache2
Code: Alles auswählen
# 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.
Ausgabe für journalctl -xe● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Tue 2020-06-02 23:36:47 CEST; 27s ag
Docs: https://httpd.apache.org/docs/2.4/
Process: 4527 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILU
Jun 02 23:36:47 cubieboard2 systemd[1]: Starting The Apache HTTP Server...
Jun 02 23:36:47 cubieboard2 apachectl[4527]: AH00534: apache2: Configuration err
Jun 02 23:36:47 cubieboard2 apachectl[4527]: Action 'start' failed.
Jun 02 23:36:47 cubieboard2 apachectl[4527]: The Apache error log may have more
Jun 02 23:36:47 cubieboard2 systemd[1]: apache2.service: Control process exited,
Jun 02 23:36:47 cubieboard2 systemd[1]: apache2.service: Failed with result 'exi
Jun 02 23:36:47 cubieboard2 systemd[1]: Failed to start The Apache HTTP Server.
lines 1-13/13 (END)...skipping...
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-06-02 23:36:47 CEST; 27s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 4527 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Jun 02 23:36:47 cubieboard2 systemd[1]: Starting The Apache HTTP Server...
Jun 02 23:36:47 cubieboard2 apachectl[4527]: AH00534: apache2: Configuration error: No MPM loaded.
Jun 02 23:36:47 cubieboard2 apachectl[4527]: Action 'start' failed.
Jun 02 23:36:47 cubieboard2 apachectl[4527]: The Apache error log may have more information.
Jun 02 23:36:47 cubieboard2 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 02 23:36:47 cubieboard2 systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 02 23:36:47 cubieboard2 systemd[1]: Failed to start The Apache HTTP Server.
" Failed to start The Apache HTTP Server" sollte auf ein Problem hinweisen.Jun 02 23:36:47 cubieboard2 apachectl[4527]: Action 'start' failed.
Jun 02 23:36:47 cubieboard2 apachectl[4527]: The Apache error log may have more information.
Jun 02 23:36:47 cubieboard2 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jun 02 23:36:47 cubieboard2 systemd[1]: apache2.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit apache2.service has entered the 'failed' state with result 'exit-code'.
Jun 02 23:36:47 cubieboard2 systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: A start job for unit apache2.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit apache2.service has finished with a failure.
--
-- The job identifier is 1840 and the job result is failed.
Jun 02 23:39:01 cubieboard2 CRON[4536]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 02 23:39:01 cubieboard2 CRON[4537]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun 02 23:39:01 cubieboard2 CRON[4536]: pam_unix(cron:session): session closed for user root
Jun 02 23:39:04 cubieboard2 systemd[1]: Starting Clean php session files...
-- Subject: A start job for unit phpsessionclean.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit phpsessionclean.service has begun execution.
--
-- The job identifier is 1902.
Jun 02 23:39:05 cubieboard2 systemd[1]: phpsessionclean.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit phpsessionclean.service has successfully entered the 'dead' state.
Jun 02 23:39:05 cubieboard2 systemd[1]: Started Clean php session files.
-- Subject: A start job for unit phpsessionclean.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit phpsessionclean.service has finished successfully.
--
-- The job identifier is 1902.
Code: Alles auswählen
netstat -pltn
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1180/mysqld
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1074/sshd
tcp6 0 0 :::22 :::* LISTEN 1074/sshd
Grüße[Tue Jun 02 21:01:07.817496 2020] [mpm_event:notice] [pid 1121:tid 3069492656] AH00491: caught SIGTERM, shutting down
[Tue Jun 02 21:01:08.096796 2020] [mpm_event:notice] [pid 3814:tid 3069676976] AH00489: Apache/2.4.38 (Debian) configured -- resuming normal operations
[Tue Jun 02 21:01:08.097583 2020] [core:notice] [pid 3814:tid 3069676976] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jun 02 23:36:47.185989 2020] [mpm_event:notice] [pid 3814:tid 3069676976] AH00491: caught SIGTERM, shutting down