Re: Help with conjoined apaches

2012-04-29 Thread Bradley Giesbrecht
On Apr 28, 2012, at 8:00 PM, Jeremy Lavergne wrote: >> None of these files are provided by MacPorts and files provided by apache2 >> and mysql5 are missing so somehow apache2 and mysql5 were most likely >> uninstalled by port. >> >> Do you try to do a forced upgrade apache2 and mysql5 that fai

Re: Help with conjoined apaches

2012-04-29 Thread Jeremy Lavergne
> Whether intentionally or not, MacPorts was changed a few versions ago so that > running > > sudo port -n upgrade --force foo > > will FIRST uninstall the current version of foo, THEN build the new version > of foo, which might fail, leaving you with no installed version of foo. Huh. I guess

Re: Help with conjoined apaches

2012-04-29 Thread Ryan Schmidt
On Apr 28, 2012, at 22:00, Jeremy Lavergne wrote: >> None of these files are provided by MacPorts and files provided by apache2 >> and mysql5 are missing so somehow apache2 and mysql5 were most likely >> uninstalled by port. >> >> Do you try to do a forced upgrade apache2 and mysql5 that faile

Re: mysql problem with socket (was Help with conjoined apaches)

2012-04-29 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/04/2012 18:33, j...@ayendesigns.com wrote: > That link came up non-existent [snip] > > > > >; trail

RE: mysql problem with socket (was Help with conjoined apaches)

2012-04-29 Thread jeff
That link came up non-existent, but I checked the mysql site and found the published solution about checking for the existence of the .sock file and moving it if it's in the wrong place.So, I found that there was mysql.sock in /private/tmp, but the error indicates it's being looked for in /opt/loca

Re: Help with conjoined apaches

2012-04-29 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/04/2012 13:24, j...@ayendesigns.com wrote: > It is running. Activity monitor shows mysqld running under user > _mysql.First of all, have you checked that mysql-server is actually > running? I had found a million hits :) I spent quite a bit of

RE: Help with conjoined apaches

2012-04-29 Thread jeff
It is running. Activity monitor shows mysqld running under user _mysql.First of all, have you checked that mysql-server is actually running?  I had found a million hits :)  I spent quite a bit of time reading them, trying what seemed logical, modifying what I did to account for the age of some (man

Re: Help with conjoined apaches

2012-04-29 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/04/2012 05:50, j...@ayendesigns.com wrote: > Getting warmer :) I installed apache2, mysql5, mysql5-server, php5 and > phpmyadmin. Apache is pointing to the correct place for apachectl after > I added the path to .profile. > > The trouble I'm h

RE: Help with conjoined apaches

2012-04-28 Thread jeff
Getting warmer :)  I installed apache2, mysql5, mysql5-server, php5 and phpmyadmin. Apache is pointing to the correct place for apachectl after I added the path to .profile. The trouble I'm having now is mysql. I'm getting:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
> None of these files are provided by MacPorts and files provided by apache2 > and mysql5 are missing so somehow apache2 and mysql5 were most likely > uninstalled by port. > > Do you try to do a forced upgrade apache2 and mysql5 that failed? I think > that would have uninstalled apache2 and mys

RE: Help with conjoined apaches

2012-04-28 Thread jeff
Not that I know of, but it seems like a reasonable possibility. So, then I need to reinstall them both. On Apr 28, 2012, at 7:34 PM, j...@ayendesigns.com wrote: > MacBook-Pro:/ acme$ find /opt/local/apache2 > /opt/local/apache2 > /opt/local/apache2/conf > /opt/local/apache2/conf/extra > /opt/loca

Re: Help with conjoined apaches

2012-04-28 Thread Bradley Giesbrecht
Please rely to the list. On Apr 28, 2012, at 7:34 PM, j...@ayendesigns.com wrote: > MacBook-Pro:/ acme$ find /opt/local/apache2 > /opt/local/apache2 > /opt/local/apache2/conf > /opt/local/apache2/conf/extra > /opt/local/apache2/conf/extra/httpd-autoindex.conf > /opt/local/apache2/conf/extra/httpd

Re: Help with conjoined apaches

2012-04-28 Thread Bradley Giesbrecht
Jeff, try to remember to reply to the list by hitting "Reply All". On Apr 28, 2012, at 7:13 PM, j...@ayendesigns.com wrote: > MacBook-Pro:/ acme$ echo $PATH > /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Add "/opt/local/a

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
> Ok, but is xcodebuild unusable because it's not there, or because the new > xcode version's xcodebuild isn't liked by macports? If the latter, and it > changes the path, how would I switch it back in order to use the iphone sdk > version? When Xcode updated, it didn't update it's command lin

Re: Help with conjoined apaches

2012-04-28 Thread Bradley Giesbrecht
On Apr 28, 2012, at 6:36 PM, Jeremy Lavergne wrote: >> This gets stranger and stranger. Ports says apache2 isn't installed. And I >> have no mysql command anymore. This was all working 2 weeks ago. It appears >> that somehow it got trashed. Should I start again with 'ports install' >> apache2

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
> It wanted me to self-update and then freshen what is installed. I'm getting: > > Warning: Xcode appears to be installed but xcodebuild is unusable; some ports > will likely fail to build. > Warning: You may need to run `sudo xcode-select -switch > /Applications/Xcode.app` > > on everything. I

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
> This gets stranger and stranger. Ports says apache2 isn't installed. And I > have no mysql command anymore. This was all working 2 weeks ago. It appears > that somehow it got trashed. Should I start again with 'ports install' > apache2 and mysql5? That's pretty bizarre: but yes you can defin

Fwd: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
From: Bradley Giesbrecht >> I did a 'find / -name 'apachectl' and the /usr/sbin is the only instance. Is >> there a way to get macports to refresh the installation? > > You can deactivate apache2, then activate it again: > sudo port deactivate apache2 > sudo port activate apache2 > > First, wou

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
> I did a 'find / -name 'apachectl' and the /usr/sbin is the only instance. Is > there a way to get macports to refresh the installation? You can deactivate apache2, then activate it again: sudo port deactivate apache2 sudo port activate apache2 First, would you mind checking the port contents t

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
> I do have an /opt/local/apache2, but not /opt/local/apache2/bin. 'which' > responds with /usr/sbin That means you're always running Apple's apachectl---so far. There should be one installed by MacPorts as well. Look for in the package list or peruse the /opt/local/apache2 directory, then make

Re: Help with conjoined apaches

2012-04-27 Thread Ryan Schmidt
On Apr 27, 2012, at 18:38, Jeff Greenberg wrote: > I installed macports lamp, and what seems to be happening is that apachectl > reports based on the osx stack in terms of where the config file is, the > vhosts, etc, and apache uses its config files too. But requesting a page > seems to use th

Re: Help with conjoined apaches

2012-04-27 Thread Jeremy Lavergne
> I installed macports lamp, and what seems to be happening is that apachectl > reports based on the osx stack in terms of where the config file is, the > vhosts, etc, and apache uses its config files too. But requesting a page > seems to use the macports server path and ignore the vhosts. Shoul

Help with conjoined apaches

2012-04-27 Thread Jeff Greenberg
I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the macports server path and ignore the vhosts. Should I remo