Error while creating new account in WHM

EstebanC

Member
Jul 1, 2007
9
0
51
When I create a new account in WHM:

"an error occurred while processing this directive"

And WHM gives to me the user, pass, and the rest of details of the new web hosting account.

If I try to access to the url of the new account:

Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at trabajoencasa.hostearte.com Port 80
And the directories of the new account are this:


[email protected] [/home/kachapuf]# ls -la
total 3
drwx------ 2 root root 1024 Mar 23 15:52 ./
drwx--x--x 113 root root 2048 Mar 23 15:52 ../
---------- 1 root root 0 Mar 23 15:52 .bash_logout

and if from SSH I do:

pico /usr/local/cpanel/logs/error_log



tar: ./public_html: Cannot mkdir: Permission denied
tar: ./public_ftp: Cannot mkdir: Permission denied
tar: .: Cannot utime: Operation not permitted
tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: Error exit delayed from previous errors
edquota: Cannot set quota for user 32112 from kernel on /dev/vzfs: No such process
edquota: Can't write quota for 32112 on /dev/vzfs: No such process
(internal warning while parsing [stdin]) Sun Mar 23 16:08:20 2008 [18017] warn: safe_userchgid: chown: /home/kachapuf/public_html: Permission denied at /usr/local/cpanel/Cpanel/SafetyBits.pm line 76.
Cpanel::SafetyBits::safe_userchgid(32112, 99, '/home/kachapuf/public_html') called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 740
Whostmgr::Accounts::Create::_wwwacct('plan', 'free', 'maxpark', 0, 'hasshell', 'n', 'maxlst', 'n', ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1431
Whostmgr::Accounts::Create::_createaccount('customip', '--Auto Assign--', 'plan', 'free', 'maxpark', 0, 'password', 'testeando', ...) called at whostmgr/bin/whostmgr.pl line 3182
main::wwwacct called at whostmgr/bin/whostmgr.pl line 446

I will appreciate any help that you could give me :)

Thanks!
 

consultorpc

Well-Known Member
PartnerNOC
Jun 18, 2003
51
0
156
If you use a OpenVZ VPS try to increase QUOTAUGIDLIMIT in config file and restart the virtual machine, we have seen this to be a problem in some systems.

Also, you can strace an adduser command to see whats going on.
 

madlady

Registered
May 3, 2008
2
0
51
Same problem, different cause?

I have had this problem for several days,
first of all when creating accounts, I first get 2 identical error messages in a row saying
"an error occurred while processing this directive"
then it 'looks' like the account is getting set up.
However, as with EstebanC's post, I get the access denied page, and no email details entered.
I contacted cpanel, and having looked through my logs, they said that it was a fault of my vps provider, and not the software, because the message of ' Disk quota exceeded' was showing, when there was still 11gb left on the server!
So first we did a temporary downgrade for all unlimited accounts and set a limit of 1000mb at most, and it allowed us to create new accounts for a limited time. But now the problem has returned.
Trouble is, our host does not support the server set up we have - e.g. fedora 6 with cpanel/whm because it's third party software!
I contacted them and explained that cpanel advise it's a problem directly related to the vps host, not the vps or the software on it, and am awaiting a reply so I'll update this if I hear anything back. (I do not have a virtuozzo or parallels container for this server so it's something the host will have to do...hopefully!)
Meantime, if anyone else has had this issue and has fixed it any other way, please do let me know. I'm losing hair over this and so are my resellers! :(

UPDATE. Host has emailed back giving me the following link saying we need to take action on this and it's not a problem their end...hope this helps someone (and me!) - I'll let you know how it goes. Talk about passing the buck lol !!

Here's the link : http://search.cpan.org/~luismunoz/NetAddr-IP-4.007/IP.pm#___top
Will study it now and get back to asap :)

UPDATE AGAIN: OMG this is WAYYYY beyond my knowledge!
I'll re-open my ticket with cpanel and update this post again if they can sort this mess for me :)

UPDATE: Ok so cpanel say its a problem with my hosting company and my hosting company say my server configuration is not supported by them lol. Anyway, a temporary fix for those interested, was to downgrade some packages temporarily so less nodes were used, and I can now at least create new accounts again. Guess I'll have to get another vps and move some sites over :)
 
Last edited: