Xampp -Apache Won't Start--Help Please

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp -Apache Won't Start--Help Please

Postby jewels973 » 03. December 2017 22:27

I have been trying to get Apache to start, however every single time I get this same error message:
3:18:08 PM [Apache] Error: Apache shutdown unexpectedly.
3:18:08 PM [Apache] This may be due to a blocked port, missing dependencies,
3:18:08 PM [Apache] improper privileges, a crash, or a shutdown by another method.
3:18:08 PM [Apache] Press the Logs button to view error logs and check
3:18:08 PM [Apache] the Windows Event Viewer for more clues
3:18:08 PM [Apache] If you need more help, copy and post this
3:18:08 PM [Apache] entire log window on the forums

I've tried changing the ports on the Apache files however, it still doesn't work.

I don't know if this has anything to deal with it, but the program MySQL Workbench (which I use after I start Apache and MySQL)
won't open at all. Any and all help will be greatly appreciated. This is my first forum in which I reached out!
Thanks ~Jewels :D
jewels973
 
Posts: 1
Joined: 03. December 2017 22:21
XAMPP version: 3.2.1
Operating System: Windows 10

Re: Xampp -Apache Won't Start--Help Please

Postby llt » 16. December 2017 15:00

Same here. These are the output of the control panel and logs.

8:52:07 PM [main] Initializing Control Panel
8:52:07 PM [main] Windows Version: Home 64-bit
8:52:07 PM [main] XAMPP Version: 7.1.11
8:52:07 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
8:52:07 PM [main] You are not running with administrator rights! This will work for
8:52:07 PM [main] most application stuff but whenever you do something with services
8:52:07 PM [main] there will be a security dialogue or things will break! So think
8:52:07 PM [main] about running this application with administrator rights!
8:52:07 PM [main] XAMPP Installation Directory: "c:\xampp\"
8:52:07 PM [main] Checking for prerequisites
8:52:07 PM [main] All prerequisites found
8:52:07 PM [main] Initializing Modules
8:52:07 PM [main] Starting Check-Timer
8:52:07 PM [main] Control Panel Ready
8:52:09 PM [Apache] Attempting to start Apache app...
8:52:09 PM [Apache] Status change detected: running
8:52:10 PM [Apache] Status change detected: stopped
8:52:10 PM [Apache] Error: Apache shutdown unexpectedly.
8:52:10 PM [Apache] This may be due to a blocked port, missing dependencies,
8:52:10 PM [Apache] improper privileges, a crash, or a shutdown by another method.
8:52:10 PM [Apache] Press the Logs button to view error logs and check
8:52:10 PM [Apache] the Windows Event Viewer for more clues
8:52:10 PM [Apache] If you need more help, copy and post this
8:52:10 PM [Apache] entire log window on the forums
8:52:12 PM [mysql] Attempting to start MySQL app...



(APACHE)
[Sat Dec 16 19:43:23.582030 2017] [ssl:warn] [pid 9024:tid 216] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Dec 16 19:43:23.809331 2017] [ssl:warn] [pid 9024:tid 216] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Dec 16 19:43:23.840580 2017] [mpm_winnt:notice] [pid 9024:tid 216] AH00455: Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/7.1.11 configured -- resuming normal operations
[Sat Dec 16 19:43:23.840580 2017] [mpm_winnt:notice] [pid 9024:tid 216] AH00456: Apache Lounge VC14 Server built: Oct 22 2017 11:52:30
[Sat Dec 16 19:43:23.840580 2017] [core:notice] [pid 9024:tid 216] AH00094: Command line: 'c:\\xamppp\\apache\\bin\\httpd.exe -d C:/xamppp/apache'
[Sat Dec 16 19:43:23.840580 2017] [mpm_winnt:notice] [pid 9024:tid 216] AH00418: Parent: Created child process 14112
[Sat Dec 16 19:43:24.668716 2017] [ssl:warn] [pid 14112:tid 608] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Dec 16 19:43:24.871842 2017] [ssl:warn] [pid 14112:tid 608] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Dec 16 19:43:24.918718 2017] [mpm_winnt:notice] [pid 14112:tid 608] AH00354: Child: Starting 150 worker threads.



(MYSQL)
2015-11-10 15:26:56 10fc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-11-10 15:26:56 4348 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2015-11-10 15:26:56 4348 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-10 15:26:56 4348 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-11-10 15:26:56 4348 [Note] InnoDB: Memory barrier is not used
2015-11-10 15:26:56 4348 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-10 15:26:56 4348 [Note] InnoDB: Not using CPU crc32 instructions
2015-11-10 15:26:56 4348 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-11-10 15:26:56 4348 [Note] InnoDB: Completed initialization of buffer pool
2015-11-10 15:26:56 4348 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-10 15:26:57 4348 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-10 15:26:57 4348 [Note] InnoDB: Waiting for purge to start
2015-11-10 15:26:57 4348 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 1835027
2015-11-10 15:26:57 6140 [Note] InnoDB: Dumping buffer pool(s) not yet started
2015-11-10 15:26:57 4348 [Note] Plugin 'FEEDBACK' is disabled.
2015-11-10 15:26:57 4348 [Note] Server socket created on IP: '::'.
2015-11-10 15:26:57 4348 [Note] Event Scheduler: Loaded 0 events
2015-11-10 15:26:57 4348 [Note] C:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.8-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2015-11-10 15:27:11 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Normal shutdown

2015-11-10 15:27:11 5152 [Note] Event Scheduler: Purging the queue. 0 events
2015-11-10 15:27:11 5732 [Note] InnoDB: FTS optimize thread exiting.
2015-11-10 15:27:11 5152 [Note] InnoDB: Starting shutdown...
2015-11-10 15:27:13 5152 [Note] InnoDB: Shutdown completed; log sequence number 1835037
2015-11-10 15:27:13 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Shutdown complete

2017-12-16 19:43:25 29c4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2017-12-16 19:43:25 10692 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2017-12-16 19:43:25 10692 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-12-16 19:43:25 10692 [Note] InnoDB: The InnoDB memory heap is disabled
2017-12-16 19:43:25 10692 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-12-16 19:43:25 10692 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2017-12-16 19:43:25 10692 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-12-16 19:43:25 10692 [Note] InnoDB: Using generic crc32 instructions
2017-12-16 19:43:25 10692 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2017-12-16 19:43:25 10692 [Note] InnoDB: Completed initialization of buffer pool
2017-12-16 19:43:25 10692 [Note] InnoDB: Highest supported file format is Barracuda.
2017-12-16 19:43:26 10692 [Note] InnoDB: 128 rollback segment(s) are active.
2017-12-16 19:43:26 10692 [Note] InnoDB: Waiting for purge to start
2017-12-16 19:43:26 10692 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.2 started; log sequence number 1835037
2017-12-16 19:43:26 7020 [Note] InnoDB: Dumping buffer pool(s) not yet started
2017-12-16 19:43:26 10692 [Note] Plugin 'FEEDBACK' is disabled.
2017-12-16 19:43:26 10692 [Note] Server socket created on IP: '::'.
2017-12-16 19:43:27 10692 [Note] c:\xamppp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.28-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
llt
 
Posts: 1
Joined: 16. December 2017 14:58
XAMPP version: 7.1.11
Operating System: Windows

Re: Xampp -Apache Won't Start--Help Please

Postby vgriffin » 20. December 2017 06:03

Have you tried setting the control panel to run as admin? It looks like Apache stopped right after it displayed the message about admin privs. I've set the control panel to run as admin. Before doing that, it didn't work. (This really should be part of the installation instructions!!!) Even if your account has admin privs, you need to explicitly tell Windows to use them. You can tell Windows to always run a program (for example, xampp-control.exe) as an administrator by selecting the program in File Explorer and right-clicking properties. Select the Compatibility tab (Security would be too easy!), check "Run this program as an administrator" and either click OK or Change settings for all users. (I do NOT know where this info is on the web. I spent a while looking for it the first time I installed XAMPP and found something that gave me a hint. Then, I poked a stick at it until I found the right place and have used this info several more times.)
vgriffin
 
Posts: 8
Joined: 20. December 2017 04:53
XAMPP version: 7.1.12
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 126 guests

cron