Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2002
    Posts
    49

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

    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. #2
    Member
    Join Date
    Jan 2003
    Posts
    276

    Default

    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.
    www.ccccanada.com
    Web and Server Hosting

  3. #3
    Member
    Join Date
    Jun 2002
    Posts
    49

    Default

    Hi there,

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

    Regards,

    Dany Boucher

  4. #4
    Member
    Join Date
    Jun 2002
    Posts
    49

    Default

    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

Similar Threads & Tags
Similar threads

  1. Automatic set-up of files in newly created directories
    By WebMastermind in forum New User Questions
    Replies: 1
    Last Post: 02-10-2011, 07:33 AM
  2. New Accounts Aren't Being Created Properly
    By Alcan in forum New User Questions
    Replies: 4
    Last Post: 10-14-2010, 06:45 PM
  3. Packages created dont show when new account is being created in WHM-Pls help!!
    By net4hosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-22-2008, 05:24 AM
  4. Subdomain created directories require trailing slash?
    By royli57 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-10-2005, 02:03 AM
  5. Disk Usage - Ignoring directories created with php script
    By justhost in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-25-2004, 09:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube