Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 20:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



SR_GameServer SQL Connection

Discussion on SR_GameServer SQL Connection within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
SR_GameServer SQL Connection

Hello, I've been trying to use 2x gameserver on 1 machine, rn I have only one issue, when I use ForceBindIP *** SR_GameServer_2.exe, trying to open the 2nd gameserver after opening the 2nd machinemanager I get an error on gameserver saying
"Could not connect to DB
======================================
sql::connect() -> EXCEPTION 28000 [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user '_DEFAULT_'.DEBUG -> failed to execute query [_DEFAULT_]"
I made sure that SQL TCP IP enabled, I tried to connect to it through programs and through SQL Management Studio itself, I have 2x IPv4 on my "Ethernet" adapter, even I tried to use a loopback adapter, it didn't work too, I asked some people but they didn't want to help unless I buy the service from them.

Note: if even I tried to run the 1st gameserver using ForceBindIP and used the normal first IP, it gives me the same error, dunno why.

Note2: I have a small tool that changes the modules IP hard-coding it.

Mr.Awesome1337 is offline  
Old 01/21/2020, 21:43   #2

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
How are you running the second gameserver?
XxGhostSpiriTxX is online now  
Old 01/21/2020, 22:05   #3
 
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
Quote:
Originally Posted by esteve458 View Post
How are you running the second gameserver?
ForceBindIP -i 192.168.1.110 SR_GameServer_2.exe

First IP is 192.168.1.100
Mr.Awesome1337 is offline  
Old 01/22/2020, 09:16   #4
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
Quote:
Originally Posted by Mr.Awesome1337 View Post
ForceBindIP -i 192.168.1.110 SR_GameServer_2.exe

First IP is 192.168.1.100
create a .bat file and start like so if not work is something in cert wrong or you setup it wrong like i sayed in discord but edit the folder red marked

@ off
cd C:\Server
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 GlobalManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 GatewayServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 DownloadServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 FarmManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 SR_ShardManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 AgentServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 SR_GameServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 MachineManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 SR_ShardManager_2.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 AgentServer_2.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 SR_GameServer_2.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 MachineManager_2.exe
NorseGodTyr is offline  
Old 01/22/2020, 11:00   #5
 
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
I believe that it should be a problem with cert but I don't know, I'm using CertGen, is there any alternative should I use?

EDIT: its fixed now, there are no errors but now it replaces the old one, if i run first modules and they all loaded if i try to run the 2nd gameserver, it replaces the 1st gameserver on the smc like i just restarted the first gameserver and so on, same with AgentServer.
Mr.Awesome1337 is offline  
Thanks
1 User
Old 04/08/2020, 10:01   #6
 
elite*gold: 0
Join Date: Dec 2013
Posts: 32
Received Thanks: 1
Has anyone solved this problem yet, I got the same error, when turning on gamesv2, it did not connect to cert, and machine2 was connected normally.
mphamduy is offline  
Old 06/20/2020, 13:21   #7
 
vietnguyen09's Avatar
 
elite*gold: 290
Join Date: Oct 2013
Posts: 266
Received Thanks: 191
Quote:
Originally Posted by Mr.Awesome1337 View Post
I believe that it should be a problem with cert but I don't know, I'm using CertGen, is there any alternative should I use?

EDIT: its fixed now, there are no errors but now it replaces the old one, if i run first modules and they all loaded if i try to run the 2nd gameserver, it replaces the 1st gameserver on the smc like i just restarted the first gameserver and so on, same with AgentServer.
So how do you solved that? I'm stuck like yours now.
vietnguyen09 is offline  
Old 06/20/2020, 19:56   #8

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
Quote:
Originally Posted by vietnguyen09 View Post
So how do you solved that? I'm stuck like yours now.
add me discord and I will help you
XxGhostSpiriTxX is online now  
Old 06/20/2020, 21:18   #9
 
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
Quote:
Originally Posted by NorseGodTyr View Post
create a .bat file and start like so if not work is something in cert wrong or you setup it wrong like i sayed in discord but edit the folder red marked

@ off
cd C:\Server
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 GlobalManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 GatewayServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 DownloadServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 FarmManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 SR_ShardManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 AgentServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 SR_GameServer_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.110 MachineManager_1.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 SR_ShardManager_2.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 AgentServer_2.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 SR_GameServer_2.exe
timeout 2
start C:\Windows\SysWOW64\ForceBindIP.exe 192.168.1.111 MachineManager_2.exe
Ok. it's woking fine. But how do you running filter?
WolfgangNeverDie is offline  
Old 06/20/2020, 21:37   #10
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
Quote:
Originally Posted by WolfgangNeverDie View Post
Ok. it's woking fine. But how do you running filter?
Use a filter that Supported 2 Agent Server
NorseGodTyr is offline  
Old 06/21/2020, 05:57   #11
 
vietnguyen09's Avatar
 
elite*gold: 290
Join Date: Oct 2013
Posts: 266
Received Thanks: 191
Quote:
Originally Posted by esteve458 View Post
add me discord and I will help you
I can't, Discord say your discord does not exist, skype get that problem too.
vietnguyen09 is offline  
Reply


Similar Threads Similar Threads
SR_GameServer SQL Error
04/14/2017 - SRO Private Server - 6 Replies
Hey guys how can i fix this? http://i66.tinypic.com/25psoq0.png Thx
Getting Shard_Manager DB connection fail error and SR_GAmeserver
08/28/2014 - SRO Private Server - 8 Replies
I just edited my server cfg like 20 times , the shard ini still getting this db connection fail .All work perfect but only this two things make it broken. Any one can help or have a solution?
SR_GameServer / SR_ShardManager DB connection PROBLEM
11/06/2012 - SRO Private Server - 0 Replies
Pls Help me? what can i do? :(:(:confused::confused: http://img152.imageshack.us/img152/7452/neuebitma pq.png Uploaded with ImageShack.us Please Guys i need really your help? whats the problem? why it cant connecting to my DataBase? pls explain me it 100% :confused::confused::confused:
[HELP]SR_ShardManager and SR_GameServer --DB Connection Failed
10/08/2012 - SRO Private Server - 9 Replies
where I'm committing the error ''DB Connection Failed ''? missing so that the server to run Please Help me ? See http://imageshack.us/a/img838/3948/gameej.jpg http://imageshack.us/a/img526/1984/gaag.jpg



All times are GMT +1. The time now is 20:50.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.