Can't delete apache so I can start all over

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

Can't delete apache so I can start all over

Postby nunukis » 06. October 2008 18:58

Hi everybody,

I have really messed myself up completely.

1.I installed XAMPP, then when I got to page 38 my message was not sent. I read (TOO LATE) that it could be because I did not use a capital T and a full stop at the end.
Also, the FileZilla on the control panel was running,so I clicked on the Stop button (See pg. 35).
Now I can't see the Control Panel anymore -
"ERROR: xampp is already running"


2. Then I tried to remove XAMPP and reinstall it, but I can't remove Apache.
"Cannot delete Apache: Access is denied".

3. Tried to reinstall XAMPP, but now there is a hitch with Apache.

I am now completely confused! Can somebody help me to get out of this mess?

I would be eternally grateful!
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby glitzi85 » 06. October 2008 19:28

OK, lets make a complete reinstall:

Code: Select all
Start -> Run -> regedit


Now navigate to

Code: Select all
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\


there delete the subfolders

Code: Select all
Apache2.2
mysql


Then restart your Computer (Important!). After that, you should be able to delete the XAMPP-Directory. Now reinstall XAMPP again.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby nunukis » 06. October 2008 20:12

I am in Current Control, but there is NO apache or mysql
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby glitzi85 » 06. October 2008 20:46

nunukis wrote:I am in Current Control, but there is NO apache or mysql

You should go to CurrentControlSet, not to Current Control!

If there is also no one of those folders, just skip this step and proceed with Restarting your Computer. In this case you did not install Apache or MySQL as an service.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby nunukis » 06. October 2008 20:53

ok, thanks..am in current control set, but am going to reboot now
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby nunukis » 07. October 2008 09:25

I have now rebooted, and removed XAMPP completely, re-installed XAMPP, but got the message that MySQL was already installed.
On the XAMPP Control Panel everything is running, except MySQL.

"ERROR: MySql service not started (-1)"

What can I do now?
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby Sharley » 07. October 2008 09:38

Try this:

Stop all XAMPP components.

Click on start left hand side of Task Bar.

Click on Run....

Type in sc delete mysql.

Click OK.

Now try and start XAMPP again.

sc.exe is the Windows service controller and if you just type sc.exe and click OK it will give a list of other service controller commands.
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

Postby nunukis » 07. October 2008 09:43

Another try..managed to delete previous MySql and reinstall it, but now I can't open the Control Panel......says

ERRROR: XAMPP is already running

so I can't see if MySql is really running
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby Sharley » 07. October 2008 09:52

In the xampp folder double click on the apache_stop.bat file and try again.

This post might help especially as you seem to have uninstalled and reinstalled several times - this behaviour usually leaves residues that need to be removed before you get a successful error free installation.
http://community.apachefriends.org/f/viewtopi ... 772#113772
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

Postby nunukis » 07. October 2008 10:01

Did that, but still can't open Control Panel
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby Sharley » 07. October 2008 10:10

Right click on the Task Bar and from the context menu select Task Manager.

Click on the Processes tab and look for an entry xampp-control.exe

Highlight the entry and click on End Process.

Click on Yes.

Close the Task Manger and try to open the CP again.



Using the above method to make sure the CP is stopped and using the following bat files will help to do a clean uninstall of XAMPP - you can also use the sc command line option to make sure that any sticking services in the registry are remove.

To install and uninstall Apache services you can run the bat files in:
.\xampp\apache\

To install and uninstall MySQL services you can run the bat files in:
.\xampp\mysql\

This method is often required if uninstalling XAMPP to make sure all services are stopped before attempting to do an error free reinstall.
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

Postby nunukis » 07. October 2008 13:07

Thanks so far.

I have now reinstalled Xampp, and rebooted, and the Control Panel has all 4 applications running.
I have changed the file.......etc/hosts and added the bottom lines.

But when I type www.example .com into my browser (Mozilla) I still get the page with typewriting on, not the Xampp page.

Please help again?
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby glitzi85 » 07. October 2008 13:17

nunukis wrote:I have changed the file.......etc/hosts and added the bottom lines.

Which bottom lines? What added you exactly to this file?

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby nunukis » 07. October 2008 14:00

I am on pg 37, where the book says one should edit the file

c:\WINDOWS\system32\drivers\etc\hosts

and "add the following lines to the end of the file" -

127.0.0.1 www.example.com # For browser access
127.0.0.1 mail.example.com # For email access
127.0.0.1 example.com # For mercury mail server

and then one can use "www.example.com" to access the web server
nunukis
 
Posts: 12
Joined: 06. October 2008 15:05

Postby Wiedmann » 07. October 2008 14:50

127.0.0.1 example.com # For mercury mail server

and then one can use "www.example.com" to access the web server

"example.com" is not the same as "www.example.com" (11 vs. 15 chars).

You can use "example.com" in your browser or add "www.example.com" to your HOSTS file.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 54 guests