Page 1 of 1

Error: Apache shutdown unexpectedly.

PostPosted: 26. September 2013 06:49
by faisal80
Same problem. Here are the contents of the log window:

Code: Select all
11:49:22 AM  [main]    Initializing Control Panel
11:49:22 AM  [main]    Windows Version: Windows 7 Professional  64-bit
11:49:22 AM  [main]    XAMPP Version: 1.8.3
11:49:22 AM  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
11:49:22 AM  [main]    Running with Administrator rights - good!
11:49:22 AM  [main]    XAMPP Installation Directory: "d:\faisal\xampp\"
11:49:22 AM  [main]    Checking for prerequisites
11:49:23 AM  [main]    All prerequisites found
11:49:23 AM  [main]    Initializing Modules
11:49:23 AM  [main]    Starting Check-Timer
11:49:23 AM  [main]    Control Panel Ready
11:49:25 AM  [Apache]    Attempting to start Apache app...
11:49:26 AM  [Apache]    Status change detected: running
11:49:27 AM  [Apache]    Status change detected: stopped
11:49:27 AM  [Apache]    Error: Apache shutdown unexpectedly.
11:49:27 AM  [Apache]    This may be due to a blocked port, missing dependencies,
11:49:27 AM  [Apache]    improper privileges, a crash, or a shutdown by another method.
11:49:27 AM  [Apache]    Press the Logs button to view error logs and check
11:49:27 AM  [Apache]    the Windows Event Viewer for more clues
11:49:27 AM  [Apache]    If you need more help, copy and post this
11:49:27 AM  [Apache]    entire log window on the forums

Re: Error: Apache shutdown unexpectedly.

PostPosted: 26. September 2013 08:36
by Altrea
please start \xampp\apache_start.bat in your Windows command line and report what it responses.

Re: Error: Apache shutdown unexpectedly.

PostPosted: 27. September 2013 12:00
by faisal80
As you said:

Code: Select all
D:\Faisal\xampp>apache_start.bat
Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
httpd.exe: Syntax error on line 37 of D:/Faisal/xampp/apache/conf/httpd.conf: Se
rverRoot must be a valid directory

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .

Re: Error: Apache shutdown unexpectedly.

PostPosted: 27. September 2013 12:04
by Altrea
run \xampp\setup_xampp.bat to correct your file paths