Re: Connect to Gamedb Failed
Quote:
Originally Posted by
worwick
I install all the files and followed the setup instructions to the "T". Acutually did it several times. I changed all the 127.0.0.1 to MyIpAddress. Everything seems to start up until I get this error.
err Gdeliveryd: Connect to GameDB Failed.
I double checked to make sure the ip address was correct to my server and it is.
I checked the gamesys.conf under GameDbD and I don't see anything wrong.
I have no idea what else to look at.
Thank you.
Here is the gamesys.conf.
[GameDBServer]
zoneid=1
aid=1
type = tcp
port = 29400
address = xx.xx.xx.xx <-- Try Change to 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
listen_backlog = 10
accumulate = 16777216
:blink: All lines: address = xx.xx.xx.xx
should be replaced by address = 127.0.0.1
Or most common, the Server´s Static IP (192.168.0.10 or 192.168.0.51,etc,etc)
Good Luck :ott1:
Re: Connect to Gamedb Failed
If I change them to 127.0.0.1, I get way more errors. The xx.xx.xx.xx stands for my static IP Address. The only one I left unchanged was the 0.0.0.0 address as the instructions said not to change those.
Any other suggestions?
Thank you.:blink:
Re: Connect to Gamedb Failed
Quote:
Originally Posted by
worwick
If I change them to 127.0.0.1, I get way more errors. The xx.xx.xx.xx stands for my static IP Address. The only one I left unchanged was the 0.0.0.0 address as the instructions said not to change those.
Any other suggestions?
Thank you.:blink:
:w00t: So I suggest a checklist of all the configuration files that make changes to the server IPs!
They are:
\PWServer\gacd\gamesys.conf
\PWServer\gamed\gmserver.conf
\PWServer\gamed\gs.conf
\PWServer\gamed\gs_rollback.conf
\PWServer\gamedb\cashstat.conf
\PWServer\gamedb\gamesys.conf
\PWServer\gdeliveryd\gamesys.conf
\PWServer\gfactiond\gamesys.conf
\PWServer\glinkd\gamesys.conf
\PWServer\logservice\logservice.conf
\PWServer\uniquenamed\gamesys.conf
And finally ... those responsible for headaches, since few know they exist and need to be changed also:
\etc\authd.conf
\etc\gmopgen.xml
\etc\GMserver.conf
\etc\iweb.conf
\etc\table.xml
Now I think the thing goes! :ott1:
Good luck!! :thumbup1:
Re: Connect to Gamedb Failed
I will double check them all again. What about the ones that have 0.0.0.0.
Thanks again
Re: Connect to Gamedb Failed
Quote:
Originally Posted by
worwick
I will double check them all again. What about the ones that have 0.0.0.0.
Thanks again
There is a legend that if you change them, the world explodes!
Ps: Any server works with them there, pointing to 0.0.0.0. Leave them alone!:laugh:
Re: Connect to Gamedb Failed
Re: Connect to Gamedb Failed
it may be that you have a corrupt character database:
to check for this run the command:
(presuming your serverpack in under /PWServer/
Code:
cd /PWServer/gamedbd
./gamedbd gamesys.conf
if you get "failed to initialize storage facility" u got a corrupt database which is easily fixable but ill move onto that if thats the case.
Re: Connect to Gamedb Failed
This is what i did and it looked fine, but just keeps looping the last part.
root@Dynasty:~/PWServer/gamedbd# ./gamedbd gamesys.conf
info : Begin import clsconfig ...
info : ClsConfig Imported .
info : InitGameDB, Role delete time is 604800.
Base id =5459751057896767488
info : InitGameDB, acquire region(id=1),[l=-100000.0,r=100000.0,t=100000.0,b=-100000.0].
info : Init GameDB successfully.
TRACE : init SellDataImage. maxSellID=0,rolenum=0
info : program started with 18 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
TRACE : checkpoint begin.
TRACE : checkpoint end.
Re: Connect to Gamedb Failed
I went through the start.sh and added pauses to see if I could find where the problem my be coming in at.
Everything said DONE! as it went through each step. Starting GAMEDBD said "Init GameDB successfully".
When it got to the Starting Main World", it keeps doing a trace. Like:
TRACE: checkpoint begin
TRACE: checkpoint end
TRACE: gdeliveryserver::statusannounce,online=0,fakemax=6000, load=0,attrib=268435456
Is this normal?
Re: Connect to Gamedb Failed
Stiil not sure if it is running correctly. But I don't have any errors when I run start.sh
Only thing I did was edit the start.sh and added some more seconds to sleep so I could watch each section load.
Now it shows the trace begin/ed thingy. I think its polling information about how many is logged in and all. Just not sure.
Thanks again for you help.