Unable to determine usertype for user.conf needs to be repaired

muadib

New member
Joined
Mar 7, 2013
Messages
3
Hi,

one of my user got this error, after i upgraded 1.43.
Checked user.conf, the file and the permissions seems ok:
ls -la /usr/local/directadmin/data/users/username/
total 1128
drwx--x--x 3 diradmin diradmin 4096 Mar 22 18:31 .
drwxr-xr-x 74 diradmin diradmin 4096 Mar 21 13:42 ..
-rw------- 1 diradmin diradmin 1027510 Mar 22 00:10 bandwidth.tally
-rw------- 1 root root 2721 Mar 22 00:10 bandwidth.tally.cache
-rw------- 1 diradmin diradmin 267 Oct 28 11:06 crontab.conf
-rw-r--r-- 1 diradmin diradmin 3689 Mar 22 18:53 DAdminUsage.bytes
drwx--x--x 2 diradmin diradmin 12288 Mar 22 00:10 domains
-rw------- 1 diradmin diradmin 369 Feb 12 15:32 domains.list
-rw------- 1 diradmin diradmin 12862 Mar 22 00:10 du_breakdown.list
-rw-r--r-- 1 diradmin diradmin 0 Feb 12 15:32 ftp.passwd
-rw-r----- 1 diradmin diradmin 41010 Feb 25 10:53 httpd.conf
-rw------- 1 diradmin diradmin 746 Mar 22 18:31 login.hist
-rw------- 1 diradmin diradmin 37 Feb 25 15:32 ticket.conf
-rw------- 1 diradmin diradmin 30 Feb 25 15:32 tickets.list
-rw------- 1 diradmin diradmin 600 Mar 21 14:51 user.conf
-rw------- 1 diradmin diradmin 1479 Mar 6 02:40 user.history
-rw------- 1 diradmin diradmin 15 Feb 25 10:53 user_ip.list
-rw------- 1 diradmin diradmin 251 Mar 22 00:10 user.usage

cat /usr/local/directadmin/data/users/username/user.conf
account=ON
additional_bandwidth=0
aftp=OFF
bandwidth=unlimited
catchall=OFF
cgi=OFF
creator=dzmreseller
cron=ON
date_created=Thu Sep 9 15:28:59 2010
dnscontrol=ON
docsroot=./data/skins/enhanced
domain=domain.com
domainptr=unlimited
[email protected]
ftp=50
ip=94.199.180.147
language=hu
mysql=20
name=username
nemailf=100
nemailml=0
nemailr=50
nemails=100
ns1=ns2
ns2=secdns
nsubdomains=15
package=custom
php=ON
quota=20000
sentwarning=no
skin=enhanced
spam=ON
ssl=OFF
suspend_at_limit=OFF
suspended=no
sysinfo=OFF
username=username
usertype=user
vdomains=25

i read this too, but nothing changed: http://help.directadmin.com/item.php?id=456

User can log in with ftp, all sites and email works, only DA login not works.

Any suggestions? Thank you.

Muadib
 
some more information:
As a reseller:
-i see the user in the user list, but can't see his domains.
-Can't make user backup: "User username has unknown usertype"
-Can't send new random password: "Cannot Execute Command Unknown usertype"

As admin i can't see the user in the user list.
 
Finally i've found the problem. User had a 13 character username. After the updte the max_username_length reseted to 10 chars. The error message should be clear.
 
Back
Top