login/pass problems

crypted

Verified User
Joined
Dec 14, 2004
Messages
7
i pico'ed /usr/local/directadmin/scripts/setup.txt

mysql=DATABASE-NAME
mysqluser=mysql.conf user
mysqlpasswd=mysqp.conf passwd
adminname=admin
adminpass=******** <- password for login

then i ./directadmin reload
but when i type admin and the password to login it says its not the right pass

./directadmin i bad results

./data/admin/services.status written successfully
tickets.list written successfully
*** Error creating Admin User : Can't get a lock on ./data/users/admin/user.usage<br>
<br>
Can't get a lock on ./data/users/admin/domains.list<br>
<br>
Can't get a lock on ./data/users/admin/user.conf<br>
<br>
Can't get a lock on ./data/users/admin/reseller.usage<br>
<br>
Can't get a lock on ./data/users/admin/users.list<br>
<br>
Can't get a lock on ./data/users/admin/reseller.conf<br>
<br>
Can't get a lock on ./data/users/admin/reseller.allocation<br>
<br>
<br>
Error creating user: useradd: group admin exists - if you want to add this user to that group, use -g.
<br>
Cannot find a home directory after the system user creation for admin<br>
The home directory for admin was not created.<br>

*** Unable to write the admin's user files
 
Last edited:
What the hell are you trying to do ? Reinstall DA ??

If you want to change the password, just simply change it by:

passwd admin

:s

setup.txt is only for "first" installation
 
Was this always a problem ? Did you had a user called admin before installing DirectAdmin ?

Looks like the group exists but the user doesn't ? Did you delete it before and then recreated it ?
 
yes i had a user called admin.. but the real username thats in the setup.txt is dadmin which was never created until i ./directadmin i
and it said it worked successfully but i can't login at directadmins 2222 port and i can in ssh

[dadmin@link dadmin]$ ls
domains public_html
[dadmin@link dadmin]$
 
Last edited:
the user that it created on ./directadmin i was dadmin
--
it did it right because i can login as dadmin with the pass in the setup.txt
---
it just wont let me login to direct admin

<./scripts/setup.ini>
mysql=DaSQL
mysqluser=da_admin
mysqlpasswd=********
adminname=dadmin
adminpass=**********

<./conf/mysql.conf>
user=da_admin
passwd=********
 
Last edited:
already did that

----
<./scripts/setup.ini>
mysql=DaSQL
mysqluser=da_admin
mysqlpasswd=********
adminname=dadmin
adminpass=**********

<./conf/mysql.conf>
user=da_admin
passwd=********
-----
i can login threw ssh with the adminname and pass
 
Ok. But still do you have a user admin, with wich you can login in SSH ? If so than login with that username :)

DA Always installs itselfs with user admin and not dadmin, looks like a customization

Edit Wich user is the owner of the files in /usr/local/directadmin
 
Admin username: admin
Admin password: ********
Admin email: admin@localhost
------
again i can login threw ssh but not da
 
I would recommend to reinstall it :) If it never worked

2 Ways:

- Run /usr/local/directadmin/scripts/install.sh

- Or run the setup.sh
 
Do you even get a login screen?

If you don't get a login screen it's likely that either your local ISP blocks traffic on port 2222 (some do; search for threads on these forums) or that your server was installed with some kind of default firewall which doesn't allow connections on port 2222.

Jeff
 
Back
Top