ClientDeleteProhibited

A ClientDeleteProhibited status code is assigned to a domain name by the Registrar when the domain name is locked. The ClientDeleteProhibited status code tells the Registry to reject requests to delete the domain, except in cases where the domain has expired. Domains with the EPP status code “ClientDeleteProhibited” are included in the zone files and can be updated, transferred, and renewed.

ClientHold

A ClientHold status code is assigned to a domain name by the Registrar, most commonly for non-payment. Domains with the EPP status code “ClientHold” are not included in the zone files, but can still be updated, transferred, deleted, or renewed.

ClientRenewProhibited

A ClientRenewProhibited status code is assigned to a domain name by the Registrar. The ClientRenewProhibited status code means that a domain name cannot be explicitly renewed. Domains with the EPP status code “ClientRenewProhibited” are included in the zone files and can be updated, transferred, or deleted.

ClientTransferProhibited

A ClientTransferProhibited status code is assigned to a domain name by the Registrar when the domain name is locked. The ClientTransferProhibited status code tells the Registry to reject requests to transfer the domain from one Registrar to another. Domains with the EPP status code “ClientTransferProhibited” are included in the zone files and can be updated, deleted, and renewed.

Client-Xfer-Prohibited

A Client-Xfer-Prohibited status code is assigned to a domain name by the Registrar when the domain name is locked. The Client-Xfer-Prohibited status code tells the Registry to reject requests to transfer the domain from one Registrar to another. Domains with the EPP status code “Client-Xfer-Prohibited” are included in the zone files and can be updated, deleted, and renewed.

ClientUpdateProhibited

A ClientUpdateProhibited status code is assigned to a domain name by the Registrar when the domain name is locked. The ClientUpdateProhibited status code tells the Registry to reject requests by the Registrar to update name servers, update auth codes, or sync the domain. The status code cannot be updated until the Registrar removes the ClientUpdateProhibited status code. Domains with the EPP status code “ClientUpdateProhibited” are included in the zone files and can be transferred, deleted, and renewed, once this status is removed.

Hold / ServerHold

A Hold / ServerHold status code is assigned to a domain name by the Registry. The Hold / ServerHold status code means that a domain name has been deleted from the DNS, most commonly for a financial, legal, or operational reason. Domains with the EPP status code “Hold / ServerHold” are not included in the zone files.

OK

An OK status code is assigned to a domain name when it is initially registered. Domains with an OK status code are included in the appropriate zone files so long as there are name servers associated with the domain name. Domains with the EPP status code “OK” can be updated, transferred, or renewed by the Registrar.

PendingDelete

A PendingDelete status code is assigned to a domain name by the Registry after the domain name has had a RedemptionPeriod status code for a period of 30 days. The PendingDelete status code lasts for a period of 5 days and it cannot be restored. Domains with the EPP status code “PendingDelete” are not included in the zone files.

PendingRestore

A PendingRestore status code is assigned to a domain name by the Registry if the Registrar has issued the EPP Restore command when the domain was previously assigned the RedemptionPeriod status code. A domain will have the PendingRestore status code for a period of 7 days, during which the Registrar must send a Restore report to the Registry through the Registrar Tool or the EPP Protocol. If the Registry receives the submitted Restore report within the 7-day period, the domain name will be moved to an “OK” status. If the Registry does not receive the Restore report within the 7-day period, the domain is moved back to a RedemptionPeriod status code and will remain there for 30 days. Domains with the EPP status code “PendingRestore” are included in the zone files.

RedemptionPeriod

A RedemptionPeriod status code is assigned to a domain name by the Registry if the domain is deleted 5 days after the Create Grace Period. When a domain name has a RedemptionPeriod status code, it will remain in this status for a period of 30 days, unless the Registrar issues a Restore command. Any other EPP commands issued by a Registrar, other than the Restore command, will fail when a domain has a RedemptionPeriod status code assigned to it. Domains with the EPP status code “RedemptionPeriod” are not included in the zone files.

ServerDeleteProhibited

A ServerDeleteProhibited status code is assigned to a domain name by the Registry as a method of locking the domain. The ServerDeleteProhibited status code means that the domain cannot be deleted from the Registry. Domains with the EPP status code “ServerDeleteProhibited” are included in the zone files and can be updated, transferred, and renewed.

ServerRenewProhibited

A ServerRenewProhibited status code is assigned to a domain name by the Registry. The ServerRenewProhibited status code means that a domain name cannot be renewed. Domains with the EPP status code “ServerRenewProhibited” are included in the zone files and can be updated, transferred, or deleted.

ServerTransferProhibited

A ServerTransferProhibited status code is assigned to a domain name by the Registry as a method of locking the domain. The ServerTransferProhibited status code means that the domain cannot be transferred from one Registrar to another. Domains with the EPP status code “ServerTransferProhibited” are included in the zone files and can be updated, deleted, and renewed.

ServerUpdateProhibited

A ServerUpdateProhibited status code is assigned to a domain name by the Registry as a method of locking the domain. The ServerUpdateProhibited status code tells the Registry to reject requests to update name servers, update auth codes, or sync the domain. Domains with the EPP status code “ServerUpdateProhibited” are included in the zone files and can be transferred, deleted, and renewed, once this status is removed.

Active

An Active status code is assigned to a domain name when it is initially registered. Domains with an Active status code are included in the appropriate zone files so long as there are name servers associated with the domain name. Domains with the EPP status code “Active” can be updated, transferred, or renewed by the Registrar.

autoRenewPeriod

An autoRenewPeriod status code is assigned to a domain name by the Registry when the domain is automatically renewed by the Registry on it.s expiration date. This occurs when the registry has not received an explicit renewal or delete command by the Registrar prior to expiration. A domain with an autoRenewPeriod status code can be deleted by the Registrar within 45 days for a credit of the renewal fee. Domains with the EPP status code “autoRenewPeriod” can be updated or deleted.

ClientLock

A ClientLock status code is assigned to a domain name by the Registrar when the domain is locked. The ClientLock status code tells the Registry to reject any request to update name servers, transfer, or delete the domain. The status code cannot be updated until the Registrar removes the ClientLock status code.

Inactive

An Inactive status code is assigned to a domain name by the Registry when the domain name has no delegated name servers. It may also be assigned to host or contact that is not associated with any domain names.

Lock / ServerLock

A Lock / ServerLock status code is assigned to a domain name by the Registry when the domain name is locked. The Lock / ServerLock status code tells the Registry to reject any requests to transfer, renew, or delete the domain. The status code cannot be updated until the Registry removes the Lock / ServerLock status code. Domain names that are currently involved in Sunrise or other domain disputes may be locked depending on the Registries policies.

PendingCreate

A PendingCreate status code is assigned to a domain name by the Registry after the domain name registration has been submitted, but is not yet complete.

PendingTransfer

A PendingTransfer status code is assigned to a domain name by the Registry when the domain name is in the process of being transferred from one Registrar to another.

PendingUpdate

A PendingUpdate status code is assigned to a domain name by the Registry when the domain name is in the process of being updated, but it is not yet complete.

Wednesday, January 22, 2014

Typically accounts are migrated from Plesk, Ensim, or DirectAdmin by using WHM >> Copy an Account From Another Server (or Copy Multiple Accounts/Packages From Another Server). There are times when this may not work. For example:

Network connectivity between the source and destination servers may be poor, causing the migrations scripts to timeoutThere may be outstanding bugs in the migrations scripts which can only be resolved by migrating manuallyMigrating accounts manually is a surprisingly simple task. All that needs to be done are the following:

Populate /etc/trueuserdomains on the source serverPackage an account of your choice into a single fileCopy the packaged account to the cPanel serverRestore the account on the cPanel server

1. On the source server (e.g., Plesk, Ensim, or DirectAdmin), download the script that builds the list of accounts at /etc/trueuserdomains:

Code:# ./updateuserdomains-universalNow there should be a plain text file at /etc/trueuserdomains that contains a list of accounts that can be packaged.

4. To package an account, select a user from /etc/trueuserdomains (we'll use "alice" in the example below), and run the pkgacct file that you downloaded in the previous steps (we'll use 'pkgacct-pXa' for Plesk from this point forward. If you are using Ensim, you would execute pkgacct-enXim, and if you are using DirectAdmin, you would use pkgacct-da):

Code:# ./pkgacct-pXa aliceThis will package the entire account to a single file here:/home/cpmove-alice.tar.gz

The amount of time that this process takes will depend on the size of the account. I would strongly advise running the "screen" command before packaging (and restoring) accounts. This will allow the package/restore processes to continue even if you get disconnected from the server.

Also, if the /home directory is too small, you can specify which partition to use like this:Code:# ./pkgacct-pXa alice /disk1where "/disk1" is only an example, and likely does not exist on your server. If it did, and if you ran that command, then you would end up with a file here:

/disk1/cpmove-alice.tar.gz5. Copy the archive to the new server by running this from the source server:Code:# scp /home/cpmove-alice.tar.gz root@x.x.x.x:/homeor, run this from the cPanel server:Code:# cd /home# scp root@x.x.x.x:/home/cpmove-alice.tar.gz .6. On the cPanel server, after running "screen" (if you choose to use screen), run these commands to restore the account:

Code:# cd /home# /scripts/restorepkg cpmove-alice.tar.gzNote that you can remove the /home/cpmove-${USER}.tar.gz files as soon as you are done with them if you'd like. This can help to free up some space on the /home partition.

If anyone has any questions, please feel free to let us know.

Don't forget that cPanel has a migrations team that can do all of this for you - for completely free! See my signature below to open a ticket on our helpdesk or head over to http://cpanel.net/migrate and we can schedule a migration for you.

Tuesday, January 21, 2014

If there is a requirement for MsSQL extension on cPanel/WHM server, you need to install it manually by following the steps listed below.

You need to install a few modules before installing the MsSQL extension.

1. unixODBC

2. freeTDS

3. mssql.so

Do not use rpms as it will show lots of dependency errors. Better download the source file and compile it.

Install unixODBC package

1. Get the source from here

2. tar -xvf unixODBC-2.2.12.tar.gz

3. Now use the following command to configure.

./configure -prefix=/usr/local -enable-gui=no

Please note that if you use enable-gui option as yes and dont have Qt package, you will get the error. So make sure you use it as no.

4. make

5. make install

Install freeTDS package

1. Download from ftp://ftp.freetds.org/pub/freetds/old/0.82/freetds-0.82.tar.gz (Note that if you are using a latest version of freetds, sometimes you may get an error while trying to run the configure with unixODBC option. So I have to use an older version 0.82.)

2. tar -xvf freetds-0.82.tar.gz

3. ./configure -with-tdsver=8.0 -with-unixODBC=/usr/local

4. make

5. make install

Configure freeTDS

1. Locate the freetds.conf and add the following entries.

[MSHOSTNAME]host = MSHOSTNAMEport = 1433tds version = 8.0

Generating mssql.so

In cPanel servers the extensions are located at /home/cpeasyapache/src/php-x.x.x/ext. Navigate to the above directory and then to mssql directory.

cd /home/cpeasyapache/src/php-x.x.x/ext/mssql

phpize./configuremakemake install

The above commands will generate a copy of mssql.so in the installed extensions directory. Check and make sure that mssql.so is there and add the following to php.ini

extension=”mssql.so”

Restart httpd and check the modules using the following command.

php -m | grep mssql

or

You can create a phpinfo page with the following contents and search for mssql.