View Single Post
  #1  
Old 05-18-2018, 02:38 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default Error: <server> attempted to log in but account and password did not match entry

EDIT, added the following information:

Quote:
The reason that I began all this troubleshooting is because my server stopped appearing in the login window of my client and my friend was getting a "timed out" error when trying to connect to the login server.

I am running Windows 10 with a Titanium Client and she is running Windows 7 with a Titanium Client, both fresh installs with the appropriate eqhost.txt. I was able to login to my server many times and then it just stopped. Trying to fix both of our problems, I ran the update script with the server control and that didn't help
I didn't find this in any logs nor did it come up as an error while using the "server_start_with_login.sh"; however, when I ran:


Code:
>$ perl ./server_launcher.pl loginserver
I saw a dark red line flash across my screen:

Code:
<server_name> attempted to log in but account and password did not match the entry in the database
So, I looked in my eqemu_config.json and made sure that the user name and password existed:

eqemu_config.json:

Code:
{
   "server" : {
      "chatserver" : {
         "host" : "",
         "port" : "7500"
      },
      "database" : {
         "db" : "<db_name>",
         "host" : "localhost",
         "password" : "<db_password>",
         "port" : "3306",
         "username" : "<db_username>"
      },
      "mailserver" : {
         "host" : "",
         "port" : "7500"
      },
      "qsdatabase" : {
         "db" : "<db_name>",
         "host" : "localhost",
         "password" : "<db_password>",
         "port" : "3306",
         "username" : "<db_username>"
      },
      "webinterface" : {
         "port" : "9081"
      },
      "world" : {
         "http" : {
            "enabled" : "true",
            "mimefile" : "mime.types",
            "port" : "9080"
         },
         "key" : "<server_key>",
         "loginserver1" : {
            "account" : "",
            "host" : "login.eqemulator.net",
            "legacy" : "1",
            "password" : "",
            "port" : "5998"
         },
         "loginserver2" : {
            "account" : "<server_admin>",
            "host" : "<server_external_IP>",
            "password" : "<server_admin_password>",
            "port" : "5998"
         },
         "longname" : "<server_long_name>",
         "shortname" : "<server_short_name>",
         "tcp" : {
            "ip" : "<server_external_address>",
            "port" : "9001"
         },
         "telnet" : {
            "enabled" : "true",
            "ip" : "0.0.0.0",
            "port" : "9000"
         }
      },
      "zones" : {
         "defaultstatus" : "0",
         "ports" : {
            "high" : "7400",
            "low" : "7000"
         }
      }
   }
}

login.ini:

Code:
[database]
host = localhost
port = 3306
db = <db_name>
user = <db_admin>
password = <db_admin_password>
subsystem = MySQL

[options]
unregistered_allowed = TRUE 
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = <ip_address> 
auto_create_accounts = FALSE 

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = loginserver_server_accounts
world_registration_table = loginserver_world_server_registration
world_admin_registration_table = loginserver_server_admin_registration
world_server_type_table = loginserver_server_list_type
I've tried chaning the options around in login.ini and made sure that the ServerAdminID was '1' and that the username and password were the same as in the config file.

Last edited by spidey1170; 05-18-2018 at 03:07 PM.. Reason: Added & corrected information
Reply With Quote