dovecot authentication problem with cphulkd

BasicLink SA

Member
Aug 30, 2011
13
0
51
cPanel Access Level
DataCenter Provider
In the daily logwatch emails from our server I am seeing these errors:

dovecot: Dovecot v1.2.17 starting up (core dumps disabled): 1 Time(s)
dovecot: auth(default): : 14 Time(s)
dovecot: auth(default): Cannot talk to a closed socket: warn: Cpanel::Hulk: 270 Time(s)
dovecot: auth(default): cphulkd rejected registration attempt for dovecot with: -1: 270 Time(s)
dovecot: auth(default): cphulkd rejected registration attempt for dovecot with: 400 Unable to connect to database backend: Failed to connect to mysql db: cphulkd: 14 Time(s)

I've tried a few things to fix this like disabling/enabling cphulk, running the update check but it still happens.

There was a MySQL connction issue but I believe I have resolved that. After a reboot I see one new line in "/usr/local/cpanel/logs/cphulkd_errors.log":
Auth failed for service: dovecot at /usr/local/cpanel/Cpanel/Hulkd/Processor.pm line 91.

In /var/log/maillog I see this:
Sep 8 00:30:06 LINUX64 dovecot: Dovecot v1.2.17 starting up (core dumps disabled)
Sep 8 00:30:15 LINUX64 dovecot: auth(default): cphulkd rejected registration attempt for dovecot with: 500 AUTH FAILED
Sep 8 00:30:15 LINUX64 dovecot: auth(default):

I don't see any related errors in /var/log/messages

Does anyone have any idea what may be happening here?

cPanel v11.30.3.3 on CentOS5.6 on an AppLogic VPS

Thanks,
Stephane
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Stephane,

Please try to re-setup cPHulk with the following command:

Code:
/usr/local/cpanel/bin/hulkdsetup --force
If the password for the database may have changed at some point, this might be causing the errors you are receiving. By setting up the service again, it should clear up the issue if that is the cause.

Thanks!
 

BasicLink SA

Member
Aug 30, 2011
13
0
51
cPanel Access Level
DataCenter Provider
Thanks Tristan, I was looking for something like that.

I ran the command and rebooted the server and I saw the same errors in the logs so it didn't get fixed.

Any other ideas?

Stephane
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The only other idea would be to open up a ticket in WHM > Support Center > Contact cPanel or using the link in my signature. If it isn't that password, then the only other idea would be MySQL overload, but if other MySQL services are able to function and it is only dovecot, then something other than that must be attributing to the errors.