When executing easyapache, if the error- 'httpd' is disabled via '/etc/apachedisable', please re-enable to continue. To fix this, Enable httpd in Service Manager.
cPanel version 11.44 uses MySQL version 5.5 as the default MySQL version. If the cPanel version is upgraded keeping the MySQL version as 5.1, the above error pop up when accessing phpMyAdmin in cPanel. Both MySQL 5.0 and 5.1 are end of life as per cPanel and , so this message pop up, but MySQL works with this latest version. To get rid of this message, upgrade MySQL version.
If you find issues with the /tmp partition showing fs error, this would require recreation of /tmp partition. Also, there may problem with the partition /tmp is too small while linux server setup. Sometimes this is very annoying because if there is a service that requires /tmp and found the partition /tmp is full so the service can not run normally. Follow the steps to increase the size of /tmp partition.
/etc/init.d/cpanel stop /etc/init.d/httpd stop /etc/init.d/lsws stop /etc/init.d/mysql stop Umount /tmp and /var/tmp. If you’re unable to do this you can run this command lsof |grep /tmp you will see what processes are still writing and you can kill them: kill -9 PID. Then do umount -l /tmp umount -l /var/tmp If you get the error as "Device busy, open the fstab and hash (#) the entries associated with /tmp, and reboot the server. Once reboot , type the command df -h, you could see that the tmp partition has vanished. Now, move /usr/tmpDSK file to another location mv /usr/tmpDSK /usr/tmpDSK_back Modify /scripts/securetmp to set tmpdsksize to desired size: vi /scripts/securetmp $tmpdsksize = 2048000(This is 2GB) Run this script to recreate /tmp /scripts/securetmp Start cpanel, apache (litespeed), mysql services: /etc/init.d/cpanel start /etc/init.d/httpd start /etc/init.d/lsws start /etc/init.d/mysql start Now, type df -h, you could find /tmp partition with 2GB size. Done When you come across the above error, follow the below steps,
Open the file "/etc/wwwacct.conf". After that , check the section HOST If email redirection is not working, check the email logs, and if found the logs as below,
=-=- F=<[email protected]> temporarily rejected RCPT <test@externaldomains.com>: failed to open /etc/valiases/domain.com for linear search: Permission denied (euid=47 egid=12) If you see the above error, check the permission of "/etc/vfilters/domain.com" . Also check the permission of , /etc/valiases/domain.com . It should be in the form of, -rw-r----- 1 user mail 353 Oct 10 2012 /etc/vfilters/litzsinger.org Done. When you check apache syntax, using
=--==-=- httpd -t -=-==- you get the above warning. This can be fixed by following the below steps, =-=-=-=- WHM => Service Configuration => Configure PHP and SuExec => Apache suEXEC = On. =--= If it is already on, change to "Off" save the configuration, change to "On" and save the configuration. Now check the syntax, httpd -l The warning will be vanished. Done. IMAPCopy
IMAPCopy is a small command line tool to copy messages for multiple users from one imap server to another root@cPanel1 [~]# cd /opt/ root@cPanel1 [/opt]# wget http://home.arcor.de/armin.diehl/imapcopy/imapcopy.tar.gz root@cpanel1 [/opt]# tar -xvf imapcopy.tar.gz imapcopy/ imapcopy/imapcopy imapcopy/ImapCopy.cfg root@cpanel1 [/opt]# cd imapcopy root@cpanel1 [/opt/imapcopy]# ll total 956 drwxr-xr-x 2 ihrblche cpanellogin 4096 Jul 18 2009 ./ drwxr-xr-x 29 root root 4096 Nov 28 05:38 ../ -rwxr-xr-x 1 ihrblche cpanellogin 955681 Jul 18 2009 imapcopy* -rw——- 1 ihrblche cpanellogin 2527 Jul 18 2009 ImapCopy.cfg Edit ImapCopy.cfg under the “Sourceserver” section give the source server IP/Hostname and IMAP port. Then under the “Destinationserver” section give the Plesk server IP/Hostname and IMAP port. Last you can see the section “List of users and passwords”. Here you have to specify the email address and password details. ############## # Sourceserver ############## SourceServer localhost SourcePort 143 ################### # Destinationserver ################### DestServer 216.70.XXX.XXX DestPort 143 ############################# # List of users and passwords ############################# # SourceUser SourcePassword DestinationUser DestinationPassword Copy “test1admin@domain” “o0Jj9t_6″ “test1admin@domain” “o0Jj9t_6″ Before starting the email migration you can test the working. If you find any connection issues, correct it and then you can start the migration. Login on sourceserver as test1admin@domain OK Login on destinationserver as test1admin@wdomainm OK Getting folderlist on sourceserver OK, found 5 folder 1 User processed, 0 Messages copied, 0 Error(s) 0 Folder(s) created, 0 Folder create errors, 0 Folder not copied After testing you can start the migration by executing imapcopy root@cpanel1 [/opt/imapcopy]# ./imapcopy Login on sourceserver as test1admin@domain OK Login on destinationserver as test1admin@domain OK Getting folderlist on sourceserver OK, found 5 folder Getting List of messages in “INBOX” OK, 0 Messages found Getting List of messages in “INBOX.Drafts” OK, 0 Messages found Getting List of messages in “INBOX.Sent” OK, 0 Messages found Getting List of messages in “INBOX.Trash” OK, 0 Messages found Getting List of messages in “INBOX.Junk” OK, 0 Messages found 1 User processed, 0 Messages copied, 0 Error(s) 0 Folder(s) created, 0 Folder create errors, 0 Folder not copied You can edit the account from WHM as follows
WHM Main >> Account Functions >> Modify an Account , Here you can set the Counts Max Parked Domains and Max Addon Domains Webmail was rejecting logins and while checking cpanel error logs, got the following.
========= cphulkd rejected registration attempt for webmaild with: 400 Unable to connect to database backend: Failed to connect to mysql db: cphulkd ======== The issue was with cphulk in the server. While trying to check cphulk via WHM, it showed the following warning. ======== Mysql is currently disabled. To enable mysql go to: Service Manager Once there check Enable and Monitor for mysql. Then at the bottom of the page click save. ======== Solution : 1. Try to uncheck > save > re-check > save mysql service from WHM >> Service Configuration >> Service Manager. If same error exists then repair cPHulk database 2. Use following command # mysqlcheck -c cphulkd # mysqlcheck -r cphulkd 3. If still problem persists, just execute the below command # /usr/local/cpanel/bin/hulkdsetup |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2014
Categories |