Guten Abend zusammen,
nach dem ich in der Suche nichts gefunden habe, das mir weiterhilft habe ich mich entschlossen, euch um Rat zu bitten.
Ich habe mir einen Raspberry Pi4 gekauft und bin dabei das Neuland zu entdecken. Nach dem ich eine Anleitung für Nextcloudpi gefunden habe, habe ich dass dann installiert. Da die beschriebene Vorgehensweise mit der automatischen Erstellung eines SSL Zertifikates nicht geklappt hat, habe ich eine weitere Anleitung gefunden, nach welcher ich vorgegangen bin (https://www.itc-bremen.com/wp/selbstsigni…te-ohne-domain/)
Als ich zu dem Punkt kam, an welchem ich den Apache2 neustarten sollte, bekam ich eine Fehlermeldund, dass das nicht geht. Habe dann den Raspberry neugestartet und erhalte diese Meldung: Failed to start the Apache HTTP Server.
Hier habe ich euch noch Informationen, die laut Apache hilfreich sein sollen, mir hilft es leider nicht
pi@nextcloudpi:~ $ sudo service apache2 start
Job for apache2.service failed because the control process exited with error cod e.
See "systemctl status apache2.service" and "journalctl -xe" for details.
pi@nextcloudpi:~ $ sudo 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 Tue 2020-02-11 23:50:34 GMT; 43s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1604 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Feb 11 23:50:34 nextcloudpi systemd[1]: Starting The Apache HTTP Server...
Feb 11 23:50:34 nextcloudpi apachectl[1604]: AH00526: Syntax error on line 1 of /etc/apache2/sites-enabled/ncp.conf:
Feb 11 23:50:34 nextcloudpi apachectl[1604]: Cannot define multiple Listeners on the same IP:port
Feb 11 23:50:34 nextcloudpi apachectl[1604]: Action 'start' failed.
Feb 11 23:50:34 nextcloudpi apachectl[1604]: The Apache error log may have more information.
Feb 11 23:50:34 nextcloudpi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Feb 11 23:50:34 nextcloudpi systemd[1]: apache2.service: Failed with result 'exit-code'.
Feb 11 23:50:34 nextcloudpi systemd[1]: Failed to start The Apache HTTP Server.
Alles anzeigen
pi@nextcloudpi:~ $ sudo journalctl -xe
--
-- A start job for unit session-c1.scope has finished successfully.
--
-- The job identifier is 598.
Feb 11 23:50:20 nextcloudpi sshd[1483]: User child is on pid 1559
Feb 11 23:50:20 nextcloudpi sshd[1559]: Starting session: shell on pts/0 for pi from 192.168.0.108 port 62574 id 0
Feb 11 23:50:32 nextcloudpi sudo[1576]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/service apache2 start
Feb 11 23:50:32 nextcloudpi sudo[1576]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Feb 11 23:50:34 nextcloudpi systemd[1]: Starting The Apache HTTP Server...
-- Subject: A start job for unit apache2.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit apache2.service has begun execution.
--
-- The job identifier is 659.
Feb 11 23:50:34 nextcloudpi apachectl[1604]: AH00526: Syntax error on line 1 of /etc/apache2/sites-enabled/ncp.conf:
Feb 11 23:50:34 nextcloudpi apachectl[1604]: Cannot define multiple Listeners on the same IP:port
Feb 11 23:50:34 nextcloudpi apachectl[1604]: Action 'start' failed.
Feb 11 23:50:34 nextcloudpi apachectl[1604]: The Apache error log may have more information.
Feb 11 23:50:34 nextcloudpi 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.
Feb 11 23:50:34 nextcloudpi 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'.
Feb 11 23:50:34 nextcloudpi 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 659 and the job result is failed.
Feb 11 23:50:34 nextcloudpi sudo[1576]: pam_unix(sudo:session): session closed for user root
Feb 11 23:50:59 nextcloudpi dhcpcd[669]: eth0: Router Advertisement from fe80::ae22:5ff:fee9:b2b4
Feb 11 23:51:17 nextcloudpi sudo[1639]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/systemctl status apache2.service
Feb 11 23:51:17 nextcloudpi sudo[1639]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Feb 11 23:51:17 nextcloudpi sudo[1639]: pam_unix(sudo:session): session closed for user root
Feb 11 23:51:50 nextcloudpi sudo[1649]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/journalctl -xe
Feb 11 23:51:50 nextcloudpi sudo[1649]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
lines 2176-2224/2224 (END)
Alles anzeigen
Ich bin euch jetzt schon für eure Mühe dankbar. Wenn weitere Infos benötigt werden, sagt mir bitte dazu, was ich eingeben muss um sie zu finden
Schönen Abend noch und Grüße
Dennis