Error Loading Apache2

2011-04-01 Thread David Gentry
Scott, thanks very much. The commands worked fine. Ryan, thank you. >> On my system, where apache2 loads fine, the permissions are: >> >> $ ls -l /Library/LaunchDaemons/org.macports.apache2.plist >> lrwxr-xr-x ?1 root ?wheel ?76 Feb 27 23:24 >> /Library/LaunchDaemons/org.macports.apache2.plist

Re: Error Loading Apache2

2011-03-31 Thread David Gentry
rts.apache2.plist David On Mar 31, 2011, at 1:56 PM, Ryan Schmidt wrote: On Mar 31, 2011, at 13:43, David Gentry wrote: > $ sudo port load apache2 > Password: > Error: Target org.macports.load returned: launchctl: Dubious permissions on > file (skipping): /Library/Launch

Error Loading Apache2

2011-03-31 Thread David Gentry
$ sudo port load apache2 Password: Error: Target org.macports.load returned: launchctl: Dubious permissions on file (skipping): /Library/LaunchDaemons/org.macports.apache2.plist nothing found to load Log for apache2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macpor

problems running mysql_install_db

2011-03-25 Thread David Gentry
>> Brad, >> >>> David, it's most common on this list to use reply-all because using reply >>> replies to the sender and not the list. >>> >>> Please fix your email account so our emails to you are not auto-replied >>> with your anti-spam counter measures. >> >> Whoops. I did not have macports

problems running mysql_install_db5

2011-03-24 Thread David Gentry
Brad, > David, it's most common on this list to use reply-all because using reply > replies to the sender and not the list. > > Please fix your email account so our emails to you are not auto-replied with > your anti-spam counter measures. Whoops. I did not have macports-users@lists.macosforg

problems running mysql_install_db5

2011-03-24 Thread David Gentry
>> Bradley, >> >> I ran the commands you gave me on Mar. 18, and they all ran fine except the >> very last one: >> >> $ mysqladmin5 -p -u root password 'x' >> Enter password: >> mysqladmin5: connect to server at 'localhost' failed >> error: 'Access denied for user 'root'@'localhost' (us

problems running mysql_install_db5

2011-03-23 Thread David Gentry
Bradley, I ran the commands you gave me on Mar. 18, and they all ran fine except the very last one: $ mysqladmin5 -p -u root password 'x' Enter password: mysqladmin5: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' David

problems running mysql_install_db5

2011-03-18 Thread David Gentry
Bradley, Concerning this command and output: $ /opt/local/lib/mysql5/bin/my_print_defaults client mysql mysqld --port=3306 --socket=__PREFIX/var/run/mysqld/mysqld.sock --skip-innodb --user=mysql --pid-file=__PREFIX/var/run/mysqld/mysqld.pid --socket=__PREFIX/var/run/mysqld/mysqld.sock --port=3306

problems running mysql_install_db5

2011-03-17 Thread David Gentry
Bayard, Thank you for taking the time to do research and to provide advice. I am sort of glad the answer is not evident to you after your research. Maybe I am not insane. I have read the same documentation you have in the reference manual and as you quoted from mysql_install_db5. I have run

problems running mysql_install_db5

2011-03-17 Thread David Gentry
Bradley, Thank you for your response. I am responding to your request that I run 3 commands: $ /opt/local/lib/mysql5/bin/my_print_defaults client mysql mysqld --port=3306 --socket=__PREFIX/var/run/mysqld/mysqld.sock --skip-innodb --user=mysql --pid-file=__PREFIX/var/run/mysqld/mysqld.pid --sock

Please send contents of current mysqld file

2011-03-16 Thread David Gentry
Andrea, Thank you very much for trying to help. I am responding to your message: Out of curiosity, can you paste your $PATH env variable? Seems you have /usr/local before MP's $prefix. I ran: echo $PATH /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sb

Please send contents of current mysqld file

2011-03-16 Thread David Gentry
Scott, Thank you very much for trying to help. I am responding to your message: What is the output of "which mysql_install_db5"? I don't think the macports version would search those directories? I ran: which mysql_install_db5 /opt/local/bin/mysql_install_db5 Following Bayard Bell's suggesti

Please send contents of current mysqld file

2011-03-16 Thread David Gentry
>Bayard, >Maybe we are making progress. I am responding to your email: Message: 8 Date: Tue, 15 Mar 2011 02:02:02 + From: Bayard Bell To: David Gentry Cc: Ryan Schmidt , MacPorts Subject: Re: Please send contents of current mysqld file Message-ID: <4dbe94ec-1229-

Re: Please send contents of current mysqld file

2011-03-14 Thread David Gentry
Ryan, Thanks. I will track them down. I only moved 2 or 3 the second time around. I know which ones they were. I will find them and trash them. David On Mar 14, 2011, at 6:22 PM, Ryan Schmidt wrote: On Mar 14, 2011, at 14:48, David Gentry wrote: > I don't trust my memory to

Re: Please send contents of current mysqld file

2011-03-14 Thread David Gentry
messages, so I suspect the server is running. Thanks for your patience, and I would appreciate any ideas you have. David On Mar 13, 2011, at 5:17 PM, Ryan Schmidt wrote: On Mar 10, 2011, at 15:10, David Gentry wrote: > Bayard, > > I am responding to your message: > >> &quo

Re: Please send contents of current mysqld file

2011-03-13 Thread David Gentry
y mysql5 port. Is that a problem? Thanks in advance for your help. David On Mar 10, 2011, at 12:04 AM, Ryan Schmidt wrote: On Mar 9, 2011, at 12:54, David Gentry wrote: > I did not mean to imply that the MacPorts file, mysqld, is corrupt. Somehow > it is getting corrupted on my system, a

Please send contents of current mysqld file

2011-03-10 Thread David Gentry
Bayard, I am responding to your message: "It's not really clear what leads you to suspect corruption in the first instance. Perhaps we might start with how you get to that conclusion and work out a shared understanding of the problem on that basis?" Please refer to my reply to rai...@macports.

Please send contents of current mysqld file

2011-03-10 Thread David Gentry
Bradley, I am responding to your message: "MacPorts does not support having anything in a directory named /usr/ local. Please reply with the output of the following comments. $ echo $PATH $ ls -la /usr/local $ port contents mysql5" >$ echo $PATH >/opt/local/bin:/opt/local/sbin:/opt/local/bin:

Re: Please send contents of current mysqld file

2011-03-10 Thread David Gentry
Thanks for the info. I agree with your concluding diagnosis about possibly a rogue my.cnf somewhere. As I said, I have done my best to clean my system, but I will continue to do so. David On Mar 10, 2011, at 12:04 AM, Ryan Schmidt wrote: On Mar 9, 2011, at 12:54, David Gentry wrote: >

Re: Please send contents of current mysqld file

2011-03-10 Thread David Gentry
database. David On Mar 10, 2011, at 12:00 AM, Ryan Schmidt wrote: On Mar 9, 2011, at 16:09, David Gentry wrote: > I can resolve that error by moving mysqld to the same directory as > mysql_install_db We can't help you if you move things around after MacPorts has installed them into

Fwd: Please send contents of current mysqld file

2011-03-09 Thread David Gentry
Rainer, I am responding to your message of today: On 03/09/2011 02:51 AM, David Gentry wrote: > My Mac appears to corrupt the mysqld file whenever I download mysql5 > and mysql5-server from MacPorts. I would very much like to see a > current copy of the contents of mysqld. Maybe that

Re: Please send contents of current mysqld file

2011-03-09 Thread David Gentry
. As I have more information, I will pass it on to the email list. It might help someone. >From what I have learned, at this point I doubt that the MacPorts wiki is out >of date. David On Mar 9, 2011, at 12:06 AM, Ryan Schmidt wrote: On Mar 8, 2011, at 19:51, David Gentry wrote: &g

Please send contents of current mysqld file

2011-03-08 Thread David Gentry
My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of m

Re: Could not find my_print_defaults

2011-03-08 Thread David Gentry
On Mar 7, 2011, at 19:29, David Gentry wrote: > I apologize for the message below. After I sent it, I discovered that my > mysqld file is not provided by MacPorts. None of the other files I moved > today are provided by MacPorts either. > > Since they are not provided by MacP

Fwd: Could not find my_print_defaults

2011-03-07 Thread David Gentry
ot; in the names that could possibly conflict with files from MacPorts. 3. Again, install the mysql and mysql-server ports. 4. Return to the wiki to set up a main database, etc. David Begin forwarded message: From: David Gentry Date: March 7, 2011 3:26:39 PM CST To: Ryan Schmidt Cc: macp

Re: Could not find my_print_defaults

2011-03-07 Thread David Gentry
rning what I should do now? I am determined to get MySQL working on my Mac unless there is another database management software program I could use. I want to develop shopping cart websites. I am curious to know if anyone has used successfully the wiki I am using. Should I just send a query

Could not find my_print_defaults

2011-03-05 Thread David Gentry
I am using the MAMP#mysql wiki. I am working on "Set up the main database." For quite some time, I could not get past "FATAL ERROR: Could not find mysql_install_db." This command got me past that error message: sudo mysql_install_db5 --basedir=/opt/local/bin, but it gave me the following e

Fwd: FATAL ERROR: Could not find mysqld & Missing Port 3306

2011-01-12 Thread David Gentry
Ryan, You offered to compare your /opt/local/lib/mysql5/bin/mysql_install_db script to mine to possibly help determine where my FATAL ERROR is coming from. My script is in the email below. I really appreciate your help. David Begin forwarded message: From: David Gentry Date: January 9

Re: FATAL ERROR: Could not find mysqld & Missing Port 3306

2011-01-09 Thread David Gentry
$hostname password 'new-password'" echo echo "Alternatively you can run:" echo "$bindir/mysql_secure_installation" echo echo "which will also give you the option of removing the test" echo "databases and anonymous user created by def

Fwd: FATAL ERROR: Could not find mysqld & Missing Port 3306

2011-01-07 Thread David Gentry
5/bin/. These originals do not have the "5" as part of the file name. Should I add a "5" to the file names of the originals and determine if the setting up the main database commands at http://trac.macports.org/wiki/howto/MAMP#mysql will work? Begin forwarded message: From: Davi

Re: FATAL ERROR: Could not find mysqld & Missing Port 3306

2011-01-07 Thread David Gentry
QL, I also uninstalled MacPorts' "mysql5" and "mysql5-server." Then I installed the ports. I got no error messages. Then I ran "port selfupdate" and I did not get any error messages. What does this information tell you? On Jan 7, 2011, at 12:18 AM, Ryan Sc

Re: FATAL ERROR: Could not find mysqld & Missing Port 3306

2011-01-06 Thread David Gentry
mysql5/mysql5.1.51_0/opt/local/libexec/mysqld Note: The directories searched for mysqld by the database install script don't exist anymore on my Mac. How can I resolve the "FATAL ERROR"? David On Dec 21, 2010, at 11:06 AM, Ryan Schmidt wrote: On Dec 21, 2010, at 10:08, David Gentry

Re: FATAL ERROR: Could not find mysqld & Missing Port 3306

2010-12-21 Thread David Gentry
Roger and wilco. (I'm a pilot. "Wilco" means "will comply.") Thanks. On Dec 21, 2010, at 11:06 AM, Ryan Schmidt wrote: On Dec 21, 2010, at 10:08, David Gentry wrote: > FATAL ERROR: Could not find mysqld > > I removed a version of mysql from my iMac, and I

FATAL ERROR: Could not find mysqld & Missing Port 3306

2010-12-21 Thread David Gentry
FATAL ERROR: Could not find mysqld I removed a version of mysql from my iMac, and I installed the latest community version. As a recommended post-installation task, I ran mysql_install_db. Here is the command and the response: command: "/opt/local/lib/mysql5/bin/mysql_install_db ;" response:

Re: Error: Status 1 encountered during processing.

2010-12-20 Thread David Gentry
Ryan, Thanks very much for responding. I followed your directions but I can't decide if the server is running or not, and I have been using recommended commands from the online mysql manual. Also: 1. I ran mysql_install_db, and I received the following: "DAVID:~ davidgentry$ /opt/local/lib/m

Re: Error: port activate failed: Registry error: No port of e installed.

2010-10-14 Thread David Gentry
Port 8500 is used by Adobe ColdFusion for its embedded server. Since I plan to use ColdFusion, I guess I will need port 8500, but I don't know for sure yet. On Oct 13, 2010, at 6:21 PM, Ryan Schmidt wrote: On Oct 13, 2010, at 13:16, David Gentry wrote: > Dear Ryan Schmidt, John

Re: Error: port activate failed: Registry error: No port of e installed.

2010-10-13 Thread David Gentry
Dear Ryan Schmidt, John B Brown, and Rainer Muller, Thank you all so much. I used Disk Utility to verify and then repair permissions. Then I executed "sudo port install apache2." I got "sudo: /var/db/sudo writable by non-owner (040775), should be mode 0700." After several tries, I corrected

Error: port activate failed: Registry error: No port of e installed.

2010-10-11 Thread David Gentry
I am glad I signed up for this email list last week because one post made me think that maybe I am not crazy. The post said that a port "disappeared." Well, I have had 3 ports "disappear." Here is the sequence of events: 1. Last week, I installed Macports. 2. Per the documentation, I ran "po