PROBLEM STARTING APACHE AND MYSQL IN XAMMPP

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

PROBLEM STARTING APACHE AND MYSQL IN XAMMPP

Postby chuck254 » 23. August 2017 14:03

NEED YOUR HELP APACHE AND MYSQL CANT START

my logs

2:10:33 PM [main] Initializing Control Panel
2:10:34 PM [main] Windows Version: Windows 7 Ultimate SP1 32-bit
2:10:34 PM [main] XAMPP Version: 5.6.15
2:10:34 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
2:10:34 PM [main] You are not running with administrator rights! This will work for
2:10:34 PM [main] most application stuff but whenever you do something with services
2:10:34 PM [main] there will be a security dialogue or things will break! So think
2:10:34 PM [main] about running this application with administrator rights!
2:10:34 PM [main] XAMPP Installation Directory: "c:\users\xammp\"
2:10:35 PM [main] Checking for prerequisites
2:11:37 PM [main] All prerequisites found
2:11:37 PM [main] Initializing Modules
2:11:41 PM [main] Starting Check-Timer
2:11:41 PM [main] Control Panel Ready
2:13:15 PM [Apache] Attempting to start Apache app...
2:13:16 PM [Apache] Status change detected: running
2:13:21 PM [mysql] Attempting to start MySQL app...
2:13:30 PM [mysql] Status change detected: running
2:13:37 PM [Apache] Status change detected: stopped
2:13:37 PM [Apache] Error: Apache shutdown unexpectedly.
2:13:37 PM [Apache] This may be due to a blocked port, missing dependencies,
2:13:37 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:13:37 PM [Apache] Press the Logs button to view error logs and check
2:13:37 PM [Apache] the Windows Event Viewer for more clues
2:13:37 PM [Apache] If you need more help, copy and post this
2:13:37 PM [Apache] entire log window on the forums
2:13:37 PM [mysql] Status change detected: stopped
2:13:38 PM [mysql] Error: MySQL shutdown unexpectedly.
2:13:38 PM [mysql] This may be due to a blocked port, missing dependencies,
2:13:38 PM [mysql] improper privileges, a crash, or a shutdown by another method.
2:13:38 PM [mysql] Press the Logs button to view error logs and check
2:13:38 PM [mysql] the Windows Event Viewer for more clues
2:13:38 PM [mysql] If you need more help, copy and post this
2:13:38 PM [mysql] entire log window on the forums
2:14:38 PM [Apache] Attempting to start Apache app...
2:14:39 PM [Apache] Status change detected: running
2:14:46 PM [Apache] Status change detected: stopped
2:14:46 PM [Apache] Error: Apache shutdown unexpectedly.
2:14:46 PM [Apache] This may be due to a blocked port, missing dependencies,
2:14:46 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:14:46 PM [Apache] Press the Logs button to view error logs and check
2:14:46 PM [Apache] the Windows Event Viewer for more clues
2:14:46 PM [Apache] If you need more help, copy and post this
2:14:46 PM [Apache] entire log window on the forums
2:15:23 PM [main] Executing "c:\users\xammp\"
2:25:26 PM [Apache] Attempting to start Apache app...
2:25:27 PM [Apache] Status change detected: running
2:25:50 PM [Apache] Status change detected: stopped
2:25:50 PM [Apache] Error: Apache shutdown unexpectedly.
2:25:50 PM [Apache] This may be due to a blocked port, missing dependencies,
2:25:50 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:25:50 PM [Apache] Press the Logs button to view error logs and check
2:25:50 PM [Apache] the Windows Event Viewer for more clues
2:25:50 PM [Apache] If you need more help, copy and post this
2:25:50 PM [Apache] entire log window on the forums
2:28:36 PM [Apache] Attempting to start Apache app...
2:28:36 PM [Apache] Status change detected: running
2:28:42 PM [Apache] Status change detected: stopped
2:28:42 PM [Apache] Error: Apache shutdown unexpectedly.
2:28:42 PM [Apache] This may be due to a blocked port, missing dependencies,
2:28:42 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:28:42 PM [Apache] Press the Logs button to view error logs and check
2:28:42 PM [Apache] the Windows Event Viewer for more clues
2:28:42 PM [Apache] If you need more help, copy and post this
2:28:42 PM [Apache] entire log window on the forums
2:50:34 PM [Apache] Attempting to start Apache app...
2:50:35 PM [Apache] Status change detected: running
2:50:55 PM [Apache] Status change detected: stopped
2:50:55 PM [Apache] Error: Apache shutdown unexpectedly.
2:50:55 PM [Apache] This may be due to a blocked port, missing dependencies,
2:50:55 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:50:56 PM [Apache] Press the Logs button to view error logs and check
2:50:56 PM [Apache] the Windows Event Viewer for more clues
2:50:56 PM [Apache] If you need more help, copy and post this
2:50:56 PM [Apache] entire log window on the forums

i am thinking of uninstalling the re installing an start again especially during the comand during installation
chuck254
 
Posts: 2
Joined: 23. August 2017 12:37
XAMPP version: v.3.2.2
Operating System: windows 7

Re: PROBLEM STARTING APACHE AND MYSQL IN XAMMPP

Postby efremmc2 » 25. August 2017 16:48

First, do a 'netstat =a' to see what ports are presently open. it will provide a list of ports in use.

Sample:
C:\Windows\System32>netstat -a

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:135 Vulcan2:0 LISTENING
TCP 0.0.0.0:445 Vulcan2:0 LISTENING
TCP 0.0.0.0:2968 Vulcan2:0 LISTENING
TCP 0.0.0.0:3289 Vulcan2:0 LISTENING
TCP 0.0.0.0:4088 Vulcan2:0 LISTENING
TCP 0.0.0.0:4089 Vulcan2:0 LISTENING
TCP 0.0.0.0:7070 Vulcan2:0 LISTENING
TCP 0.0.0.0:8000 Vulcan2:0 LISTENING
TCP 0.0.0.0:8050 Vulcan2:0 LISTENING

The number after the 0.0.0.0:<port> these ports are being used by another service / application. I would do this before you start the control panel and gather this information and report it here. If there are port conflicts you will need to change some of the default ports. You could also have a firewall configuration that is blocking the ports. Turn off the firewall temporarily to see if that is blocking the service. You can also open your browser and test by typing in: http://localhost or http://127.0.0.1 If it displays a webpage, then you are running a service that is using a default port Apache wants. There are many topic in the forum regarding changing default ports.

Good luck.
efremmc2
 
Posts: 8
Joined: 25. August 2017 03:54
XAMPP version: 1.7.7
Operating System: Windows/Linux

Re: PROBLEM STARTING APACHE AND MYSQL IN XAMMPP

Postby chuck254 » 27. August 2017 10:52

thank already done it it works
chuck254
 
Posts: 2
Joined: 23. August 2017 12:37
XAMPP version: v.3.2.2
Operating System: windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 226 guests