Results 1 to 9 of 9

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

  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    6

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

    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 => q@q.com 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

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    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.

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    6

    Unhappy

    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

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    Did you create a new account with a different username as I said above?

  5. #5
    Member
    Join Date
    Dec 2006
    Posts
    6

    Default

    yes and all new accounts say this error

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    Could you post the contents of
    Code:
    ls -al /home/whm-user/cpanel3-skel/

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    Member
    Join Date
    Dec 2006
    Posts
    6

    Default

    root@server1 [/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/
    root@server1 [/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 by xmachine; 12-31-2006 at 09:51 AM.

  9. #9
    Member
    Join Date
    Dec 2006
    Posts
    6

    Default 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 by xmachine; 12-31-2006 at 09:51 AM.

Similar Threads

  1. Replies: 3
    Last Post: 12-20-2010, 06:46 AM
  2. Replies: 1
    Last Post: 11-14-2010, 04:12 AM
  3. scgiwrap: Unable to find the out the username from the home directory
    By latpanel in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-22-2008, 03:33 PM
  4. Help pls. /home/sananec/public_html does not exist or is not a directory!
    By Micro_Channel in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-16-2006, 11:33 AM
  5. Replies: 4
    Last Post: 04-19-2006, 12:39 PM