View Single Post
  #1  
Old 09-09-2019, 06:45 AM
mushko
Fire Beetle
 
Join Date: Aug 2019
Posts: 12
Default UCS and Queryserv: Segmentation Fault

I recently updated mariadb via
Code:
apt-get dist-upgrade
, and apparently something broken with the mysql connection to my server. When running
Code:
./server_start.sh
, it appears to launch fine:

Code:
[Status] Loading items...
[Status] Loading factions...
[Status] Loading loot...
[Status] Loading skill caps...
[Status] Loading spells...
[Status] Loading base data...
Server started - use server_status.sh to check server status
XXX:/home/eqemu/server# 
Akka's Linux Server Launcher
Zones to launch: 30
But the status is:
Code:
World: UP Zones: (30/30) UCS: DOWN Queryserv: DOWN
There are no "world" logs in the logs/ folder, only zone logs in the "logs/zone" folder.

If I try to run
Code:
sudo ./ucs
I get:
Code:
[UCS Server] Starting EQEmu Universal Chat Server.
[UCS Server] Connecting to MySQL...
Segmentation fault
And the same with
Code:
sudo ./queryserv
:
Code:
[QS Server] Starting EQEmu QueryServ.
[QS Server] Connecting to MySQL...
Segmentation fault
I tried rebuilding and reinstalling both mysql-server and the EQEmulator Linux server (./install.sh). I updated the eqemu_config.json file like I had previously done:

Code:
{
   "server" : {
      "chatserver" : {
         "host" : "",
         "port" : "7778"
      },
      "database" : {
         "db" : "eqemudb",
         "host" : "localhost",
         "password" : "<PASSWORD>",
         "port" : "3306",
         "username" : "eqemu"
      },
      "mailserver" : {
         "host" : "",
         "port" : "7778"
      },
      "qsdatabase" : {
         "db" : "eqemudb",
         "host" : "localhost",
         "password" : "<PASSWORD>",
         "port" : "3306",
         "username" : "eqemu"
      },
      "webinterface" : {
         "port" : "9081"
      },
      "world" : {
         "http" : {
            "enabled" : "true",
            "mimefile" : "mime.types",
            "port" : "9080"
         },
         "key" : "talDG7ZRhjnVqnqOJCaUF3mneBIGMvm",
         "loginserver1" : {
            "account" : "",
            "host" : "login.eqemulator.net",
            "legacy" : "1",
            "password" : "",
            "port" : "5998"
         },
         "loginserver2" : {
            "account" : "",
            "host" : "192.168.2.50",
            "password" : "",
            "port" : "5998"
         },
         "longname" : "<Server Name>",
         "shortname" : "<Server Name>",
         "tcp" : {
            "ip" : "192.168.2.50",
            "port" : "9001"
         },
         "telnet" : {
            "enabled" : "true",
            "ip" : "0.0.0.0",
            "port" : "9000"
         }
      },
      "zones" : {
         "defaultstatus" : "0",
         "ports" : {
            "high" : "7400",
            "low" : "7000"
         }
      }
   }
}
However, the problem persists...

I'm quite confused what to do next... the server was up and running fine yesterday before the update. Anyone have any ideas how to troubleshoot this?
Reply With Quote