image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 27th, 2005, 07:30 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
largs is on a distinguished road
Apache On Os X 10.3.9

HI

I've recently installed apache2 onto my G4 but find that there is an instance of apache in the user/bin as well as my install which is in usr/local/apache2. This is causing problems with my php and mysql communicating to the apache2.


I think that this is giving me grief as the path in the shell is loading the wrong apache. I can circumvent this by going into the usr/local/apache2/bin and typing ./apachectl start but am now getting the following error

(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down

And of course even when I get apache2 to load, I am still unable to get the communications between pgp and mysql to occur correctly.

Any advice would be appreciated...

Regards
Reply With Quote
  #2  
Old August 29th, 2005, 02:24 AM
Registered User
 
Join Date: Feb 2005
Location: San Diego
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
epooch is on a distinguished road
Are you starting it as root?

try:
sudo ./apachectl start
Reply With Quote
  #3  
Old August 30th, 2005, 10:25 AM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
wphowell is on a distinguished road
The "could not bind to address" error message means that a web server is already running on port 80.
Reply With Quote
  #4  
Old August 31st, 2005, 06:43 AM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
largs is on a distinguished road
Thanks

So new at unix that I missed the obveous. You were right, so long as I change into the correct directory and use sudo ./apachectl start it works. Any thoughts on how i can remove the other apache from the path?

regards

Lawrence
Reply With Quote
  #5  
Old September 14th, 2005, 01:49 AM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
henrus is on a distinguished road
well, usually the other apache is in "/usr/sbin/httpd", and "/usr/sbin/" is probably in your PATH environment variable. depending on which shell you are using, you can remove this from your path, but you're probably better off just moving this file elsewhere or deleting it if you will never use the older apache.
Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:22 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.