2 of 1 accounts currently exist.

FHR

New member
Joined
Dec 30, 2019
Messages
4
Hi,

I tried creating a new user and - as expected given my license level (Personal), it errored out.

However, it completely locked the panel. I can't do anything useful, as I always get this error message:
License limits exceeded
2 of 1 accounts currently exist.

"Show All Users" under "Admin" seems to suggest that only one user exists - "admin". Looking into various files like "show_all_users.cache", it also seems like there's only one user present.

I tried:
- Resetting the license
- Restart the software multiple times
- Relogging-in
- Updating to the latest DA version

To me it seems like a bug with the panel itself.

Kind Regards,
Filip
 

urgido

Verified User
Joined
Oct 28, 2008
Messages
406
Personal license are justo for one user in this case "admin". You need to add your domains under admin's account. (My reply Is based on similar posts that I've seen here).

Regards
 

FHR

New member
Joined
Dec 30, 2019
Messages
4
Yea, except there is only one account according to all available metrics.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,150
I've updated the pre-release binaries to exclude that case. If anyone hits that error, please grab the pre-release (basically just ensure compile time is newer than ~"Compile time: Dec 31 2019 at 12:18:48". (give or take a few minutes)

John
 
  • Like
Reactions: FHR

sirakri

New member
Joined
May 19, 2020
Messages
13
Hello, I have this issue. Can help me?

Me too.

Any help will be greatly appreciated. Been loving DA so far, except for this issue.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,143
Location
LT, EU
Hello, I have this issue. Can help me?
Me too.

Any help will be greatly appreciated. Been loving DA so far, except for this issue.
Do you get "2 of 1 accounts currently exist" error, but have only 1 account in "Show All Users"?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,143
Location
LT, EU
There should be no resellers :) As personal license allows none. So, 1 user in "show all users". May you check /etc/passwd to make sure there are no 'leftover' users there that have domains directory inside their home folder?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,143
Location
LT, EU
It's not a content of /etc/passwd. The question is what is listed there :)
 

sirakri

New member
Joined
May 19, 2020
Messages
13
@smtalk yeah I understand. It is just another command I used (I'm a newbie - the command was from the other thread)

Below is the output of cat /etc/passwd.

Code:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin
systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin
tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin
polkitd:x:998:996:User for polkitd:/:/sbin/nologin
unbound:x:997:995:Unbound DNS resolver:/etc/unbound:/sbin/nologin
sssd:x:996:993:User for sssd:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
chrony:x:995:992::/var/lib/chrony:/sbin/nologin
saslauth:x:994:76:Saslauthd user:/run/saslauthd:/sbin/nologin
named:x:25:25:Named:/var/named:/bin/false
apache:x:993:1000::/var/www:/bin/false
diradmin:x:992:991::/usr/local/directadmin:/bin/false
majordomo:x:991:2::/etc/virtual/majordomo:/bin/false
webapps:x:1000:1001::/var/www/html:/bin/false
mysql:x:990:990::/home/mysql:/bin/false
dovecot:x:989:989::/home/dovecot:/bin/false
cb_plugin:x:988:988::/home/cb_plugin:/bin/false
admin:x:1001:1002::/home/admin:/bin/bash
varnish:x:987:986:Varnish Cache:/var/lib/varnish:/sbin/nologin
nginx:x:986:985::/home/nginx:/bin/false
memcached:x:985:984:Memcached daemon:/run/memcached:/sbin/nologin
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,143
Location
LT, EU
Please check:
Code:
ls -ld /home/*/domains/
ls -ld /var/www/html/domains/
ld -ld /var/www/domains/
ls -ld /root/domains/
 

sirakri

New member
Joined
May 19, 2020
Messages
13
Code:
[[email protected] ~]# ls -ld /home/*/domains/
drwxr-x---. 9 admin access 4096 May 18 22:37 /home/admin/domains/
[[email protected] ~]# ls -ld /var/www/html/domains/
ls: cannot access '/var/www/html/domains/': No such file or directory
[[email protected] ~]# ld -ld /var/www/domains/
ld: cannot find -ld
ld: cannot find /var/www/domains/: No such file or directory
[[email protected] ~]# ls -ld /root/domains/
ls: cannot access '/root/domains/': No such file or directory

Nothing looks suspicious or does it? :/
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,143
Location
LT, EU
I can login to your system to check why it shows 2 accounts there. I'm sure something isn't standard there :) Please PM me access details. It's 2AM here, so, I'll likely check it in the morning.
 
Top