Pages

Monday, March 25, 2013

Moving Accounts in cPanel: A Simple Guide

Sometimes, you might need to move a cPanel account from one part of your server's storage to another. This is often done to balance disk space usage or improve performance. cPanel provides a straightforward tool called "Rearrange an Account" to help you do this.


HOW TO MOVE AN ACCOUNT

Moving an account is a simple process within your cPanel/WHM interface.

  1. Log in to WHM: Access your WebHost Manager (WHM) panel.

  2. Navigate to Account Functions: In the WHM menu, find and click on "Account Functions."

  3. Select "Rearrange an Account": Within "Account Functions," choose the "Rearrange an Account" option.


STEPS FOR REARRANGING AN ACCOUNT

Once you are on the "Rearrange an Account" page, follow these steps:

  1. Select the Account: You'll see a list of all your cPanel accounts. Find the one you want to move. You can also use the "Account Search" feature to quickly locate an account by its domain name or username.

  2. Initiate Rearrangement: After selecting the account, click the "Rearrange" button.

  3. Choose the New Drive: A menu will appear, showing the available hard drives or partitions on your server. Select the drive where you want to move the account.

    Important Note: For this feature to work, the destination hard drive must be set up correctly in your cPanel/WHM configuration. Specifically, it needs to match the /home setting in the "Basic cPanel & WHM Setup" configuration. For example, if your primary home directory is /home, then other valid locations like /home2 or /newhome can also be used if they are configured similarly. If the hard drive you want to move to doesn't match this configuration, you won't be able to move the account to it, and the feature might even be disabled.

  4. Confirm Move: After selecting the new drive, click the "Move Account" button to start the transfer.


WHAT HAPPENS NEXT?

cPanel will then handle the process of moving all the account's files, databases, and configurations to the new location. The time it takes will depend on the size of the account and your server's speed.


WHY MOVE AN ACCOUNT?

  • Disk Space Management: Distribute accounts more evenly across multiple hard drives to prevent one drive from filling up.

  • Performance Improvement: Move busy accounts to faster drives (e.g., SSDs) if available.

  • Organization: Group accounts logically based on their usage or type.

Saturday, March 23, 2013

How to Install Softaculous on VPS or Dedicated Server with cPanel/WHM?

Step one: cd /usr/local/cpanel/whostmgr/docroot/cgi
Step two: wget -N http://www.softaculous.com/ins/addon_softaculous.php

Step three: chmod 755 addon_softaculous.php
Now go to : WHM > Plugins > Softaculous - Instant Installs and there you go

Friday, March 22, 2013

T=remote_smtp defer (-53): retry time not reached for any host

chech your logs

cd /var/logs

then  more exim_mailing / grep email

you will get the error ,,,,,,,,,,,,,

then try to use the code below to fix the problem

This can be caused by multiple things, however if it happens for each email, it’s likely your exim databases are corrupt; to resolve this you should:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

/scripts/courierup — force
/scripts/eximup –force

If you did that, yet the problem persists, you can either seek professional help, or contact the cPanel support.

References

http://forums.cpanel.net/f43/t-remote_smtp-defer-53-retry-time-not-reached-any-host-72383.html

OR  use below solutions

To solve this issue, you need to

  1. Login to http://gmail.com with the account you use with exim4. It will ask you to login a second time with a captcha… do so

  2. login on all of your machine that use this technique and issue the following command :sudo exim -qff


References

http://blog.mansonthomas.com/2009/04/send-mail-through-gmail-smtp-server.html

 

our ISP is likely blocking your connection via port 25:

[19:25:19 ns313489 root@4396451 ~]cPs# telnet mx1.cpanel.net 25
Trying 208.74.121.68...
telnet: connect to address 208.74.121.68: Connection timed out
[19:34:17 ns313489 root@4396451 ~]cPs# telnet mx2.cpanel.net 25
Trying 208.74.125.122...

[19:40:18 ns313489 root@4396451 ~]cPs# telnet mx1.hotmail.com 25
Trying 65.55.37.120...
telnet: connect to address 65.55.37.120: Connection timed out
Trying 65.55.92.152...
telnet: connect to address 65.55.92.152: Connection timed out


Whereas, it would normally work as such:

~ » telnet mx1.cpanel.net 25
Trying 208.74.121.68...
Connected to mx1.cpanel.net.
Escape character is '^]'.
220-mx1.cpanel.net ESMTP Exim 4.82 #2 Fri, 15 Nov 2013 12:33:33 -0600
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
^]
telnet> quit
Connection closed.

~ » telnet mx1.hotmail.com 25
Trying 65.54.188.94...
Connected to mx1.hotmail.com.
Escape character is '^]'.
220 BAY0-MC2-F9.Bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found athttp://privacy.microsoft.com/en-us/anti-spam.mspx. Fri, 15 Nov 2013 10:47:53 -0800
^]
telnet> quit
Connection closed.

I would suggest contacting your provider to see if they have any restrictions on port 25.