Re: Can't start mysql server automatically
Michael Stassen [EMAIL PROTECTED] wrote: O Well, clearly LD_LIBRARY_PATH isn't set at startup. That's one of the reasons LD_LIBRARY_PATH isn't really the Solaris way, and is not recommended. With a proper setup, you should never need LD_LIBRARY_PATH in Solaris. In any version of Solaris, you can build with -R /usr/local/lib to create executables which know to look in /usr/local/lib to find libraries at run time. Yes and also do ldd /usr/local/lib/libstdc++.so.5 to check if everything else is found there. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net ___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Can't start mysql server automatically
Also you can also use the crle command to build a permanent set of library paths similar to ldconfig in Linux and other unices. There should be a man page for it on your system. You can simply add /usr/local/lib to there in the correct order and this resolves having to use LD_LIBRARY_PATH. Regards David Logan Database Administrator HP Managed Services 139 Frome Street, Adelaide 5000 Australia +61 8 8408 4273 - Work +61 417 268 665 - Mobile +61 8 8408 4259 - Fax -Original Message- From: Egor Egorov [mailto:[EMAIL PROTECTED] Sent: Monday, 23 August 2004 10:26 PM To: [EMAIL PROTECTED] Subject: Re: Can't start mysql server automatically Michael Stassen [EMAIL PROTECTED] wrote: O Well, clearly LD_LIBRARY_PATH isn't set at startup. That's one of the reasons LD_LIBRARY_PATH isn't really the Solaris way, and is not recommended. With a proper setup, you should never need LD_LIBRARY_PATH in Solaris. In any version of Solaris, you can build with -R /usr/local/lib to create executables which know to look in /usr/local/lib to find libraries at run time. Yes and also do ldd /usr/local/lib/libstdc++.so.5 to check if everything else is found there. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net ___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Can't start mysql server automatically
I configured MySQL to start automatically on a Sun Ultra10 running Solaris 9 as per the installation instructions installing the following scripts/links: - /etc/init.d/mysql - /etc/rc3.d/S99mysql - /etc/rc0.d/K01mysql The MySQL daemon however failed to start at system startup. The .err log file contained the following... 040814 21:27:55 mysqld started ld.so.1: /usr/local/mysql/libexec/mysqld: fatal: libstdc++.so.5: open failed: No such file or directory 040814 21:27:56 mysqld ended libstdc++.so.5 does exist (located in '/usr/local/lib') and is set in LD_LIBRARY_PATH. I can however start/stop/interact successfully with MySQL from the command line!?! I don't know how to correct this libstdc++.so.5 error...it exists. GR:-( Any help greatly appreciated. Thanks Graeme -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Can't start mysql server automatically
Well, clearly LD_LIBRARY_PATH isn't set at startup. That's one of the reasons LD_LIBRARY_PATH isn't really the Solaris way, and is not recommended. With a proper setup, you should never need LD_LIBRARY_PATH in Solaris. In any version of Solaris, you can build with -R /usr/local/lib to create executables which know to look in /usr/local/lib to find libraries at run time. Starting with Solaris 8, you can use crle to add /usr/local/lib to the dynamic linker's path. Michael McAfee wrote: I configured MySQL to start automatically on a Sun Ultra10 running Solaris 9 as per the installation instructions installing the following scripts/links: - /etc/init.d/mysql - /etc/rc3.d/S99mysql - /etc/rc0.d/K01mysql The MySQL daemon however failed to start at system startup. The .err log file contained the following... 040814 21:27:55 mysqld started ld.so.1: /usr/local/mysql/libexec/mysqld: fatal: libstdc++.so.5: open failed: No such file or directory 040814 21:27:56 mysqld ended libstdc++.so.5 does exist (located in '/usr/local/lib') and is set in LD_LIBRARY_PATH. I can however start/stop/interact successfully with MySQL from the command line!?! I don't know how to correct this libstdc++.so.5 error...it exists. GR:-( Any help greatly appreciated. Thanks Graeme -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Can't start MySQL server
Dear all: I have just removed an old version of mysql and install MySQL3.23.51 (tarball). After installation, I tried to start the server: % bin/safe_mysqld It can't be started. Message stored in file: /mysql/var/hostname.err asking Do you already have another mysqld server running on port: 3306? Aborting. I have tried hours to install it but I just could not succeed. Could anyone kindly help me out? THank you very much for your help! Frank _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Can't start MySQL server
Hi! It seems you still have an old mysqld running. Check this: ps ax | grep mysqld and kill it if it does really present. duo fu wrote: Dear all: I have just removed an old version of mysql and install MySQL3.23.51 (tarball). After installation, I tried to start the server: % bin/safe_mysqld It can't be started. Message stored in file: /mysql/var/hostname.err asking Do you already have another mysqld server running on port: 3306? Aborting. I have tried hours to install it but I just could not succeed. Could anyone kindly help me out? THank you very much for your help! Frank _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- For technical support contracts, visit https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Alexander Barkov [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer /_/ /_/\_, /___/\___\_\___/ Izhevsk, Russia ___/ www.mysql.com +7-902-856-80-21 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php