Page 1 of 1

XAMPP Control Panel: Apache and MySQL wont start

PostPosted: 15. July 2014 10:32
by drupache
Hello

I am unable to start Apache and MySQL when I press the start buttons for each module.

When I start XAMPP Control Panel v3.2.1 I get the following message in the output window:

7:11:21 PM [main] Initializing Control Panel
7:11:21 PM [main] Windows Version: Windows 7 Professional SP1 64-bit
7:11:21 PM [main] XAMPP Version: 1.8.3
7:11:21 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
7:11:21 PM [main] You are not running with administrator rights! This will work for
7:11:21 PM [main] most application stuff but whenever you do something with services
7:11:21 PM [main] there will be a security dialogue or things will break! So think
7:11:21 PM [main] about running this application with administrator rights!
7:11:21 PM [main] XAMPP Installation Directory: "k:\portableapps\xampp\app\xampp\"
7:11:21 PM [main] Checking for prerequisites
7:11:21 PM [main] All prerequisites found
7:11:21 PM [main] Initializing Modules
7:11:21 PM [main] Starting Check-Timer
7:11:21 PM [main] Control Panel Ready

I press start for the Apache module and get the following message in the output window:

7:24:37 PM [Apache] Attempting to start Apache app...
7:24:37 PM [Apache] Status change detected: running
7:24:38 PM [Apache] Status change detected: stopped
7:24:38 PM [Apache] Error: Apache shutdown unexpectedly.
7:24:38 PM [Apache] This may be due to a blocked port, missing dependencies,
7:24:38 PM [Apache] improper privileges, a crash, or a shutdown by another method.
7:24:38 PM [Apache] Press the Logs button to view error logs and check
7:24:38 PM [Apache] the Windows Event Viewer for more clues
7:24:38 PM [Apache] If you need more help, copy and post this
7:24:38 PM [Apache] entire log window on the forums

The following is what I found in my error log for Apache:

[Tue Jul 15 08:18:51.994716 2014] [ssl:warn] [pid 3640:tid 276] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Jul 15 08:18:53.474579 2014] [ssl:warn] [pid 3640:tid 276] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Jul 15 08:18:54.004214 2014] [mpm_winnt:notice] [pid 3640:tid 276] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Tue Jul 15 08:18:54.004214 2014] [mpm_winnt:notice] [pid 3640:tid 276] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Tue Jul 15 08:18:54.004214 2014] [core:notice] [pid 3640:tid 276] AH00094: Command line: 'e:\\portableapps\\xampp\\app\\xampp\\apache\\bin\\httpd.exe -d E:/PortableApps/XAMPP/App/xampp/apache'
[Tue Jul 15 08:18:54.050946 2014] [mpm_winnt:notice] [pid 3640:tid 276] AH00418: Parent: Created child process 2856
[Tue Jul 15 08:18:54.596159 2014] [ssl:warn] [pid 2856:tid 288] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Jul 15 08:18:54.892131 2014] [ssl:warn] [pid 2856:tid 288] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Jul 15 08:18:54.938864 2014] [mpm_winnt:notice] [pid 2856:tid 288] AH00354: Child: Starting 150 worker threads.

I do not know which log to present here from Event Viewer. If you need this information, please advise me which log and I will copy it onto here.

When attempting to start the MySQL module, i get the following message in the output window:

7:30:17 PM [mysql] Attempting to start MySQL app...
7:30:17 PM [mysql] Status change detected: running
7:30:18 PM [mysql] Status change detected: stopped
7:30:18 PM [mysql] Error: MySQL shutdown unexpectedly.
7:30:18 PM [mysql] This may be due to a blocked port, missing dependencies,
7:30:18 PM [mysql] improper privileges, a crash, or a shutdown by another method.
7:30:18 PM [mysql] Press the Logs button to view error logs and check
7:30:18 PM [mysql] the Windows Event Viewer for more clues
7:30:18 PM [mysql] If you need more help, copy and post this
7:30:18 PM [mysql] entire log window on the forums

The following is what I found in my error log for MySQL:

2014-07-15 08:19:06 5368 [Note] Plugin 'FEDERATED' is disabled.
2014-07-15 08:19:07 100c 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.
2014-07-15 08:19:07 5368 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-07-15 08:19:07 5368 [Note] InnoDB: The InnoDB memory heap is disabled
2014-07-15 08:19:07 5368 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-07-15 08:19:07 5368 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-07-15 08:19:07 5368 [Note] InnoDB: Not using CPU crc32 instructions
2014-07-15 08:19:07 5368 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-07-15 08:19:07 5368 [Note] InnoDB: Completed initialization of buffer pool
2014-07-15 08:19:08 5368 [Note] InnoDB: Highest supported file format is Barracuda.
2014-07-15 08:19:08 5368 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=1625987
2014-07-15 08:19:09 5368 [Warning] InnoDB: Starting to delete and rewrite log files.
2014-07-15 08:19:10 5368 [Note] InnoDB: Setting log file E:\PortableApps\XAMPP\App\xampp\mysql\data\ib_logfile101 size to 5 MB
2014-07-15 08:19:11 5368 [Note] InnoDB: Setting log file E:\PortableApps\XAMPP\App\xampp\mysql\data\ib_logfile1 size to 5 MB
2014-07-15 08:19:12 5368 [Note] InnoDB: Renaming log file E:\PortableApps\XAMPP\App\xampp\mysql\data\ib_logfile101 to E:\PortableApps\XAMPP\App\xampp\mysql\data\ib_logfile0
2014-07-15 08:19:12 5368 [Warning] InnoDB: New log files created, LSN=1625987
2014-07-15 08:19:12 5368 [Note] InnoDB: 128 rollback segment(s) are active.
2014-07-15 08:19:12 5368 [Note] InnoDB: Waiting for purge to start
2014-07-15 08:19:12 5368 [Note] InnoDB: 5.6.16 started; log sequence number 1625987
2014-07-15 08:19:12 5368 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: e237b2d0-0ba4-11e4-941f-8851fb650bf7.
2014-07-15 08:19:13 5368 [Note] Server hostname (bind-address): '*'; port: 3306
2014-07-15 08:19:13 5368 [Note] IPv6 is available.
2014-07-15 08:19:13 5368 [Note] - '::' resolves to '::';
2014-07-15 08:19:13 5368 [Note] Server socket created on IP: '::'.

When I take my USB stick to work and test XAMPP there, I am able to start Apache and MySQL.

I am thinking these problems I am experiencing with my home PC have to do with AVG Internet Security 2014.

Could I please have some advice to get XAMPP, Apache and MySQL working at home?

If you need further information, please ask and I will do what I can.

I thank all who read this and thank in advance anyone who can help.

Looking forward to a reply.