Linux : Exceeds max allowed packet for MySQL or Got an error reading communication packets

Got the following entry in your mysqld.log or mariadb.log? [Warning] Aborted connection 154669 to db: ‘db_name’ user: ‘db_user’ host: ‘hostname’ (Got an error reading communication packets) This is usually related to the “max_allowed_packet” parameter.  Try increasing the value and see if it persist. 1. Check current parameter for max_allowed_packet: show variables like ‘max_allowed_packet’; Output will… Read More »

Windows : Shared folder access error with security policy block unauthenticared guest access

Getting the following error while accessing a SMB/CIFS shared folder from a Windows client machine? You can’t access this shared folder because your organization’s security policy block unauthenticated guest access. These policies help to protect your PC from unsafe or malicious devices on the network. After investigating and making sure you want to enable unauthenticated… Read More »

Linux : Email accounts vanished from cPanel

If all of a sudden, all your email accounts in your cPanel vanished for no reason, here is what Look to see if the email account data is still present under the following path : /home/$user/mail/$domain And see if there are folders corresponding to the email account name (folders will be named with whatever preceed… Read More »

JunOS : SFTP connection no longer work after upgrading to v21

If you were running JunOS v20 or lower, recently upgraded to v21 or above and experiencee SFTP connection failure, this is most likely because you are missing the newly introduced “sftp-server” service subsystem statement in your configuration. Indeed, Juniper introduced this feature starting JunOS v21 for security purposes. Looking at the logs : show log… Read More »

Linux : cPanel Exim all hosts for ‘recipientdomain.tld’ have been failing for a long time

If you receive the following bounce back some time after sending an email from your Exim/cPanel SMTP server : all hosts for ‘recipientdomain.tld’ have been failing for a long time (and retry time not reached) Using the “exinext” command, you can have a clear view of the issue : [root@sendersmtpsrv log]# exinext recipientdomain.tld Transport: smtp1.recipientdomain.tld… Read More »