Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Danielle Daniels   on Jun 24 In Java Category.

  
Question Answered By: Utsav Shah   on Jun 24

A week before I also had the same problem and tried host of things to
eradicate the problem. error  message was almost same but the code was OS
10038 in my case.
Ultimately I gave up installing Apache2 on Win 98.

C:\Program Files\Apache Group\Apache2\bin>apache
[Wed May 26 16:35:43 2004] [crit] (OS 10038)Socket operation on non-socket:
make
_sock: for address  0.0.0.0:8080, apr_socket_opt_set: (SO_KEEPALIVE)
no listening sockets  available, shutting down
Unable to open  logs

Try This:
After attempting to run Apache, open 'My Computer' (for example) and type in

http://localHost and then http://127.0.0.1

Do you get a welcome message or an error?

Also, are you installing any addition to Apache, like PHP, ASP, MySQL, etc?

You might also want to check out this tutorial:

internetmaster.com/installtutorial/index.htm

It shows how to install  Apache, PHP, and MySQL. If you are not installing
the other two, just concentrate on the apache  part.

Try This:
I found out that this error tells that the port (8080) must be already taken
and used by some other application. To test it, press  'Start' > 'Run' and
type in CMD . In the new window type this following line

netstat -an |find /i "listening"

Also, do you have some sort of firewall installed? Of so, try disabling it
temporarily and run Apache to see if the error reappears.

Another idea would be to downgrade your Apache version. I found out that the
latest 2.xx are not as good as previous ones. Following is a link to 1.3.31
version. Its still actively maintained and developed.

apache.secsup.org/.../apache_1.3.31-win32-x86-no_sr\
c.exe

Try This:
- Install Apache2
- Go to Apache2\conf folder and open httpd.conf with a notepad
- look for line that says Timeout and change the number after that to 999
- look for line that says Listen and change the number after that to 85
(thats the new port number)
- start Apache

Let me know if any of these or otherwise you managed to sort things out.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How To Install Apache Web Server on Windows Or get search suggestion and latest updates.


Tagged: