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 port
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
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 B Brown
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$
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:
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 installed the latest
community version
/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 wrote:
FATAL ERROR: Could not find mysqld
I
. 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 Schmidt wrote:
On Jan 6, 2011, at 13:49, David Gentry wrote:
Following your advice, I carefully tried to uninstall all previous disk image
versions of MySQL
/. 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: David Gentry localbusinesswebsi
!
echo
fi
exit 0
On Jan 8, 2011, at 3:14 AM, Ryan Schmidt wrote:
On Jan 7, 2011, at 14:39, David Gentry wrote:
Your guess makes sense to me: the FATAL ERROR came from script that I did not
successfully uninstall. I ran which mysql_install_db5 and the response was
/opt/local/bin
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 localbusinesswebsi
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
a query to the MacPorts address list?
David
On Mar 6, 2011, at 12:14 PM, Ryan Schmidt wrote:
On Mar 5, 2011, at 16:47, David Gentry wrote:
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
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 localbusinesswebsi...@earthlink.net
Date: March 7, 2011 3:26:39 PM CST
To: Ryan
, 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 MacPorts, I trashed my mysqld file
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
. 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:
My Mac
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 way I can
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 the proper
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:
I
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
?
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, and I intend to find out how. I did
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:
It's not really clear what leads you
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 put the files
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 buffer.g.overf...@googlemail.com
To: David Gentry localbusinesswebsi...@earthlink.net
Cc: Ryan Schmidt ryandes...@macports.org, MacPorts
macports
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
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
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
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
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
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
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
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
$ 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:
$ ls -l
/opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
-rw-rw-r--+ 2 root admin 958 Mar 1 14:33
/opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
David
On Mar 31, 2011, at 1:56 PM, Ryan Schmidt wrote:
On Mar 31, 2011, at 13:43, David
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 -
36 matches
Mail list logo