![]() ![]() I did backup for these two files so and copied them and past them back in their specific paths and this what happened: 8:22:56 PM Error: Apache shutdown unexpectedly.Ĩ:22:56 PM This may be due to a blocked port, missing dependencies,Ĩ:22:56 PM improper privileges, a crash, or a shutdown by another method.Ĩ:22:56 PM Press the Logs button to view error logs and checkĨ:22:56 PM the Windows Event Viewer for more cluesĨ:22:56 PM If you need more help, copy and post thisĨ:22:56 PM entire log window on the forumsĪfter that, these two files deleted again. I installed the last version and the old version.Īfter many tries, I found out that when I start the Apache and MySQL it gives me unexpected error then it shut down and it deletes the following files from xampp folder in C: I changed the port number in the config file. I disabled UAC while sitting up the xampp. I tried to re-install again but still same problem. It gave me an error: Problem detected: Apache Not Found!Ĩ:16:51 PM Disabling Apache buttonsĨ:16:51 PM Run this program from your XAMPP root directory!Ĩ:16:51 PM Problem detected: MySQL Not Found!Ĩ:16:51 PM Disabling MySQL buttons One month ago the xampp server shut down suddenly and when try to start the apache I couldn't, it shows that start button disabled and I cant start it. This is a workaround, I suppose the fix is to get newer versions of apache2 and Ubuntu and hope for the best.I have been using xampp for a long time, everything was fine and work correctly. There seems to be some serious bugs with apache2/Ubuntu 12.10 that causes apache2 to start and hang. Instead, start the apache2 like this: sudo service apache2 startĪnd the apache2 is back up and serving pages again. sudo update-rc.d apache2 defaults //(don't do this)Īdding system startup for /etc/init.d/apache2. Now you COULD put apache2 back the way it was, but that would make it fail again. Reboot the computer to make sure apache2 doesn't start and hang. Removing any system startup links for /etc/init.d/apache2. Do this to prevent apache2 from starting on boot: sudo update-rc.d -f apache2 remove It's a symbolic link that we don't want it to be there. Lrwxrwxrwx 1 root root 17 Nov 7 21:45 S91apache2 ->. So go take a look at that /etc/rc2.d/S91apache2. For some reason it seems to be starting apache2 and then hangs. etc/rc2.d/S91apache2 is the symbolic link used to start apache2 for you when the computer starts. That is the offending program that needs a swift kick. Notice that the ps command tells us that that process was started by "/etc/rc2.d/S91apache2 start". I was able to fix this by analyzing the ps command output. The normal boot process for apache2 is not working right. You would think a reboot would fix it, but it doesn't because apache2 starts on boot and hangs. Time to stop apache2: /usr/sbin/apache2ctl stopĪ big clue! You try to stop apache2 and it lost the process id! So Ubuntu can't stop apache2 because it doesn't know where it is! So Ubuntu seems to be having trouble managing apache2 on bootup. What confuses me is that service reports that apache2 is NOT running: sudo service apache2 statusĪnd when you query apache2ctl for its status, it hangs. Yes, in this case apache2 is running, I was trying to start apache2 a second time on the same port. That means apache2 is preventing apache2 from starting. etc/apache2/nf:# Include list of ports to listen on and which to use for name based vhosts etc/apache2/nf:# supposed to determine listening ports for incoming connections, and which The Apache error log may have more information.Īddress already in Use? What could be using it? Check it out: grep -ri listen /etc/apache2 No listening sockets available, shutting down (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 ![]() Here's the error I got: sudo service apache2 start Here is my walkthrough to where the bugs might be in the software. I got this error on a fresh install when starting apache2 Ubuntu 12.10. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |