• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable update mailbox: mailmng failed: Empty error message from utility

Hello,
In my case, Centos 6, these are the results:

# nm -D /usr/lib/libmysqlclient.so.16.0.0 | grep EVP_CIPHER_CTX_init
nm: '/usr/lib/libmysqlclient.so.16.0.0': No such file

# rpm -qf /usr/lib64/mysql/libmysqlclient.so.16.0.0
mysqlclient16-5.1.59-2.el6.art.x86_64

Is there any chance to have a fix soon?
I can not even create email accounts ...

Thanks a lot.
 
Log from sw-cp-server/error_log

This is what happen when trying to create a new email account:



mailmng[4515]: Can't read encryption key from '/var/spool/postfix/plesk/passwd_db_key': No such file or directory (2)
mailmng[4515]: Failed to initialize encryption cipher 'AES-256-CBC:pKCS' with key '/var/spool/postfix/plesk/passwd_db_key'
mailmng[4515]: Failed to initialize password cipher context (for mail address '[email protected]')
mailmng[4515]: Unable to set password for mailname [email protected]
2012-12-18T17:45:33+00:00 ERR (3): Unable update mailbox: mailmng failed: Empty error message from utility.
2012-12-18 17:45:33: (mod_fastcgi.c.2746) FastCGI-stderr: PleskUtilException: /usr/local/psa/admin/bin/mailmng '--add-mailbox' '--domain-name=comintech.us' '--mailname=noc' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1071
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(989): util_exec('mailmng', Array, Array, 'lst', NULL)
#1 /usr/local/psa/admin/plib/mail/Manager.php(162): smart_exec('mailmng', Array, Array, 'lst')
#2 /usr/local/psa/admin/plib/mail/Manager.php(220): mail_Manager::execWithException('smart_exec', 'mailmng', Array, Array, 'lst')
#3 /usr/local/psa/admin/plib/mail/Manager.php(182): mail_Manager->callMailManager('add-mailbox', Array)
#4 /usr/local/psa/admin/plib/mail/AbstractManager.php(105): mail_Manager->callMailMngWithException('add-mailbox', Array)
#5 /usr/local/psa/admin/plib/mail/AbstractFacade.php(83): mail_AbstractManager->addMailbox('comintech.us', 'noc', Object(Account), false)
#6 /usr/local/psa/admin/plib/mail/AbstractMailNameBox.php(261): mail_AbstractFacade->addMailBoxToSystem(Object(Mailname))
#7 /usr/local/psa/admin/plib/mail/AbstractMailNameBox.php(176): AbstractMailNameBox->_updatePostbox()
#8 /usr/local/psa/admin/smb/application/library/Smb/Plesk/Bridge/Mail/Name.php(270): AbstractMailNameBox->update()
#9 /usr/local/psa/admin/plib/Db/Table/Row/Mailname.php(115): Smb_Plesk_Bridge_Mail_Name->save()
#10 /usr/local/psa/admin/plib/Db/Table/Row/Mailname.php(79): Db_Table_Row_Mailname->_saveHook()
#11 /usr/local/psa/admin/plib/Db/Table/Row.php(130): Db_Table_Row_Mailname->_executeInsert(Array)
#12 /usr/local/psa/admin/plib/Zend/Db/Table/Row/Abstract.php(438): Db_Table_Row->_doInsert()
#13 /usr/local/psa/admin/plib/Db/Table/Row.php(26): Zend_Db_Table_Row_Abstract->save()
#14 /usr/local/psa/admin/plib/Db/Table/Row/Mailname.php(23): Db_Table_Row->save()
#15 /usr/local/psa/admin/smb/application/library/Smb/Form/Final/EmailAddress.php(229): Db_Table_Row_Mailname->save()
#16 /usr/local/psa/admin/smb/application/controllers/EmailAddressController.php(266): Smb_Form_Final_EmailAddress->processForm()
#17 /usr/local/psa/admin/smb/application/controllers/EmailAddressController.php(224): EmailAddressController->_proccessForm(Object(Db_Table_Row_Mailname), Array)
#18 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): EmailAddressController->createAction()
#19 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#20 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#21 /usr/local/psa/admin/smb/application/library/Smb/Application/Web.php(48): Zend_Controller_Front->dispatch(NULL)
#22 /usr/local/psa/admin/smb/application/public/index.php(15): Smb_Application_Web->run()
#23 {main}
 
mysqlclient16-5.1.59-2.el6.art.x86_64

Hmmm... I see that you have libmysql from Atomic repository but not from OS vendor. Have you tried to use original package from CentOS?
 
Perhaps we have no problem with Centos.

To check that it's the same problem:
1) Try to create mailname via CLI:
# /usr/local/psa/bin/mail -c [email protected] -passwd ******* -forwarding false -mailbox true -mbox_quota 20971520

Error should be like:
/usr/local/psa/admin/bin/mailmng: relocation error: /usr/local/psa/admin/bin/mailmng: symbol EVP_CIPHER_CTX_init, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference

2) Check
# nm -D /usr/lib/libmysqlclient.so.16.0.0 | grep EVP_CIPHER_CTX_init
nm: '/usr/lib/libmysqlclient.so.16.0.0': No such file

Note that libmysqlclient so file can be located in different paths and "no such file or directory" means nothing for this case.
 
[root@**** ~]# /usr/local/psa/bin/mail -c test@*********.com -passwd aSp8T*m?73 -forwarding false -mailbox true -mbox_quota 20971520

SUCCESS: Creation of mailname 'test@*********.com' complete

[root@**** ~]# nm -D /usr/lib/libmysqlclient.so.16.0.0 | grep EVP_CIPHER_CTX_init
nm: '/usr/lib/libmysqlclient.so.16.0.0': No such file
[root@**** ~]#

[root@**** ~]# nm -D /usr/lib64/mysql/libmysqlclient.so.16.0.0 | grep EVP_CIPHER_CTX_init
[root@**** ~]#
 
Last edited:
I tried again to change mail settings in Plesk and received:

Unable to set up SMTP authorization: mailmng failed: Empty error message from utility.

Log from sw-cp-server/error_log:

"-":9: premature EOF
errors in crontab file, can't install.
mailmng[17603]: Failed to set new crontab for user 'root'
2012-12-19 15:03:09: (mod_fastcgi.c.2746) FastCGI-stderr: PleskUtilException: /usr/local/psa/admin/bin/mailmng '--set-mail-params' '--smtpauth' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1071
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(989): util_exec('mailmng', Array, Array, 'lst', NULL)
#1 /usr/local/psa/admin/plib/mail/Manager.php(162): smart_exec('mailmng', Array, Array, 'lst')
#2 /usr/local/psa/admin/plib/mail/Manager.php(220): mail_Manager::execWithException('smart_exec', 'mailmng', Array, Array, 'lst')
#3 /usr/local/psa/admin/plib/mail/Manager.php(182): mail_Manager->callMailManager('set-mail-params', Array)
#4 /usr/local/psa/admin/plib/mail/Manager.php(465): mail_Manager->callMailMngWithException('set-mail-params', Array)
#5 /usr/local/psa/admin/plib/mail/AbstractFacade.php(1237): mail_Manager->setRelayType(2, false)
#6 /usr/local/psa/admin/htdocs/server/mail.php3(252): mail_AbstractFacade->setRelayType(2, false)
#7 /usr/local/psa/admin/htdocs/server/mail.php3(170): htdocs_server_mail_safeSetRelayType(Array, 'smtp_auth', 'Unable to set u...', 2)
#8 /usr/local/psa/admin/htdocs/plesk.php(61): require('/usr/local/psa/...')
#9 {main}
 
Hi,

I also tested manually, with no errors an command line. But account did not work.
Then I upgraded to MU #31, and the problem has gone.
At least this one :)
Just in case, I also deactivated atomic yum repository.

Thanks!
 
SOLVED:

The issue was:

Log from sw-cp-server/error_log:

"-":9: premature EOF
errors in crontab file, can't install.
mailmng[17603]: Failed to set new crontab for user 'root'
...

This means no new line added in crontab file!!!!!!! We edited file and put from hand new line. After saving file everything works.

1. How ist it possible because we added/managed cron jobs only through Plesk? It should manage this file properly. We didn't edit this file from hand.

2. Why try this script to wrote something in crontab file???? It didn't NOTHING in crontab file after succesfull job but break everything because this error.

It was stupid issue made through badly wrotten script. We lost so much times searching solution.

Igor please forward to develpers to check this and prevent something. it's more unnecessery work for all of us.
 
Hi,


I still have the same problem : "symbol EVP_CIPHER_CTX_init, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference".

My version is 11.0.9 update 38... My OS version is Ubuntu 10.04.4 LTS.

Can you help me ?


Thanks.
 
Any solution ? It's urgent..

My version is 11.0.9 update 38, it should be fixed at least update 23...


Thanks for your help.
 
Back
Top