Segmentation Fault when manage MySQL in DA after upgrade

Avatat

Verified User
Joined
Nov 15, 2011
Messages
15
Hi!
I getting segmentation fault when I want to manage MySQL in DirectAdmin 1.4
Error log:
*** Segmentation fault *** Command::doCommand(/CMD_DB) : User: admin : 213.195.161.203 : /CMD_DB : domain=friendlyhost.pl : (null)

Memory dump (debug):
Starting program: /usr/local/directadmin/directadmin s
Direct Admin 1.40.1
Accepting Connections on port 2222

Program received signal SIGSEGV, Segmentation fault.
0x000000000046211a in ConfigFile::setParam(char const*, char const*) ()
(gdb) bt full
#0 0x000000000046211a in ConfigFile::setParam(char const*, char const*) ()
No symbol table info available.
#1 0x00000000004bcaf2 in Database::getRow(ConfigFile&, st_mysql_res*, int) ()
No symbol table info available.
#2 0x00000000004c504a in Database::getDBsize(char const*, st_mysql*, int) ()
No symbol table info available.
#3 0x00000000004c54d8 in Database::setDBTableToken(Send*, char const*) ()
No symbol table info available.
#4 0x000000000042aa25 in Command::doDB(char const*, char const*, char const*, int, ConfigFile*) ()
No symbol table info available.
#5 0x0000000000444396 in Command::doCommand(char const*) ()
No symbol table info available.
#6 0x0000000000446065 in Command::run(char const*) ()
No symbol table info available.
#7 0x0000000000553dbb in server() ()
No symbol table info available.
#8 0x0000000000554650 in main ()
No symbol table info available.
(gdb)
 
New users do not have this bug. Those who went from version 1.39 have a bug.
 
Last edited:
Support has helped, You are great! :)

Hello,

I found /usr/lib/libmysqlclient.so.16, which isn't part of our install.

Ours is at:
/usr/local/mysql/lib/libmysqlclient.so.16.

I've moved the wrong one into /root, and linked the old location to our file.

Now that DA is using the correct libraries, the page load works correctly.

Make sure that other versions of mysql are not being installed... (eg: don't use apt-get for mysql)

Thank you,

John
 
Back
Top