"apache could not be started"

Alles, was den Apache betrifft, kann hier besprochen werden.

"apache could not be started"

Postby gilgalbiblewheel » 05. July 2007 16:50

There was a problem with unzipping the xampp.zip at first. And then Apache didn't work.

What do you need to know so that you'll tell me what's wrong?
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby kschroeder » 06. July 2007 10:48

Sorry, too less information to help you.
What kind of a problem occured during unzipping?
What kind of error messages do you receive if you try to start apache?
Please take a look into the error logs of apache. These are always a good start to solve your problems.
kschroeder
 
Posts: 254
Joined: 11. May 2007 13:33

Postby gilgalbiblewheel » 06. July 2007 14:19

ok the second time I installed the unzipping worked fine but when I doubleclicked the apachestart couldn't execute. If there was the ability to screencap and paste it in the forum I would have.
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby KingCrunch » 06. July 2007 14:31

You should execute the bat from commandline.
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25

Postby gilgalbiblewheel » 06. July 2007 15:10

C:\windows\system32\cmd.exe right? That's what i've been doing.
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby KingCrunch » 06. July 2007 15:12

And now? The error?
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25

Postby gilgalbiblewheel » 06. July 2007 16:13

Ok so I'm playing around with the config file by changing a few things:
Code: Select all
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
#Listen 80 I changed it to 79
Listen 79


Code: Select all
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName localhost:80 I changed it to 79
ServerName localhost:79


The anti-virus is blocking port 80.
But it's giving another error in the C:\windows\system32\cmd.exe:
Code: Select all
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
unable to open logs

Apache konnte nicht gestarted werden
Apache could not be started
press any key to continue . . .
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby Wiedmann » 06. July 2007 16:18

You have another webserver running on your box. Stop that one, and you can start XAMPP/Apache (without changes in condfig files).

Or did you try to start XAMPP/Apache twice?

(use "xampp_portcheck.exe" to see what happens on the standard ports)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby gilgalbiblewheel » 06. July 2007 16:25

I have WAMP and IIS 5.1. I stopped WAMP but not sure how to stop IIS.
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby KingCrunch » 06. July 2007 17:09

In your service-list. There has to be an entry like "internet information server (service?)" or something like that
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25

Postby gilgalbiblewheel » 06. July 2007 17:21

I found IIS by searching and disconnected it. But port 443 is a problem as I mentioned above still.
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby gilgalbiblewheel » 06. July 2007 18:11

portcheck.ini says:
[Ports]
Port80=BLOCKED
Port443=BLOCKED
Port3306=BLOCKED
Port21=FREE
Port14147=FREE
Port8080=FREE
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby gilgalbiblewheel » 06. July 2007 18:39

I'm no expert at this whether it is destined to work but I opened c:\xampp\conf\extra\httpd-ssl.conf
and put # in front of all the lines mentioning 443 ( my guess is that # blocks the lines ) and put 444 with the necessary commands.
But now the problem is 3066 is still blocked. What's that anyways?
gilgalbiblewheel
 
Posts: 8
Joined: 05. July 2007 16:46

Postby KingCrunch » 07. July 2007 17:33

gilgalbiblewheel wrote:portcheck.ini says:
[Ports]
Port80=BLOCKED
Port443=BLOCKED
Port3306=BLOCKED
Port21=FREE
Port14147=FREE
Port8080=FREE
That means, that youve not stopped any webservices on your system ;)
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25


Return to Apache

Who is online

Users browsing this forum: No registered users and 213 guests