Solved

mysql startup issue

Posted on 2006-06-13
5
537 Views
Last Modified: 2008-01-09
hi,
I have installed mysql, but unable to start it up. I am getting the following error. any help is appreciated. Thanks!

discovery# bin/mysqld_safe
ld.so.1: ./bin/my_print_defaults: fatal: libm.so.2: open failed: No such file or directory
ld.so.1: ./bin/my_print_defaults: fatal: libm.so.2: open failed: No such file or directory
Starting mysqld daemon with databases from /opt/mysql/mysql/data
Killed
STOPPING server from pid file /opt/mysql/mysql/data/discovery.pid
060613 15:41:32  mysqld ended

discovery# pwd
/opt/mysql/mysql
0
Comment
Question by:mytilig
5 Comments
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 250 total points
Comment Utility
What version omf MySQL and how was it installed and any warnings created?

The error shows that a MySQL utility (my_print_defaults) cannot find a shared library, so my guess is that something has gone wrong during the install process.
0
 

Author Comment

by:mytilig
Comment Utility
I downloaded mysql 5.0 Solaris version from here
http://dev.mysql.com/downloads/mysql/5.0.html

Installed per instructions here
http://dev.mysql.com/doc/refman/5.0/en/solaris-installation.html

One possiblity is maybe the server already had a prior instance of mysql installed.

How can I uninstall it on solaris and start the process from fresh?

Thanks!
0
 
LVL 22

Assisted Solution

by:NovaDenizen
NovaDenizen earned 250 total points
Comment Utility
libm.so is the standard floating-point library (with sin(), cos(), ceil(), etc).  It's a standard library, you definitely ought to have it.  You probably have the wrong version.

I think you downoaded a binary build of mysql for the wrong version of solaris.  Look for libraries like 'libm.*' in /lib and /usr/lib.

ldd is a useful utility to find problems with shared-library dependencies.  Run:
ldd /usr/bin/my_print_defaults
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now