New installation, can't login

Amplificator

Verified User
Joined
Jul 2, 2019
Messages
61
Hi.

I've tried to install DirectAdmin several times but each time it ends up with me not being able to login.
I can access the control panel fine on port 2222 but when I enter my credentials the wheel is just spinning forever.

I'm running latest Cloud Linux - does anyone have suggestions?
 
Of course.

Even if I type some random username it still doesn't show an error. The wheel keeps spinning and then nothing happens.
 
Anything interesting in /var/log/directadmin?

My DA testing server does that sometimes, but lets me in eventually :D
 
/var/log/directadmin/security.log
..gets an entry every time I attempt to login, saying:

2019:07:03-02:02:28: <MY IP> has tried to log in 22 times, unsuccessfully, this time into (null)'s account ***

Is it supposed to say "(null)'s account"?
 
Alright, couldn't post there for a second.

/var/log/directadmin/security.log
..shows this for each time I try to login, no matter the username:

2019:07:03-02:08:00: <MY IP> has tried to log in 23 times, unsuccessfully, this time into (null)'s account ***

That's the only interesting thing?
 
try whitelisting your ip

echo your “what’s my IP address here” > /usr/local/directadmin/data/admin/ip_whitelist

Also you are using the Password given on the screen after install? Not the root password of the box.

if you need a new passwd for admin

passwd admin

should do it.
 
Last edited:
You might check if you have firewalld on.
systemctl disable firewalld
systemctl stop firewalld

 
No luck.

Tried whitelisting my ip, stopping the firewall and changing password for "admin".

Still the same.
 
Do you see the same IP in all lines with failed logins under /var/log/directadmin/security.log ?

The issue might happen when an ISP changes clients IPs during HTTP/HTTPs sessions randomly. If this is the case you will need to disable an IP check:

Code:
/usr/local/directadmin/directadmin set disable_ip_check 1 restart

Another case when you might fail to connect to Directadmin if your server ran out of free disk space under a partition. Check a disk usage in a console.
 
df -h shows plenty of disk space left.

The files you mentioned look fine, can't find anything wrong with them.
 
I have a ticket going on with support.

They can log in just fine, and on my phone I can log in as well.

So it's something with my computer, just can't figure out what. I tried several browsers, no extensions etc.
 
I get this:

Unchecked runtime.lastError: The message port closed before a response was received.
 
..and that error made me think about software that would interrupt the conenction, so I solved it now.

Just a few weeks ago I updated Bitdefender Antivirus to their "Total Security" suite which is a bit more aggressive.
It blocked the connection because it detected that a password was being sent unencrypted, which it was.

I added an exception and now it works fine :)
 
Back
Top