Login issues: Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8)


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin

Login issues: Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8)Last Modified: Mar 25, 2018, 7:51 pm
If you're logged in, or having issues logging in, where you get booted back to the main login page, and your:

/var/log/directadmin/error.log

shows this error

Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8)

but both IPs are yours, that's likely due to some IP rotating which can happen with proxies, mobile devices, or when a client connection uses both IPv4 and IPv6 interchangeably.

As this IP check is not commonly done with sesion based login, it is considered extra level of security, so you can disable it if you need to by adding:

disable_ip_check=1

to your /usr/local/directadmin/conf/directadmin.conf and restarting directadmin.

Related:
https://www.directadmin.com/features.php?id=443

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST