gamedbd fails to start.

Results 1 to 10 of 10
  1. #1
    Valued Member SylenThunder is offline
    MemberRank
    Aug 2009 Join Date
    SE MichiganLocation
    143Posts

    sad gamedbd fails to start.

    ok, I've searched high and low, asked PsyTrac for help, and searched high and low again, and I still can't figure out what's wrong. I am using the 343 release with PsyTrac's 1.4.4.

    The server was working fine. I made a change to gshop.data. Copied over the appropriate gshop.data and gshopsev.data files and rebooted the server.
    After booting back up, gamedbd fails to load, and I have to manually start any maps. (Which is moot anyhow because gamedbd isn't working.)

    So, here's what I see in my syslog...
    Spoiler:
    ===============================================================
    = STARTING Vendetta PW SERVER REPACK =
    = SERVER LOADING WILL TAKE SOME TIME =
    ===============================================================
    Fri Jul 13 10:48:24 EDT 2012
    === LOGSERVICE ===
    info : program started with 6 threads.
    === DONE! ===

    === UNIQUENAMED ===
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    === DONE! ===

    === AUTH ===
    ERROR:incorrect passphrase for this key!
    ERROR:load key failed!
    authd:: add PollIO task.
    gauthd: 13 Jul 2012 10:48:30,815 INFO GAuthServer:69 - authd:: add PollIO task.
    === DONE! ===

    === GAMEDBD ===
    info : TcpManager OnAddSession
    err : Initialize storage environment failed.
    info : TcpManager OnDelSession
    === DONE! ===

    === GACD ===
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    === DONE! ===

    === GFACTIOND ===
    info : TcpManager OnAddSession
    TRACE : OnAddSession sid=7
    info : OnAddSession
    info : logclienttcp: OnAddSession
    info : logclient: OnAddSession
    === DONE! ===

    === GDELIVERYD ===
    TRACE : RewardManager:: consume reward does not open!
    info : TcpManager OnAddSession
    District id is 0
    TRACE : gdeliveryd::Max player allowed is 6000
    TRACE : GameTalkManager: OnStartUp(aid, zoneid)
    TRACE : OnAddSession sid=8
    TRACE : Timer update: (0) Fri Jul 13 10:48:55 2012

    gauthd: 13 Jul 2012 10:48:55,282 INFO GAuthServer:? - GAuthServer::OnAddSession com.goldhuman.IO.Protocol.Session@61736e
    TRACE : sysauction initialize: auction max=4, total sell item=46
    err : BillingAgent, duplicate item,id=16166,amount=500,timeout=0
    err : BillingAgent, duplicate menuid,id=000000082000000002910000000001
    err : BillingAgent, duplicate item,id=16024,amount=6000,timeout=0
    err : BillingAgent, duplicate menuid,id=000000082000000002940000000001
    err : BillingAgent, duplicate item,id=16019,amount=6000,timeout=0
    err : BillingAgent, duplicate menuid,id=000000082000000002950000000001
    TRACE : billing: menu loaded, menuids size=314, itemids size=314
    info : logclienttcp: OnAddSession
    TRACE : gdelivery::connect to gauthd successfully.
    err : gdelivery:: connect GameDB failed
    TRACE : gdelivery::connect gfactionserver successfully.
    TRACE : BattleManager: Sync battle faction to gfactiond.
    TRACE : FactionFortressMan: Sync faction id to gfactiond.
    info : logclient: OnAddSession
    TRACE : ganticheatclient:: connect gacd successfully!
    TRACE : gfactionserver:: add link(or Delivery) 0 to map.
    info : OnAddSession
    TRACE : Receive zoneid=1 from delivery
    info : OnAddSession
    gauthd: 13 Jul 2012 10:48:55,777 INFO GAuthServer:? - AnnounceZoneid3, clear all online records on zone 1
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    === DONE! ===

    === GLINKD ===
    info : TcpManager OnAddSession
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : TcpManager OnAddSession
    info : logclienttcp: OnAddSession
    info : logclienttcp: OnAddSession
    info : logclienttcp: OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    info : logclient: OnAddSession
    TRACE : gfactionserver:: add link(or Delivery) 2 to map.
    TRACE : gfactionserver:: add link(or Delivery) 1 to map.
    TRACE : gfactionserver:: add link(or Delivery) 3 to map.
    TRACE : gfactionserver:: add link(or Delivery) 4 to map.
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    === DONE! ===

    === MAIN WORLD ===
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-805306368
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    TRACE : KeepAlive sid=7
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    TRACE : KeepAlive sid=8
    err : gdelivery:: connect GameDB failed
    TRACE : checkpoint begin.
    err : gdelivery:: connect GameDB failed
    TRACE : checkpoint end.
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-805306368
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    === DONE! ===

    ===============================================================
    = ALL INSTANCES LOADED =
    = SERVERS ARE UP AND RUNNING! =
    ===============================================================
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    TRACE : KeepAlive sid=7
    err : gdelivery:: connect GameDB failed
    err : gdelivery:: connect GameDB failed
    TRACE : Timer update: (0) Fri Jul 13 10:49:54 2012

    TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=-805306368
    TRACE : KeepAlive sid=8
    err : gdelivery:: connect GameDB failed
    and so on....

    From /opt/apache-tomcat-5.5.28/2/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp ...
    Spoiler:
    // connection settings to the mysql pw database
    String db_host = "localhost";
    String db_port = "3306";
    String db_user = "root";
    String db_password = "root";
    String db_database = "dbo";

    From /pwserver/authd/table.xml ...
    Spoiler:
    <driver name="com.mysql.jdbc.Driver" />
    <connection name="auth0" poolsize="3" url="jdbc:mysql://localhost:3306/dbo?useUnicode=true&amp;characterEncoding=utf8" username="root" password="root"/>

    From /etc/table.xml ...
    Spoiler:
    <driver name="com.mysql.jdbc.Driver" />
    <connection name="auth0" poolsize="3" url="jdbc:mysql://localhost:3306/dbo?useUnicode=true&amp;characterEncoding=utf8" username="root" password="root"/>


  2. #2
    SHM - Swedish House Mafia 80085 is offline
    MemberRank
    Nov 2011 Join Date
    N/ALocation
    229Posts

    Re: gamedbd fails to start.

    === GAMEDBD ===
    info : TcpManager OnAddSession
    err : Initialize storage environment failed.
    info : TcpManager OnDelSession
    === DONE! ===
    Might this be the problem over gamedbd doesn't start?

  3. #3
    Valued Member SylenThunder is offline
    MemberRank
    Aug 2009 Join Date
    SE MichiganLocation
    143Posts

    Re: gamedbd fails to start.

    I was thinking that it started here...
    === AUTH ===
    ERROR:incorrect passphrase for this key!
    ERROR:load key failed!

    authd:: add PollIO task.
    gauthd: 13 Jul 2012 10:48:30,815 INFO GAuthServer:69 - authd:: add PollIO task.
    === DONE! ===

    I figure most of the following errors are stemming from this. Authd shows as working, but this is the first error from the log, and I think everything else that follows may be linked.

    I've, of course, forgotten how to set/change the MySQL password, so I'm working on that to make sure it's correct.

  4. #4
    Member corujaobr is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    81Posts

    Re: gamedbd fails to start.

    this error from mysql connect !

  5. #5
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: gamedbd fails to start.

    The incorrect passphrase doesn't matter. If auth says its working then it probably is working. Check your other logs as well.

    Was the gshop exxported correctly with good timestamps?

  6. #6
    Valued Member SylenThunder is offline
    MemberRank
    Aug 2009 Join Date
    SE MichiganLocation
    143Posts

    Re: gamedbd fails to start.

    well Authd itself is up and running, but if it's not properly connected, then anything that's following behind looking for those links is going to fail, which is what I'm thinking is causing gamedbd to not start.

    Yes, the gshop was exported properly with the right time stamps. I even tried moving the old files back in and it hasn't made any change. Personally I don't think changing gshop had anything to do with it. I'm thinking it might have been some other change in the system while it was running that didn't take effect until after it got rebooted, I just can't for the life of me figure out what that could be.

    I really hate to blow it out and start fresh since PsyTrac and myself have put so much work into it so far. I'm positive it's just something stupid simple somewhere that got changed. I just got to narrow down what the hell it is. I've spent the past few hours combing through the files for setting or configuration errors. I'll take another look at some of the logs.

  7. #7
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: gamedbd fails to start.

    gamedb is corrupt (is my guess)

    MOVE it (so that you have it "backed up") to a different directory and restart gamedbd (which will in turn create a brand new and blank DB). If that fixes it, your DB is fucked... If not than, well at least you kept a backup

  8. #8
    Valued Member SylenThunder is offline
    MemberRank
    Aug 2009 Join Date
    SE MichiganLocation
    143Posts

    Re: gamedbd fails to start.

    Quote Originally Posted by 343 View Post
    gamedb is corrupt (is my guess)

    MOVE it (so that you have it "backed up") to a different directory and restart gamedbd (which will in turn create a brand new and blank DB). If that fixes it, your DB is fucked... If not than, well at least you kept a backup
    Yeah, I've been considering that, but it was pretty much my "last ditch" effort. I can't find anything else wrong though so I'll give it a shot in a short bit. Good for me I take regular backups, so the impact won't be completely horrid. I just remember trying a restore once several months ago and could never seem to get MySQL and gamedbd to line up properly after the restore.

    EDIT: Emptied gamedbd, rebooted and fired it up. syslog still looks exactly the same, and it didn't populate anything in gamedbd.
    Last edited by SylenThunder; 14-07-12 at 05:11 AM.

  9. #9
    Apprentice bepedd is offline
    MemberRank
    Sep 2013 Join Date
    8Posts

    Re: gamedbd fails to start.

    I'm having the same problem here.Thats sucks.

  10. #10
    SON OF MARFEL hrace009 is offline
    MemberRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: gamedbd fails to start.

    why don't you try to fix your game databases before remove it? the repair script should be on your server files



Advertisement