/home/USERNAME/public_html does not exist or is not a directory!

xmachine

Member
Dec 28, 2006
6
0
151
hi when i create a account say this:
/home/USERNAME/public_html does not exist or is not a directory!

if i enter ssh and see the USERNAME the folder exit but dont have any subfolder (public_html, etc)

i use: /scripts/upcp --force and /scripts/fixeverything
but dont work

I update all vps (apache, whm,cpanel, scritps) restart the vps and say the same error.

THIS HAPPEN WITH ALL NEW ACCOUNT THAT I DO.
EXAMPLE:

WWWAcct 10.1 (c) 1997-2006 cPanel, Inc.

Using Delegated Ips List!
+===================================+
| New Account Info |
+===================================+
| Domain: ve.com
| Ip: 0.0.0.0
| HasCgi: y
| UserName: vec
| PassWord: 12345
| CpanelMod: x
| HomeRoot: /home
| Quota: 500 Meg
+===================================+
Changing password for vec
Password for vec has been changed
Removing Shell Access (n)
Changing shell for vec.
Shell changed.
Copying skel files from /home/whm-user/cpanel3-skel/ to /home/vec/
Using Quota v3 Support
Added Entries to httpd.conf
Bind reconfiguring on fst using rndc
Added Named File
/home/vec/public_html does not exist or is not a directory!

Restarting apache
Updating ftp passwords for vec
Ftp password files updated.
Ftp vhost passwords synced
Notification => [email protected] via EMAIL [level => 3]
wwwacct creation finished
Account Creation Complete!!!
-------------------------------------------------------------------PART2
the support make a Reinstall of the all VPS, i NO change nothing in the config of the VPS, only now create all my customers accounts, and now in account #22 and next say this same errorl
WHYYYYYYYYYYYYY

I list the /HOME directory, i unknow why the new account that have the problems have other user and chmod?

drwx--x--x 7 aldeaint aldeaint 1024 Dec 29 19:34 aldeaint/ ---> Account with problem
drwx------ 2 root root 1024 Dec 29 20:10 araguahi/ ---> Account with problem
drwx--x--x 7 blacksab blacksab 1024 Dec 29 19:51 blacksab/
drwx--x--x 7 clanfmk clanfmk 1024 Dec 29 19:50 clanfmk/
drwx--x--x 7 cmqlatr cmqlatr 1024 Dec 29 19:51 cmqlatr/
drwxr-xr-x 3 root root 1024 Dec 29 10:02 cpins/
drwx--x--x 7 djsindah djsindah 1024 Dec 29 19:51 djsindah/
drwx--x--x 7 estudios estudios 1024 Dec 29 19:51 estudios/
drwx------ 2 root root 1024 Dec 29 19:53 fosidemo/ ---> Account with problem
drwx--x--x 7 garranar garranar 1024 Dec 29 19:34 garranar/
drwx--x--x 7 gestudio gestudio 1024 Dec 29 21:24 gestudio/
drwx--x--x 7 gonzalod gonzalod 1024 Dec 29 19:51 gonzalod/
drwx--x--x 7 hieloelg hieloelg 1024 Dec 29 19:34 hieloelg/
drwx--x--x 7 ideafor ideafor 1024 Dec 29 19:34 ideafor/
drwx------ 2 root root 1024 Dec 29 19:48 ilfonsi/ ---> Account with problem
drwx--x--x 7 infoavia infoavia 1024 Dec 29 19:51 infoavia/
drwx--x--x 7 inversio inversio 1024 Dec 29 19:51 inversio/
drwx--x--x 7 ivaejco ivaejco 1024 Dec 29 21:09 ivaejco/
drwx--x--x 7 melodias melodias 1024 Dec 29 20:14 melodias/
drwx--x--x 7 notinews notinews 1024 Dec 29 19:51 notinews/
drwx--x--x 7 olticom olticom 1024 Dec 29 19:51 olticom/
drwx------ 2 root root 1024 Dec 29 20:17 probando/ ---> Account with problem
drwx--x--x 7 saludoc saludoc 1024 Dec 29 19:51 saludoc/
drwx--x--x 7 sanjuand sanjuand 1024 Dec 29 19:50 sanjuand/
drwx------ 2 root root 1024 Dec 29 20:08 sfenterp/ ---> Account with problem
drwx--x--x 8 sierralt sierralt 1024 Dec 29 21:26 sierralt/
drwx------ 2 root root 1024 Dec 29 19:49 skatoxc/ ---> Account with problem
drwxr-xr-x 2 testuser testuser 1024 Dec 29 21:22 userfolder/
drwx------ 2 webadmin webadmin 1024 Nov 16 13:01 webadmin/
drwx--x--x 21 xmachin xmachin 1024 Dec 29 21:25 xmachin/
drwx------ 2 root root 1024 Dec 29 20:37 zuliaven/ ---> Account with problem
drwx------ 2 root root 1024 Dec 29 20:02 zulvec/ ---> Account with problem
drwx------ 2 root root 1024 Dec 29 20:04 zulvecom/ ---> Account with problem
 

nvez

Active Member
PartnerNOC
Jul 17, 2006
40
0
156
There seems to be one different thing that all the accounts who don't work are owned by root which could explain it.

Have you created the directories before cPanel did them? If you did, try erasing them, deleting the account from cPanel and trying to recreate a new account with a different username, preferably.
 

xmachine

Member
Dec 28, 2006
6
0
151
All directori is create for WHM,
i terminate the accounts
delete manual:rs -rf directori in ssh,
i create newly and say the same error,
and i no change the config in the vps:(
 

nvez

Active Member
PartnerNOC
Jul 17, 2006
40
0
156
Did you create a new account with a different username as I said above?
 

nvez

Active Member
PartnerNOC
Jul 17, 2006
40
0
156
Could you post the contents of
Code:
ls -al /home/whm-user/cpanel3-skel/
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
If you're having problems creating accounts check /usr/local/cpanel/logs/error_log at the time for additional error information incase you're missing perl modules, etc. Obviously, make sure /home exists and has the correct permissions/ownership on it.
 

xmachine

Member
Dec 28, 2006
6
0
151
[email protected] [/home]# ls -al /home/xmachin/cpanel3-skel/
total 4
drwxr-xr-x 4 xmachin xmachin 1024 Sep 10 00:02 ./
drwx--x--x 21 xmachin xmachin 1024 Dec 31 06:23 ../
drwxr-xr-x 2 xmachin xmachin 1024 Jun 1 2006 public_ftp/
drwxr-xr-x 3 xmachin xmachin 1024 Sep 18 12:46 public_html/
[email protected] [/home]#


And why say this:

thanks my friends


chirpy i install you explorer script congratulations is good, with you explorer i try edit the user/group and permi. i can edit the perm have the 0755 i chage 0711 (all goods accounts have this) but i can cange the user/group, say Operation Failed - Disk quota exceeded
why
check screenshot: http://img209.imageshack.us/my.php?image=erreuh3.jpg
 
Last edited:

xmachine

Member
Dec 28, 2006
6
0
151
error.log

proftpd: no process killed
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
tar: ./public_html: Cannot utime: Operation not permitted
tar: ./public_html: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: ./public_ftp: Cannot utime: Operation not permitted
tar: ./public_ftp: Cannot change mode to rwxr-xr-x: Operation not permitted
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 32033 from kernel on /dev/vzfs: No such process
edquota: Can't write quota for 32033 on /dev/vzfs: No such process
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
sh: line 0: export: `=': not a valid identifier
sh: line 0: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin': not a valid identifier
 
Last edited: