Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 03:20

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

Advertisement



No connexion to sql server

Discussion on No connexion to sql server within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 41
Received Thanks: 9
No connexion to sql server

Hi all, for start, im sorry for my bad english, im french, so i will write in this 2 languages

Edit: My skype for help: steelmax8

I want to create my own private shaiya server on my pc with windows 7. I installed Microsoft SQL Server 2008 R2, created an account named "Shaiya" with full access on the database, attached database of chinese ep7 server, edited SQL New Installation.sql with username and password of the "Shaiya" account,edited all .ini files for put a new hash of the password of "Shaiya",cliqued on PSM_ServiceMgr.exe for install all services who are on (S), cliqued on PSM_AgentInstall.exe for start the service and apply window registry, cliqued on shaiya_svc_register.bat and reboot my pc.

After this I have started PSMServer_Mgr.exe, I have put "Shaiya" as username, 127.0.0.1 as ip and the "Shaiya" account sql password as password and i have cliqued on "Apply All DB account+password(if equal all db)"

But when I "start all services", they return in pause in 2-3 secondes. And in logs files:
Quote:
2013-05-08 17:21:41 PS_DBAGENT__system log start (DBAgent01)

2013-05-08 17:21:58 DB gamedata connect error

2013-05-08 17:21:58 3 1 SService::ServiceCtrlDispatcher(): m_pService->Init()

2013-05-08 17:21:58 DBKillCountSave db alloc failed

2013-05-08 17:21:58 SAVE kill count ERROR

2013-05-08 17:21:58 CKeepObeliskMgr:BSave db alloc failed

2013-05-08 17:21:58 SAVE g_KeepObeliskMgr ERROR

2013-05-08 17:21:58 GuildMgrSave:BSave db alloc failed

2013-05-08 17:21:58 SAVE g_GuildMgrSave ERROR

2013-05-08 17:21:58 PS_DBAGENT__system log end (DBAgent01)


2013-05-08 17:21:58 3 1 SService::ServiceCtrlDispatcher(): service shutdown
All of logs files present this:

2013-05-08 17:21:58 DB gamedata connect error

However i'm sure i have put the same password for sql connection and in the "SQL New Installation.sql" file and the hash password in all .ini files. But i noticed the programm "ps_passwordEnc.exe" give a different hash for the same password when "fordb" is actived. Is this normal?

PS: when i test connexion sql manually with SQL Server Management Studio with "Shaiya" account, it works well.

Thanks for help me and sorry for my bad english.

In french/en français:

Je voudrai installer mon propre serveur shaiya sur mon ordinateur avec windows 7. J'ai installé Microsoft SQL Server 2008 R2, créer un compte de connexion sql appellé "Shaiya" avec tout les accès admin, attaché les données de la base chinese ep7 server,édité le fichier "SQL New Installation.sql" avec le pseudo et le mot de passe du compte "Shaiya" ,édité tout les fichiers .ini pour mettre le hash du mot de passe du compte sql "Shaiya",lancé le PSM_ServiceMgr.exe pour installer tout les services que se sont bien mis en (S), lancé le PSM_AgentInstall.exe pour executer le service et appuyer sur "apply window registry", cliqué sur shaiya_svc_register.bat et redémaré le pc.

Après ça, en lançant PSMServer_Mgr.exe, j'ai mis "Shaiya" comme nom de compte, 127.0.0.1 comme addresse ip et le mot de passe du compte de connexion sql "Shaiya". J'ai cliqué sur "Apply All DB account+password(if equal all db)"

Mais quand je clique sur "start all services", les services se remettent en pause après 2-3 secondes.

Et dans les fichiers logs:
Quote:
2013-05-08 17:21:41 PS_DBAGENT__system log start (DBAgent01)

2013-05-08 17:21:58 DB gamedata connect error

2013-05-08 17:21:58 3 1 SService::ServiceCtrlDispatcher(): m_pService->Init()

2013-05-08 17:21:58 DBKillCountSave db alloc failed

2013-05-08 17:21:58 SAVE kill count ERROR

2013-05-08 17:21:58 CKeepObeliskMgr:BSave db alloc failed

2013-05-08 17:21:58 SAVE g_KeepObeliskMgr ERROR

2013-05-08 17:21:58 GuildMgrSave:BSave db alloc failed

2013-05-08 17:21:58 SAVE g_GuildMgrSave ERROR

2013-05-08 17:21:58 PS_DBAGENT__system log end (DBAgent01)


2013-05-08 17:21:58 3 1 SService::ServiceCtrlDispatcher(): service shutdown
Tout les fichiers logs présentent le même problème:

2013-05-08 17:21:58 DB gamedata connect error

Pourtant je suis sur d'avoir mis le même mot de passe pour le compte de conenxion sql et dans le fichier "SQL New Installation.sql" et le hash du mot de passe dans tout les fichiers .ini . Mais j'ai remarqué que le programme "ps_passwordEnc.exe" donne un hash différent pour le même mot de passe quand "fordb" est activé. Est-ce normal?

PS: Quand je test de me connecter avec SQL Server Management Studio avec le compte "Shaiya" ça fonctionne très bien.

Merci de m'aider


Danatael
danatael is offline  
Old 05/09/2013, 14:31   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 145
Received Thanks: 203
Tu n'a pas attaché les databases, c'est ton probleme. Si c'étais une erreur de connection ton log ne serait pas comme sa. Là c'est directement a ps_gamedata qu'il n'arrive pas a se connecter. attache les databases dans sql server management et réessaye sa devrais marcher.
infinite59 is offline  
Old 05/09/2013, 15:32   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 41
Received Thanks: 9
Coucou, merci de m'avoir répondu
Seulement si il s'agit de ça:
Je l'ai déjà fait, le problème est toujours persistant... je suis complètement découragé :/

Edit: j'en reviens encore à ça, mais le fais que le hash password ne sois jamais identique lors de la génération est-il normal? Par exemple je met 12345 j'ai un hash, j'enleve et je remet 12345, j'ai un autre hash, alors que c'est le même mot de passe.

Re edit: Je sais pas si ça peux servir, mais voici les logs:
Quote:
2013-05-09 12:33:34 PS_GAME__system log start (PS_GAME) [KR]

2013-05-09 12:33:34 Game server count is 0

2013-05-09 12:33:34 3 1 SService::ServiceCtrlDispatcher(): m_pService->Init()

2013-05-09 12:33:34 Call save all waiting...

2013-05-09 12:33:34 Call save all failed dbagent disconnected(user count = 0)...

2013-05-09 12:33:34 server shutdown Connection INFO : T=000:00:00:000, NumC=0,CMin=0,CMax=0,CAvg=0.00, CAva=0,CReq=0,CCnt=0,DCCnt=0, CTimeT=000:00:00:000,CTimeAvg=000:00:00:000, RBT=0,RBS=0,RBSC=0,SBT=0,SBS=0,SBSC=0

2013-05-09 12:33:34 PS_GAME__system log end (PS_GAME)

2013-05-09 12:33:34 3 1 SService::ServiceCtrlDispatcher(): service shutdown
Quand je fais propriété des bases de données dans sql server, l'etat est "Arrêter, Normal", est-ce normal ou faut t'il le changer?

When I go into the properties of the database in sql server, the state is "Stop, Normal," is this normal or should you change it?
danatael is offline  
Old 05/09/2013, 21:33   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 145
Received Thanks: 203
Je viens d'aider quelqun qui avait le meme probleme que toi, en fait c'est simplement un soucis de hash password, on a un peu galéré mais on a finalement réussi.
Refais ton hash et garde le meme sur tout les fichiers
infinite59 is offline  
Reply


Similar Threads Similar Threads
Connexion auth failed
02/08/2014 - Rappelz Private Server - 15 Replies
Hi everyone, Here is my problem, I created my local server with files 7.3. Rappelz Epic 7.3 100% Working Also Cash shop 100% The problem is that I try to connect from the client with a French official file "load.bat". When I get the choice of logins connection, an error message appears: "Can not connect to auth server ..."
5165 connexion
09/01/2010 - CO2 Private Server - 3 Replies
how to fix this bug http://img440.imageshack.us/img440/364/sanstitreo h.png



All times are GMT +1. The time now is 03:21.


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.