Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-08-2003, 03:13 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
trouble installing apache...

Hi...

boleh ke tanya pasal apache kat sini? kalo boleh saye nak tanya satu hal. saya ader install apache 1.3 kat PC. I want to build a website using PHP so i download the apache server. After download it, i transfer the download file to my other computer (no connection to internet). firstly i install it in myfirst PC (ader connection to internet) no problem. but when i try to install it to my second computer (no connection to internet) the apache cannot start. the following error

[crit] make sock : failed to get a socket for port 80.

i try to change a little bit that i know in the httpd file. but the result is still the same? what can i do.

for your information i use

windows98
apache 1.3.28-win32-x86-no_src.exe

please help me...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-08-2003, 03:41 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 95
sufyan is on a distinguished road
Hi,

Just a question. Does the destination pc have a network card? If not, you probably got this error because no network protocols are installed. If so, all you have to do is install networking service or something like that (under add/remove programs - windows tab), give it a reboot and reinstall apache.

If this doesn't work, could you please state your edition of windows 98 (SE or 2nd edition) and the protocols installed under Networks (in the control panel)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-08-2003, 04:50 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
thanks....

i have check my pc. yes there is a network card installed.

i use windows98 second edition

protocol installed:

3com etherlink lll ISA (.....)
IBM turbo 16/4 token ring ISA adapter
IPX/SPX compatible protocil ->3com eatrhlink
netBEUI
TCP/IP 3com
TCP/IP IBM turbo
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2003, 03:58 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 95
sufyan is on a distinguished road
Ok... that looks alrite... try this:

1) Change the port to 8080 (somewhere near 'port' in your httpd.conf then restart the service) and access it at http://localhost:8080

2) Do you have PWS or IIS or any other webserver installed (or which was previously installed)? If so, that is probably causing the conflict of port 80. Either remove that webserver or run apache on port 8080 (or any other port)

3) If all that fails... there is something wrong with your TCP/IP layers. Just curious... you have two TCP/IP network protocols on your system: TCP/IP 3com, TCP/IP IBM turbo - is there a reason for that? If not, try deleting one of them (The one that is not in use - or you can guess ) and try restarting apache again.

If none of the above works... I have run out of ideas... It's wierd though that it runs on one machine and doesn't on the other... Anyway... good luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-08-2003, 06:28 PM
ksstudio's Avatar
Administrator
 
Join Date: Jun 2001
Location: Malaysia
Posts: 334
Rep Power: 10
ksstudio has much to be proud of ksstudio has much to be proud of ksstudio has much to be proud of ksstudio has much to be proud of ksstudio has much to be proud of ksstudio has much to be proud of ksstudio has much to be proud of ksstudio has much to be proud of
Try look at the Apache Error log, you might find some info there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-08-2003, 12:07 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
still cannot....

i try to change the port to 8080 but i get this error from the error log :

[Fri Aug 08 11:55:12 2003] [crit] make_sock: failed to get a socket for port 8080

i use TCP/IP IBM turbo the other one i dont know its already there, maybe my brother put it.

for your information, i've install the apache ver.2.0.46 in previous. then i remove it and install the old ver. apache 1.3.28.

so what should i do next....

in my other PC everythings fine....
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-08-2003, 02:24 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 95
sufyan is on a distinguished road
The only thing I can think of is that Apache 2 was not cleanly removed. However, I doubt that this is what is causing the problem.

Try typing (in the command line):
netstat -an

Look for local address 0.0.0.0:80 (or similar to that). If it's there, post it here, if not I can't think of anything else you can do (except to format and reinstall everything again). Did Apache 2 previously work?

Anyone else have any suggestions? ksstudio?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-08-2003, 03:05 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
ok...

Active connection

proto local add foreign add state
tcp 172.11..... 0.0.0.0:0 listening
tcp 172.11.... 0.0.0.0:0 listening
tcp 172.11.... 0.0.0.0:0 listening
udp 172.11... *:*
udp 172.11... *:*

what it means?

because the apache 2? i also think so. i follow the instruction to install apache 2, and it said i have to go to start>apache http server>control apache server>start apache in console. but theres no menu start apache in console, instade i got menu restart,start and stop. and it also doesnt work. i install and remove apache about 5 times hehehe... try to get it rite but still the same.... sometimes feel funny...

so whats next....
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-08-2003, 06:07 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 95
sufyan is on a distinguished road
Hi,

Sorry for the late reply. Anyway, your 'netstat' doesn't show any signs of port 80 being listened by any other deamon/service. netstat is just a tool to see your active connections.

I can only think of only two other possiblilites:

1) First of all, wipe apache from your system. Delete the folder: C:\Program Files\Apache Group. Then goto your control panel and open up Networks. Copy down what's there (or you can refer to your previous post), after that, delete/uninstall everything there (protocols) and then reinstall what you just deleted (just the TCP/IP protocol should be enough though). WARNING, you may need a Win98 CD. Reinstall apache, REBOOT and test.

2) As your last resort, format your system and reinstall everything.

Besides these two, I can't think of anything else. So, if this doesn't work, I'm afraid, I can't help you here. But good luck anyway, at least you have one box with Apache working.

BTW, it seems that you've installed Apache correctly, because you can get the menus with Start, Stop, Restart. Start Apache in a console appears only if you installed Apache to start in a console and not automatically load when windows starts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-08-2003, 09:23 AM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
well... thanks 4 the advice...
maybe i should format my PC. btw it almost 2 years since i last format it hehehe (too busy). thanks for all ur help i really appreciateit. At least i have it in my other PC. thanks 4 all.





s3t tH3 g0aL, puSh 2 tH3 LiMit, R3acH tH3 t0P, U'll b3 pR0ud
N0tHinG w0Rth m0R3....
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 12-08-2003, 05:17 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
one more thing.....

in my other PC, why i cannot preview localhost using IE?. right now im using mozilla and its ok, just have a problem to upload picture and backup my database.

so how can i view my localhost useing IE?

10Q...
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 12-08-2003, 05:48 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 95
sufyan is on a distinguished road
Hmm... Mozilla can, IE cannot...

Try:
http://localhost/
or
http://127.0.0.1/

If both don't work, make sure your working online: File>Work Online (If your already working online, it will be work offline)

If that's ok, goto: Tools>Internet Options
Under the 'Connections' tab, click lan settings, then uncheck proxy settings.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 13-08-2003, 02:01 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania
yup ur rite... it's working now...

thanks a lot...

----------------------------------------------------------
Im tH3 Rul3R 0f mY L0cAlh0$t (10x 2 sufyan)
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 13-08-2003, 02:50 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 95
sufyan is on a distinguished road
No problem...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 13-08-2003, 03:56 PM
progmania's Avatar
Inspired Webmaster
 
Join Date: Aug 2003
Location: localhost PJ
Posts: 101
Rep Power: 66
progmania is on a distinguished road
Send a message via Yahoo to progmania


just askin...

i get really xcited when people talk about php prog. it makes me want to know more about it. i've surf internet... asking people... but i cant seems to really understand about it (see how idiot i am). so right now im looking foward to learn php programming. could u suggest me any good php book for beginner like me....

-------------------------------------------
tRy mY b3$t 2 B3 tH3 b3$t
__________________
Set the goal, push to the limit, reach the top and u'll be proud.. Try lah!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Iis & Apache edahani Website Programming 2 05-04-2007 02:16 PM
Need help with Apache patcjh Website Programming 1 16-01-2007 06:34 PM
installing php shoutbox sunshinerocke Website Programming 5 18-09-2003 08:10 AM
Trouble Hosting supra Free Hosting Discussion Forum 0 23-05-2003 05:08 PM
ASP in web server APACHE ReaLSyLo Website Programming 2 30-08-2002 09:40 PM