Cpanel Server Account Creation Error

On a Cpanel server, when new account is created, it does not added to the server, WHM just says Account Added, no other info is give.

So i checked Cpanel log at

/usr/local/cpanel/logs/error_log

Found following error

Can’t locate Net/AIM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
. /scripts /scripts /scripts /scripts /scripts /scripts) at
/scripts/cPScript/iContact.pm line 14.
BEGIN failed–compilation aborted at /scripts/cPScript/iContact.pm line 14.
Compilation failed in require at /scripts/wwwacct line 19.
BEGIN failed–compilation aborted at /scripts/wwwacct line 19.

I have installed Net::AIM perl module from cpan

# cpan
> install NET::AIM
> exit
#

Now WHM Account creation working. New accounts are added to WHM. But no DNS entry is added, that is no entry for the domains at /etc/named.conf

So i checked BIND is working or not, it was working fine.

Now i tried adding a domain through SSH with /scripts/wwwacct command

root@shoeserver [/scripts]# ./wwwacct netfreehost.com yujin e9r9r9e 10 x n n n 1 1 1 1 1 1999 n
WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.

Can’t locate Tie/IxHash.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
. /usr/local/cpanel /scripts /usr/local/cpanel /scripts
/usr/local/cpanel /scripts /usr/local/cpanel)
at /usr/local/cpanel/Cpanel/Form.pm line 16.
BEGIN failed–compilation aborted at /usr/local/cpanel/Cpanel/Form.pm line 16.
Compilation failed in require at /usr/local/cpanel/whostmgr/bin/dnsadmin line 23.
BEGIN failed–compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 23.
+===================================+
New Account Info
+===================================+
Domain: netfreehost.com
Ip: 69.46.6.168 (n)
HasCgi: n
UserName: yujin
PassWord: e9r9r9e
CpanelMod: x
HomeRoot: /home
Quota: 10 Meg
NameServer1: ns1.shoeserver.com
NameServer2: ns2.shoeserver.com
NameServer3:
NameServer4:
Contact Email:
+===================================+
This ok?

It shows the error. Perl module Tie::IxHash missing.

Installed it with Cpan

# cpan
> install Tie::IxHash
> exit

Now everything is working fine.


Posted in Uncategorized. Bookmark the permalink.

  • 7 Key Ingredients for Rock Solid ftp hosting Website Hosting By: Michael Turner Every website needs a great ftp hosting web host, however when you are looking online for a host you may be overwhelmed with the wide variety…

  • Hello BizH .com, I’ve just been playing Serious Sam 2 before getting down to do some research into imageshack hosting; on the whole I’d rather continue playing. First place I came to was Cpanel Server Account Creation Error so I’ve been having a good time reading your blog. There are some ideas that I could maybe incorporate into imageshack hosting to make it more useful. Thank you!