Apache server problems

Stuff that don´t fit in the other categories.
Post Reply
User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Apache server problems

Post by visser »

ok so im having problems with apache. i install and get it running and port forwarding and all that. now the problem is that i cant get it to work after i restart my computer.

it pops up with a little message saying that theres and error something about binding a port and what not ":make_sock:" i have no idea whats going on. my internet is cable and not dsl. i dont know if that has an effect. but its not really working. so perhaps you may have an idea. me and diagnol worked on it a bit. something about virtual hosting was brought up. but im not sure if thats it. i turned off the firewall (zonealarm) and still it did not work. it would not bind to port 80. thats what it said

Perhaps the suck-oians can help??? any help would be great

User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
18
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

Post by Nerdz »

I think most of the ISP block the port 80(when you have unlimited bandwith)... try to redirect the port.
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

i did. i switched it to port 6345. thats what diagnol runs for his apache. and it doesnt work still. its really dumb. every time i reinstall it it works again. but i dont want to reinstall it every time i reboot

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

post the error message...or , even better, the entry in the error log... :-k

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

[Thu Sep 27 15:47:04 2007] [notice] Apache/2.2.6 (Win32) configured -- resuming normal operations
[Thu Sep 27 15:47:04 2007] [notice] Server built: Sep 5 2007 08:58:56
[Thu Sep 27 15:47:04 2007] [notice] Parent: Created child process 3576
[Thu Sep 27 15:47:05 2007] [notice] Child 3576: Child process is running
[Thu Sep 27 15:47:05 2007] [notice] Child 3576: Acquired the start mutex.
[Thu Sep 27 15:47:05 2007] [notice] Child 3576: Starting 250 worker threads.
[Thu Sep 27 15:47:05 2007] [notice] Child 3576: Starting thread to listen on port 6345.
[Thu Sep 27 15:47:14 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Sep 27 15:47:14 2007] [notice] Child 3576: Exit event signaled. Child process is ending.
[Thu Sep 27 15:47:15 2007] [notice] Child 3576: Released the start mutex
[Thu Sep 27 15:47:16 2007] [notice] Child 3576: Waiting for 250 worker threads to exit.
[Thu Sep 27 15:47:16 2007] [notice] Child 3576: All worker threads have exited.
[Thu Sep 27 15:47:16 2007] [notice] Child 3576: Child process is exiting
[Thu Sep 27 15:47:16 2007] [notice] Parent: Child process exited successfully.
[Thu Sep 27 15:47:20 2007] [notice] Apache/2.2.6 (Win32) configured -- resuming normal operations
[Thu Sep 27 15:47:20 2007] [notice] Server built: Sep 5 2007 08:58:56
[Thu Sep 27 15:47:20 2007] [notice] Parent: Created child process 2352
[Thu Sep 27 15:47:20 2007] [notice] Child 2352: Child process is running
[Thu Sep 27 15:47:20 2007] [notice] Child 2352: Acquired the start mutex.
[Thu Sep 27 15:47:20 2007] [notice] Child 2352: Starting 250 worker threads.
[Thu Sep 27 15:47:20 2007] [notice] Child 2352: Starting thread to listen on port 6345.





i installed it then exited. just like i had the other time. upon install it worked. then i stopped and exited. then tried to resart. i got the same :make_sock: issue. could not bind to adress 0.0.0:6345 (i tried to switch the port on like the third install, this is the fourth) and its doing the same stuff!!!!

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

Code: Select all

Starting 250 worker threads. 
8O

that's insane, it'll eat up a HUGE amount of RAM resources...post the httpd.conf on http://codeviewer.org/upload and post the link to it here...I'll take a look at it then.. :wink:

what are you using btw, XAMPP? :-k

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

no i just downloaded the install form the apache.org.

heres the code (sorry i totally forgot about code viewer then membered when you asked me to upload it b_b)

http://codeviewer.org/view/code:18


i actually changed the threads per child to 100. just to give it a shot. so thats why its not at 250. but it still dont work!!!

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

visser wrote:no i just downloaded the install form the apache.org.

heres the code (sorry i totally forgot about code viewer then membered when you asked me to upload it b_b)

http://codeviewer.org/view/code:18


i actually changed the threads per child to 100. just to give it a shot. so thats why its not at 250. but it still dont work!!!
try this
http://www.wampserver.com/en/download.php
it works fine for me :)

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

ok ill try it. im not at home right now. but i still want to get apache server to work. i wana use a slave computer to get used to using metasploit. so if anyone could help me it would be great. obviously there is always an exploit. i jsut wanna use apache

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

Code: Select all

Listen 6345
change this to your IP:port....and the same here:

Code: Select all

ServerName localhost:80
:wink:

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

ive tried everything. i changed the listen ive changed the local host . ive tried as much as i could think of. and it is still not working!!!! i dont get it. will wamp work for me. im not sure what it is completely. but ive got somewhat of an idea.


im really not liking this. lol. thanks for everyones help so far. but i need to figure something out.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

well, the best is to setup a Linux system (best Debian), during install you can pick what services you want to run (apache too) and it'll work out of the box.

but ok, if you want to run it on a MS system I recommend XAMPP, I used it too at the beginning and it worked like a charm for me:
http://www.apachefriends.org/en/xampp.html

:wink:

Post Reply