Friday, January 23, 2015

Impossible to create database’s user::MySQL governor








When I tried to create a new database user through cPanel I got the following error!
The adminbin “hooks” in the “Cpanel” namespace call to function “mysql::adduser” ended prematurely: The subprocess reported the “” (255) error when it ended.
While sufring through the net I could see that you need to check the following for troubleshooting this problem with MySQL user creation:
>> You have to check the permission/owner of MySQL folder in your server.
>> You need to check the following entry in “/usr/share/lve/dbgovernor/utils/dbgovernor_map”
Change this line
#!/usr/bin/perl
With this line.
#!/usr/local/cpanel/3rdparty/bin/perl
If you are still getting the same error,
>> You need to check the simlink of sock file on /tmp directory.
/var/lib/mysql/mysql.sock to /tmp/mysql.sock
I have resolved the issue by typing the following command
yum update governor-mysql --enablerepo=cloudlinux-updates-testing
Thank you


No comments:

Post a Comment