The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

When wecreate a new account, the directories aren't created with ...

Discussion in 'General Discussion' started by nost, Mar 11, 2003.

  1. nost

    nost Well-Known Member

    Joined:
    Jun 19, 2002
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi There,

    I`m currently using :

    WHM 6.0.0
    Cpanel 6.0.0-S109
    RedHat 7.2

    Problem description :

    When we (or reseller) create a new account, the directories aren't created with the proper owner search as :

    - public_html
    - public_ftp
    - www

    ..... because the wwwacct script complains the user does not exist. The is an example of the WHM output on new account creation

    WWWAcct 6.0 by J. Nick Koston

    +===================================+
    | New Account Info |
    +===================================+
    | Domain: testdroit2.com
    | Ip: xx.xx.xx.xx (y)
    | HasCgi: y
    | UserName: mydroit
    | PassWord: 538rnc
    | CpanelMod: bonbon
    | HomeRoot: /home
    | Quota: 15 Meg
    | NameServer1: ns1.xxxx.xxx| NameServer2: ns2.xxxx.xxx| NameServer3:
    | NameServer4:
    +===================================+
    User mydroit added
    Removing Shell Access
    chsh: user "mydroit" does not exist.
    Usage: editquota at /scripts/editquota line 12.
    chown: `mydroit:root': invalid user
    chown: `mydroit:root': invalid user
    chown: `mydroit': invalid user
    chown: `mydroit:root': invalid user
    chown: `mydroit:root': invalid user
    chown: `mydroit:root': invalid user
    chown: `mydroit:root': invalid user
    chown: `mydroit:mail': invalid user
    Adding Name Virtual Host Entry
    Added Entries to httpd.conf (ip)
    chown: `mydroit:mail': invalid user
    chown: `mydroit:mail': invalid user
    Adding Proftpd conf entry
    Added DomainAlias Entry
    Added Named Entry
    Added Named File
    Restarting NameServer
    Restarting apache
    Restarting proftpd
    Syntax Mismatch
    Invalid Username.
    send to CONTACTEMAIL (3) [3]
    skip CONTACTUIN (2) [3]
    Ftp Password Files synced
    wwwacct creation finished
    Account Creation Complete!!!
    Vhost Passwords synced

    We have to change the directory owner manually by SSH :

    root@jour [/home/mydroit]# ls -l
    total 24
    drwx--x--x 5 mydroit mydroit 4096 Mar 11 14:54 ./
    drwxr-xr-x 384 root root 8192 Mar 11 14:54 ../
    drwxr-x--- 2 mydroit mail 4096 Mar 11 14:54 mail/
    drwxr-x--- 3 root root 4096 Mar 11 14:54 public_ftp/
    drwxr-xr-x 3 root root 4096 Mar 11 14:54 public_html/
    lrwxrwxrwx 1 root root 11 Mar 11 14:54 www -> public_html/

    A ticket have been send to the Cpanel Team, We are the only one with this problem ?

    Regards,

    Dany Boucher
     
  2. ccccanada

    ccccanada Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    Hello!

    I had a similar problem the other day but as soon as i updated apache as sugested in the WHM news most of my problems where no more.

    Check to see if you have a message like Update Apache in the WHM News and if yes then run /scripts/easyapache in SSH.
     
  3. nost

    nost Well-Known Member

    Joined:
    Jun 19, 2002
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi there,

    Nope, we have the lastest version ... but thank for your help :)

    Regards,

    Dany Boucher
     
  4. nost

    nost Well-Known Member

    Joined:
    Jun 19, 2002
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi there,

    /scripts/upcp already done .. 2 times today ... and still have the same problem :

    User testme added
    Removing Shell Access
    chsh: user "testme" does not exist.
    Usage: editquota at /scripts/editquota line 12.
    chown: `testme:root': invalid user
    chown: `testme:root': invalid user
    chown: `testme': invalid user
    chown: `testme:root': invalid user
    chown: `testme:root': invalid user
    chown: `testme:root': invalid user
    chown: `testme:root': invalid user
    chown: `testme:mail': invalid user
    Adding Name Virtual Host Entry
    Added Entries to httpd.conf (ip)
    chown: `testme:mail': invalid user
    chown: `testme:mail': invalid user

    etc ....

    I'm still waiting the solution from cpanel team

    Regards,

    Dany Boucher
     
Loading...

Share This Page