MySQL and Apache Can't Start

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

MySQL and Apache Can't Start

Postby reaply » 13. December 2011 04:50

Thanks a mod made a new thread, sorry if it couldn't be in the same thread!

Also I still am having a mysql giving me a problem. I will click start and it will not do anything. It used to run with no problem. It will say "8:01:58 PM [mysql] Starting mysql service..." And not end.

Error log:

Code: Select all
111212 16:58:20 [Note] Plugin 'FEDERATED' is disabled.
111212 16:58:21 InnoDB: The InnoDB memory heap is disabled
111212 16:58:21 InnoDB: Mutexes and rw_locks use Windows interlocked functions
111212 16:58:21 InnoDB: Compressed tables use zlib 1.2.3
111212 16:58:21 InnoDB: Initializing buffer pool, size = 16.0M
111212 16:58:21 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist:
InnoDB: a new database to be created!
111212 16:58:21  InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
111212 16:58:21  InnoDB: Log file C:\xampp\mysql\data\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
111212 16:58:22  InnoDB: Log file C:\xampp\mysql\data\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
111212 16:58:23  InnoDB: Waiting for the background threads to start
111212 16:58:24 InnoDB: 1.1.8 started; log sequence number 0
111212 16:58:24 [Note] Event Scheduler: Loaded 0 events
111212 16:58:24 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.16'  socket: ''  port: 3306  MySQL Community Server (GPL)
111212 17:15:22 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown

111212 17:15:22 [Note] Event Scheduler: Purging the queue. 0 events
111212 17:15:22  InnoDB: Starting shutdown...
111212 17:15:22  InnoDB: Shutdown completed; log sequence number 1595675
111212 17:15:22 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete

111212 17:15:26 [Note] Plugin 'FEDERATED' is disabled.
111212 17:15:26 InnoDB: The InnoDB memory heap is disabled
111212 17:15:26 InnoDB: Mutexes and rw_locks use Windows interlocked functions
111212 17:15:26 InnoDB: Compressed tables use zlib 1.2.3
111212 17:15:26 InnoDB: Initializing buffer pool, size = 16.0M
111212 17:15:26 InnoDB: Completed initialization of buffer pool
111212 17:15:26 InnoDB: highest supported file format is Barracuda.
111212 17:15:26  InnoDB: Waiting for the background threads to start
111212 17:15:27 InnoDB: 1.1.8 started; log sequence number 1595675
111212 17:15:27 [Note] Event Scheduler: Loaded 0 events
111212 17:15:27 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.16'  socket: ''  port: 3306  MySQL Community Server (GPL)
111212 17:53:40 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown

111212 17:53:40 [Note] Event Scheduler: Purging the queue. 0 events
111212 17:53:40  InnoDB: Starting shutdown...
111212 17:53:40  InnoDB: Shutdown completed; log sequence number 1595675
111212 17:53:40 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete



Now apache won't start too, it will say "8:00:02 PM [apache] Starting apache service..." and never finish. I am really confused.

Error logs:

Code: Select all
[Mon Dec 12 17:04:47 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:04:47 2011] [notice] Digest: done
[Mon Dec 12 17:04:48 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 12 17:04:48 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 12 17:04:48 2011] [notice] Parent: Created child process 7596
Apache server shutdown initiated...
Digest: generating secret for digest authentication ...
[Mon Dec 12 17:04:49 2011] [notice] Digest: done
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Child process is running
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Acquired the start mutex.
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Starting 150 worker threads.
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Starting thread to listen on port 443.
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Starting thread to listen on port 443.
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Starting thread to listen on port 80.
[Mon Dec 12 17:04:50 2011] [notice] Child 7596: Starting thread to listen on port 80.
[Mon Dec 12 17:05:00 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Dec 12 17:05:00 2011] [notice] Child 7596: Exit event signaled. Child process is ending.
[Mon Dec 12 17:05:01 2011] [notice] Child 7596: Released the start mutex
[Mon Dec 12 17:05:02 2011] [notice] Child 7596: All worker threads have exited.
[Mon Dec 12 17:05:02 2011] [notice] Child 7596: Child process is exiting
[Mon Dec 12 17:05:02 2011] [notice] Parent: Child process exited successfully.
[Mon Dec 12 17:05:22 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:05:22 2011] [notice] Digest: done
[Mon Dec 12 17:05:23 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 12 17:05:23 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 12 17:05:23 2011] [notice] Parent: Created child process 3472
[Mon Dec 12 17:05:24 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:05:24 2011] [notice] Digest: done
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Child process is running
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Acquired the start mutex.
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Starting 150 worker threads.
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Starting thread to listen on port 443.
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Starting thread to listen on port 443.
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Starting thread to listen on port 80.
[Mon Dec 12 17:05:25 2011] [notice] Child 3472: Starting thread to listen on port 80.
[Mon Dec 12 17:05:27 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:06:16 2011] [error] [client 207.38.118.94] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:07:51 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:08:06 2011] [error] [client 207.38.118.66] File does not exist: C:/xampp/htdocs/forum
[Mon Dec 12 17:09:27 2011] [error] [client 207.38.118.66] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:10:50 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:10:58 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:11:02 2011] [error] [client 207.38.118.66] File does not exist: C:/xampp/htdocs/forum
[Mon Dec 12 17:11:13 2011] [error] [client 207.38.118.66] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:11:30 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:12:13 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:14:41 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:14:46 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:15:25 2011] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Dec 12 17:15:25 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:15:25 2011] [notice] Digest: done
[Mon Dec 12 17:15:26 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 12 17:15:26 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 12 17:15:26 2011] [notice] Parent: Created child process 7144
[Mon Dec 12 17:15:26 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:15:26 2011] [notice] Digest: done
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Child process is running
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Acquired the start mutex.
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Starting 150 worker threads.
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Starting thread to listen on port 443.
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Starting thread to listen on port 443.
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Starting thread to listen on port 80.
[Mon Dec 12 17:15:27 2011] [notice] Child 7144: Starting thread to listen on port 80.
[Mon Dec 12 17:15:30 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:15:51 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:16:05 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:16:08 2011] [error] [client 58.218.199.227] script 'C:/xampp/htdocs/judge.php' not found or unable to stat
[Mon Dec 12 17:17:00 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:17:11 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:17:24 2011] [error] [client ::1] client denied by server configuration: C:/xampp/security/htdocs/lang.php
[Mon Dec 12 17:18:34 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:19:27 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:19:52 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:19:55 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:21:38 2011] [error] [client 207.38.118.96] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:23:53 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:23:55 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:24:37 2011] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Dec 12 17:24:37 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:24:37 2011] [notice] Digest: done
[Mon Dec 12 17:24:38 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 12 17:24:38 2011] [notice] Server built: Sep 10 2011 11:34:11
[Mon Dec 12 17:24:38 2011] [notice] Parent: Created child process 4272
[Mon Dec 12 17:24:38 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 12 17:24:38 2011] [notice] Digest: done
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Child process is running
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Acquired the start mutex.
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Starting 150 worker threads.
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Starting thread to listen on port 443.
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Starting thread to listen on port 443.
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Starting thread to listen on port 80.
[Mon Dec 12 17:24:39 2011] [notice] Child 4272: Starting thread to listen on port 80.
[Mon Dec 12 17:24:43 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:24:45 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:25:56 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://textpattern.net/wiki/index.php?title=Using_XAMPP_(Apache-MySQL-PHP-Perl)_for_Windows
[Mon Dec 12 17:26:18 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:28:15 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:29:05 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:29:55 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:32:44 2011] [error] [client 207.38.118.66] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:34:01 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:34:26 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:36:39 2011] [error] [client 24.6.106.161] File does not exist: C:/xampp/htdocs/mysite
[Mon Dec 12 17:36:40 2011] [error] [client 207.38.118.66] File does not exist: C:/xampp/htdocs/mysite
[Mon Dec 12 17:37:12 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/htdocs
[Mon Dec 12 17:37:12 2011] [error] [client 207.38.118.66] client denied by server configuration: C:/xampp/htdocs/xampp/htdocs
[Mon Dec 12 17:37:40 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/htdocs
[Mon Dec 12 17:37:46 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/htdocs
[Mon Dec 12 17:37:46 2011] [error] [client 207.38.118.92] client denied by server configuration: C:/xampp/htdocs/xampp/htdocs
[Mon Dec 12 17:37:49 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://24.6.106.161/xampp/htdocs/index.html
[Mon Dec 12 17:38:43 2011] [error] [client 93.174.93.145] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:38:57 2011] [error] [client 93.174.93.145] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:39:35 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:42:44 2011] [error] [client ::1] client denied by server configuration: C:/xampp/phpMyAdmin/
[Mon Dec 12 17:42:48 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:44:16 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:46:31 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:46:32 2011] [error] [client 207.38.118.66] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:48:56 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:50:59 2011] [error] [client ::1] client denied by server configuration: C:/xampp/security/htdocs/, referer: http://www.apachefriends.org/en/xampp-windows.html
[Mon Dec 12 17:53:19 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:53:45 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:54:04 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:55:49 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:56:44 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:58:04 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:58:25 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 17:59:12 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://community.apachefriends.org/f/viewtopic.php?f=16&t=49266&p=189994
[Mon Dec 12 18:01:08 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 18:01:15 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://community.apachefriends.org/f/viewtopic.php?f=16&t=49266&p=189996
[Mon Dec 12 18:01:18 2011] [error] [client ::1] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://localhost/xampp/
[Mon Dec 12 18:02:06 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 18:10:58 2011] [error] [client 174.141.208.107] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 18:22:00 2011] [error] [client 74.63.120.160] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 18:44:25 2011] [error] [client 74.63.120.160] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 18:53:07 2011] [error] [client 66.249.66.15] File does not exist: C:/xampp/htdocs/robots.txt
[Mon Dec 12 18:53:08 2011] [error] [client 66.249.66.15] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 19:44:35 2011] [error] [client 24.6.106.161] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://community.apachefriends.org/f/viewtopic.php?f=16&t=49266&p=189996
[Mon Dec 12 19:46:08 2011] [error] [client 74.63.120.160] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 19:48:17 2011] [error] [client 74.63.120.160] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 19:49:42 2011] [error] [client 74.63.120.160] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Dec 12 19:54:46 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Dec 12 19:54:46 2011] [notice] Child 4272: Exit event signaled. Child process is ending.
[Mon Dec 12 19:54:47 2011] [notice] Child 4272: Released the start mutex
[Mon Dec 12 19:54:48 2011] [notice] Child 4272: All worker threads have exited.
[Mon Dec 12 19:54:48 2011] [notice] Child 4272: Child process is exiting
[Mon Dec 12 19:54:48 2011] [notice] Parent: Child process exited successfully.
reaply
 
Posts: 11
Joined: 13. December 2011 02:40
Operating System: Windows 7

Re: MySQL and Apache Can't Start

Postby Sharley » 13. December 2011 05:13

Use the new xampp-control.3.beta.exe file found in the xampp folder as it has a better log window and more features.

The latest version is linked in my signature and after downloading extract and overwrite the file to the xampp folder only.

First exit the older 2.5 panel.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: MySQL and Apache Can't Start

Postby reaply » 13. December 2011 05:17

I am using the 3 beta version.
reaply
 
Posts: 11
Joined: 13. December 2011 02:40
Operating System: Windows 7

Re: MySQL and Apache Can't Start

Postby Sharley » 13. December 2011 05:20

OK, it looks like you have put your web site files in the C:\xampp\htdocs\xampp folder which is incorrect as all those readme files and faq links I posted in your other topic will attest.

Move them into the htdocs folder and Apache may start.

Is there a Green tick in the MySQL service module column?

Have you installed/uninstalled/installed a few times before?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: MySQL and Apache Can't Start

Postby reaply » 13. December 2011 05:22

Sharley wrote:OK, it looks like you have put your web site files in the C:\xampp\htdocs\xampp folder which is incorrect as all those readme files and faq links I posted in your other topic will attest.

Move them into the htdocs folder and Apache may start.

Is there a Green tick in the MySQL service module column?

Have you installed/uninstalled/installed a few times before?


I put the files in htdocs.

Yes, there is a green tick. (Should I put it on apache?)

Image

And I did reinstall it but that was before we fixed the previous problem and it worked then.
reaply
 
Posts: 11
Joined: 13. December 2011 02:40
Operating System: Windows 7

Re: MySQL and Apache Can't Start

Postby Sharley » 13. December 2011 05:29

Click on both ticks in Apache and MySQL columns and answer yes to the question to uninstall the service.

Then try and start them again.

If they won't be removed then click on the Win-Services button and find Apache2.2 and mysql then select Start.

Then go back to the panel and they should have both started and showing in green.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: MySQL and Apache Can't Start

Postby reaply » 13. December 2011 05:32

Code: Select all
8:31:34 PM  [mysql]    Service was NOT (un)installed!

So, the mysql won't even uninstall but apache did.
reaply
 
Posts: 11
Joined: 13. December 2011 02:40
Operating System: Windows 7

Re: MySQL and Apache Can't Start

Postby Sharley » 13. December 2011 05:33

Then follow the instruction by using the button I mentioned but find only mysql.

Can you start Apache now and if not read the log file at the time you last tried to start Apache.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: MySQL and Apache Can't Start

Postby reaply » 13. December 2011 05:36

I can't find it in the list.

Sorry about the image size.
Last edited by reaply on 13. December 2011 06:00, edited 1 time in total.
reaply
 
Posts: 11
Joined: 13. December 2011 02:40
Operating System: Windows 7

Re: MySQL and Apache Can't Start

Postby Sharley » 13. December 2011 05:43

Click on the XAMPP-Shell button and type at the prompt:
sc delete mysql
hit return

If that fails to work in the shell then open a command console by typing cmd.exe and then type the above command again.

Not sure how you get a command console in Win7 but in XP we go to Start then Run.. then we have a box to type the cmd.exe - you may know how to do this in 7.

You may also try a reboot as there is a sticking Windows Service somewhere.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: MySQL and Apache Can't Start

Postby reaply » 13. December 2011 05:48

Sorry about the image size.

For a reboot to happen, I will post tomarrow as I have to go.
Last edited by reaply on 13. December 2011 06:00, edited 1 time in total.
reaply
 
Posts: 11
Joined: 13. December 2011 02:40
Operating System: Windows 7

Re: MySQL and Apache Can't Start

Postby Sharley » 13. December 2011 05:58

Your last 2 images are larger than recommended in the how to post announcement item lucky 7 ;)
viewtopic.php?f=16&t=48331

Please resize them as it is important for those readers who do not have wide screens or large screens and who are still on low bandwidth dial-up services (there are still millions world wide who have no broadband available).
Thanks. :)



Well that is strange that you can't remove the tick and you don't have a MySQL service

Being as you are just starting out may I suggest you uninstall and then reinstall using an alternate method as outlined in this post, and if you follow it then you should be able to move forward:
viewtopic.php?p=179699#p179699

If you choose the 7zip archive then do not use the freeware IZArc utility as it has known issue with XAMPP not extracting zero length files that are needed.

It has been known that the installer version has some bugs for some Windows versions and will be replaced in the next release.

Don't forget to use the latest Version 3 Control Panel linked in my signature, it has been refined greatly from the version included in the 1.7.7 release.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests