By richard102 on
Hi again
To fix something (on my WAMP/5.15 intranet multi-blog) I was making changes to the apache config-files then stopping/starting the apache service, (actually I was trying to access phpmyadmin - but I don't think that's relevant).
Then no web-pages at all were returned !!
After a few reboots (it is windows), I found the Apache service was stopped - and wouldn't start.
I uninstalled/reinstalled the service but it still wont start.
I have no backups (its on my list :-))
advise please
richard101
Comments
When I have this kind of
When I have this kind of problem (all too frequent) I get a default config file, save the old one, and put in the default one, reconfiguring it as needed. Your site files should not be affected by this problem. In fact, you could create a whole new apache or WAMP install and then point it to where your site files live.
Good luck
:)
no luck replacing config
no luck replacing config files (windows drupal/apache service just will not start). I replaced the whole 'apache2' folder from a similar config on a working server.
I'm going to rebuild - But first would like to backup the database (or atleast not overwrite it).
How do I do that please?
You can try to start
You can try to start services via the command line. Open a command prompt with administrative capabilities (in vista, right-click and select "Run as administrator").
This will give you a list of errors you can use to correct the problem.
You can use mysqldump to backup your database. (If you need to start the service, try
net start wampmysqld). You can also use MySQL Administrator to backup your database if you prefer a GUI.As your issue is a server configuration problem, http://www.wampserver.com/ might be a more appropriate venue for support.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
sorted, here's how I backed
sorted, here's how I backed up my windows database without apache ...
I changed the command-prompt to '/mysql/bin' folder, and tried many versions of these two commands without any luck ...
The error messages suggested the password was wrong. Eventually I googled an example that had a database name as the third element in the mysql command. However, I wasn't 100% sure my database name (or by now 100% sure of my root password).
However, I found out every install of mysql has a database inside called 'mysql', so to confirm my password I did ...
... which worked :-)) Now knowing my password for sure, I was able to get my database-name by trial-and-error ...
And then was able to substitute into the backup command...
... and then found this to backup them all - for luck ...
Phew!!
I'm glad you had success.
I'm glad you had success. Just in case you need to do this again: The name of the database can be found in /sites/[sitename]/settings.php, where sitename may be the sitename, or just 'default'.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.