Jump to content
TrinityCore

Ghodmode

Plebs
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Ghodmode

  1. I was able to fix my logging problem (see here). Now I have a different problem preventing the worldserver from running (mapextractor can't create the dbc files) which I think is a separate issue.
  2. The logging problem has been resolved. My configuration files were formatted incorrectly. I originally followed the Linux How-To when I was building TrinityCore and I created my configuration files (from the generated dist files) at that time. I learned about revision matching between the TrinityCore and TrinityCore_4.3.4_DB_Alpha later. After I did a checkout on the required commit, I didn't re-create the conf files. Apparently, the format of these files has changed significantly between that commit and the on mine were based on. So, one of the side-effects was no output and no log files. Thanks to "Aokromes" in the IRC channel for help figuring this out.
  3. I'm having a problem that I haven't been able to resolve yet. I suspect it's related to database configuration, but I don't have any error messages or log files. It would be a lot easier to figure out if I could get logging working. Based on other forum posts, I know logging works, but I'm trying to get this working under Linux and I haven't seen too many posts from people working in a Linux environment. So, I wonder if the logging problem is related to Linux. I've already started looking through the code and I can see the TC_LOG_* lines that are supposed to generate log output. I didn't set specific log directories in the conf files, so I understand that the log files should be created in the directory I run authserver and worldserver from. I'm going to dig deeper into the code and, more specifically into the Logging system, but I'd appreciated it greatly if anyone has any insight into why the logging might not be working. Thank you.
  4. When I run worldserver, it exits immediately with no messages at all. I've been searching around the forums and seen similar problems reported a few times, but they're always accompanied by error messages. I don't have any. No error messages and no log files. No output at all. Does anyone have any idea what might cause this kind of problem or what I might do to help me figure it out? Ubuntu Linux (12.10) branch 4.3.4, commit 904fa5b47b TDB 434.05, commit e07faffe7a I followed through the How-to_Linux step-by-step adjusting when necessary for the 4.3.4 branch. Everything went smoothly. I followed through the TDB 4.3.4 + DB Updates How-to also and everything went smoothly except for a minor problem with the auth DB updates. I've dropped and reloaded the databases a couple of times without success. I added the SQLDriverLogFile entries to my worldserver.conf. There wasn't any reference to these entries in the worldserver.conf(.dist) that I got from the repo, but I added them based on the example worldserver.conf provided in the wiki. I set all the logging levels to trace. This also had no effect. I ran worldserver with a bogus -c argument and I did get the "Invalid or missing configuration file" message, so I think that confirms that it's reading the proper conf file. This file is read from TrinityCore/conf, not in TrinityCore/server/etc as suggested somewhere in one of the wiki entries. Using netstat, I confirmed that there's not already a service listening on port 8085. Just in case, I tried changing the WorldServerPort anyway. No joy. I ran worldserver with strace and I can confirm from that output that it's reading the configuration file and running several SQL commands. I looked at Main.cpp for worldserver and a few other files. I can see that it should be logging with the TC_LOG_* functions, but I don't understand what I'm reading well enough yet to figure out why it's not working. I'm certain it doesn't fail until it executes sMaster->Run(), but again I can't figure that out yet. The exit status of worldserver is 1 which is indicated in the code as "shutdown at error". That's useless at this point unless there's some logging. Thank you.
×
×
  • Create New...