Apache lässt sich nicht starten

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Apache lässt sich nicht starten

Postby nana_g7 » 21. October 2016 01:06

Hallo,

ich versuche mich derzeit mein Xampp mit Dropbox zu verdinden dafür muss ich halt einpaar Sachen in httpd.conf ändern, normalerweise soll es kein Problem geben, doch bei bestimmte Ordner funktioniert es nicht. Vielleicht könnt ihr mich ja weiter helfen.

Danke :oops:

[Fri Oct 21 00:04:57.738497 2016] [mpm_winnt:notice] [pid 2748:tid 536] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24 configured -- resuming normal operations
[Fri Oct 21 00:04:57.738497 2016] [mpm_winnt:notice] [pid 2748:tid 536] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Fri Oct 21 00:04:57.738497 2016] [core:notice] [pid 2748:tid 536] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Oct 21 00:04:57.749503 2016] [mpm_winnt:notice] [pid 2748:tid 536] AH00418: Parent: Created child process 10712
[Fri Oct 21 00:05:05.464980 2016] [ssl:warn] [pid 10712:tid 544] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 00:05:05.745044 2016] [ssl:warn] [pid 10712:tid 544] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 00:05:05.801045 2016] [mpm_winnt:notice] [pid 10712:tid 544] AH00354: Child: Starting 150 worker threads.
[Fri Oct 21 00:57:14.958044 2016] [ssl:warn] [pid 7656:tid 508] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 00:57:15.020659 2016] [core:warn] [pid 7656:tid 508] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Oct 21 00:57:15.155684 2016] [ssl:warn] [pid 7656:tid 508] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 00:57:15.458637 2016] [mpm_winnt:notice] [pid 7656:tid 508] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24 configured -- resuming normal operations
[Fri Oct 21 00:57:15.458637 2016] [mpm_winnt:notice] [pid 7656:tid 508] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Fri Oct 21 00:57:15.458637 2016] [core:notice] [pid 7656:tid 508] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Oct 21 00:57:15.458637 2016] [mpm_winnt:notice] [pid 7656:tid 508] AH00418: Parent: Created child process 6556
[Fri Oct 21 00:57:18.928425 2016] [ssl:warn] [pid 6556:tid 600] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 00:57:19.082081 2016] [ssl:warn] [pid 6556:tid 600] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 00:57:19.166231 2016] [mpm_winnt:notice] [pid 6556:tid 600] AH00354: Child: Starting 150 worker threads.
[Fri Oct 21 01:26:40.310848 2016] [ssl:warn] [pid 8384:tid 680] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 01:26:40.388990 2016] [core:warn] [pid 8384:tid 680] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Oct 21 01:26:40.589802 2016] [ssl:warn] [pid 8384:tid 680] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 01:26:40.643196 2016] [mpm_winnt:notice] [pid 8384:tid 680] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24 configured -- resuming normal operations
[Fri Oct 21 01:26:40.643196 2016] [mpm_winnt:notice] [pid 8384:tid 680] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Fri Oct 21 01:26:40.643196 2016] [core:notice] [pid 8384:tid 680] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Oct 21 01:26:40.658821 2016] [mpm_winnt:notice] [pid 8384:tid 680] AH00418: Parent: Created child process 10224
[Fri Oct 21 01:26:46.737618 2016] [ssl:warn] [pid 10224:tid 524] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 01:26:46.937423 2016] [ssl:warn] [pid 10224:tid 524] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 21 01:26:46.996584 2016] [mpm_winnt:notice] [pid 10224:tid 524] AH00354: Child: Starting 150 worker threads.
[Fri Oct 21 01:26:50.075508 2016] [:error] [pid 10224:tid 1896] [client ::1:8373] PHP Warning: require(C:\\Users\\ASUS\\Dropbox\\Entwicklung\\gfvayefdbdha\\htdocs\\wordpress/wp-includes/load.php): failed to open stream: No such file or directory in C:\\Users\\ASUS\\Dropbox\\Entwicklung\\gfvayefdbdha\\htdocs\\wordpress\\wp-settings.php on line 21, referer: http://localhost/
[Fri Oct 21 01:26:50.076511 2016] [:error] [pid 10224:tid 1896] [client ::1:8373] PHP Fatal error: require(): Failed opening required 'C:\\Users\\ASUS\\Dropbox\\Entwicklung\\gfvayefdbdha\\htdocs\\wordpress/wp-includes/load.php' (include_path='C:\\xampp\\php\\PEAR') in C:\\Users\\ASUS\\Dropbox\\Entwicklung\\gfvayefdbdha\\htdocs\\wordpress\\wp-settings.php on line 21, referer: http://localhost/
nana_g7
 
Posts: 1
Joined: 21. October 2016 00:52
XAMPP version: v3.2.2
Operating System: win 10 home

Re: Apache lässt sich nicht starten

Postby Altrea » 21. October 2016 07:56

Hallo,

In dem von dir geposteten log stehen keine Fehler drin die ein Starten verhindern.
Was wird ausgegeben, wenn du apache_start.bat ausführst?

mit freundlichen Grüßen,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache lässt sich nicht starten

Postby Nobbie » 21. October 2016 11:34

Der Betreff ist natürlich Quatsch, Apache ist gestartet und die Fehlerbeschreibung spricht ja auch nicht davon, dass Apache nicht startet. Stattdessen werden einige Daten aus dem Ordner Dropbox nicht gefunden.

Das liegt daran, dass das so nicht funktioniert, ich kann es nicht empfehlen, den DocumentRoot in die Dropbox zu legen (oder auch nur einen Alias), das ist zu gefährlich (da können ganz verrückte Sachen passieren, das würde hier den Rahmen sprengen um das zu erklären), es hat zusätzlich das Problem, dass die Dropbox pro User eingerichtet wird, wenn Apache aber als Service gestartet wird, dann geschieht das NICHT mit der UserId, mit der man eingelogged ist (das wäre hier "ASUS"), sondern mit der UserID "SYSTEM" und die hat keinen (oder einen anderen) Dropbox Ordner und darf sowieso nicht auf den Dropbox Ordner von ASUS zugreifen.

Kopiere die Dateien händisch aus dem "normalen" htdocs Ordner in die Dropbox und zurück, das ist zwar etwas umständlich, aber sicherer und besser. Und funktioniert vor allen Dingen auch. Und lege nur ja nicht auch noch die Datenbank in die Dropbox, das ist noch wilder als nur der DocumentRoot.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 40 guests