Services Problem

Results 1 to 12 of 12
  1. #1
    Banned Elinee is offline
    BannedRank
    Jan 2013 Join Date
    68Posts

    config Services Problem

    Hello Everyone

    I just made my server and tryed to start the services and some of them wont start or they stop automatically. This is what it say:

    "The _Account DB Server services on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."


    I have the problems by the following services;

    _AccountLog DB Server
    _Character DB Server0
    _GameLog DB Server0

    Im really new to make a server, maybe its a stupid error but i can't find it sorry :(

    A Log & sorry for my bad english:

    000018 2013-01-26 02:08:39 <NUMBER OF 10 IOCP WORKTHREAD STARTED, 2 CPU DETECTED>
    000019 2013-01-26 02:08:39 DB_Init FAILED = DSN=AccountLog; UID=sa; PWD=sa
    000020 2013-01-26 02:08:39 <SESSION WORKER #0 INIT DB FAILED - STOP ******>
    000021 2013-01-26 02:08:39 < END OF MAIN = 0 >
    000022 2013-01-26 02:08:39 <IOCP WORKTHREAD #8 FREE>
    000023 2013-01-26 02:08:39 <IOCP WORKTHREAD #9 FREE>
    000024 2013-01-26 02:08:39 <IOCP WORKTHREAD #7 FREE>
    000025 2013-01-26 02:08:39 <IOCP WORKTHREAD #6 FREE>
    000026 2013-01-26 02:08:39 <IOCP WORKTHREAD #4 FREE>
    000027 2013-01-26 02:08:39 <IOCP WORKTHREAD #5 FREE>
    000028 2013-01-26 02:08:39 <IOCP WORKTHREAD #3 FREE>
    000029 2013-01-26 02:08:39 <IOCP WORKTHREAD #1 FREE>
    000030 2013-01-26 02:08:39 <IOCP WORKTHREAD #2 FREE>
    Last edited by Elinee; 26-01-13 at 02:09 AM.


  2. #2
    Banned Elinee is offline
    BannedRank
    Jan 2013 Join Date
    68Posts

    Re: Services Problem

    Can someone help me =(

  3. #3
    ExtrinsicStudio™ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: Services Problem

    It's related to your database.

    000019 2013-01-26 02:08:39 DB_Init FAILED = DSN=AccountLog; UID=sa; PWD=sa
    000020 2013-01-26 02:08:39 <SESSION WORKER #0 INIT DB FAILED - STOP ******>
    Check your ODBC's/check your database that it's running and/or check that you're able to connect to your mssql instance via management studio.

  4. #4
    Coeven Tronic is offline
    MemberRank
    Apr 2010 Join Date
    LocalhostLocation
    238Posts

    Re: Services Problem

    Quote Originally Posted by Elinee View Post
    DB_Init FAILED = DSN=AccountLog; UID=sa; PWD=sa
    Probably Password is Wrong

  5. #5
    Proficient Member Yeikel is offline
    MemberRank
    May 2009 Join Date
    180Posts

    Re: Services Problem

    Make sure that your ODBC have this format :

    -Account
    -AccountLog
    -Character
    -GameLog
    -OPTool
    -Statistics


  6. #6
    Account Upgraded | Title Enabled! aqua512 is offline
    MemberRank
    Nov 2012 Join Date
    574Posts

    Re: Services Problem

    000019 2013-01-26 02:08:39 DB_Init FAILED = DSN=AccountLog; UID=sa; PWD=sa<-------
    Your Password is wrong. Check your SQL settings, enter in the proper log in information and try again.

  7. #7
    ExtrinsicStudio™ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: Services Problem

    You can use 1 ODBC if you'd like, it won't matter, it's just a connector.
    Code:
    ODBC_INFO "Account",	 0,	0,	"DSN=Account;		UID=sa;	PWD=******", "USE Account; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "AccountLog",	 1,	0,	"DSN=AccountLog;	UID=sa;	PWD=******", "USE AccountLog; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "Statistics",	 2,	0,	"DSN=Statistics;	UID=sa;	PWD=******", "USE StatisticsData; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "OPTool",	 3,	0,	"DSN=OPTool;		UID=sa;	PWD=******", "USE OperatorTool; SET LOCK_TIMEOUT 5000"
    
    ODBC_INFO "Character",	10,	0,	"DSN=Character;		UID=sa;	PWD=******", "USE World00_Character; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "GameLog",	11,	0,	"DSN=GameLog;		UID=sa;	PWD=******", "USE World00_GameLog; SET LOCK_TIMEOUT 5000"
    Will do the same as:
    Code:
    ODBC_INFO "Account",	 0,	0,	"DSN=YourOneODBC;		UID=sa;	PWD=******", "USE Account; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "AccountLog",	 1,	0,	"DSN=YourOneODBC;		UID=sa;	PWD=******", "USE AccountLog; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "Statistics",	 2,	0,	"DSN=YourOneODBC;		UID=sa;	PWD=******", "USE StatisticsData; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "OPTool",	 3,	0,	"DSN=YourOneODBC;		UID=sa;	PWD=******", "USE OperatorTool; SET LOCK_TIMEOUT 5000"
    
    ODBC_INFO "Character",	10,	0,	"DSN=YourOneODBC;		UID=sa;	PWD=******", "USE World00_Character; SET LOCK_TIMEOUT 5000"
    ODBC_INFO "GameLog",	11,	0,	"DSN=YourOneODBC;		UID=sa;	PWD=******", "USE World00_GameLog; SET LOCK_TIMEOUT 5000"
    Once you've rectified that connecting via MSSQL Management Studio is suffice, use the same info used (sa/whateverpassword) in your configuration .txt, also, be sure your instance allows both windows authentication and user authentication.

  8. #8
    Banned Elinee is offline
    BannedRank
    Jan 2013 Join Date
    68Posts

    Re: Services Problem

    Thanks for the help ! I'm gonna try it now :)

    Edit: Their is nothing wrong in my ODBC it looks the same on that screen.

    But i have 1 problem Q.Q I never putted a pw in SQL? can i change the password of the sa login?
    Last edited by Elinee; 26-01-13 at 11:10 AM.

  9. #9
    ExtrinsicStudio™ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: Services Problem

    Google shall be your friend on that front.

  10. #10
    Mr. Kenshin Alsm97 is offline
    MemberRank
    Oct 2010 Join Date
    SwedenLocation
    202Posts

    Re: Services Problem

    Quote Originally Posted by Elinee View Post
    Thanks for the help ! I'm gonna try it now :)

    Edit: Their is nothing wrong in my ODBC it looks the same on that screen.

    But i have 1 problem Q.Q I never putted a pw in SQL? can i change the password of the sa login?
    Add me on skype: alexander_vassiliou

    I'll gladly help you out. But only the setup, I'm not deving anything for ya... :P

  11. #11
    Banned Elinee is offline
    BannedRank
    Jan 2013 Join Date
    68Posts

    Re: Services Problem

    Quote Originally Posted by Alsm97 View Post
    Add me on skype: alexander_vassiliou
    I added you.

  12. #12
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Services Problem

    I did this before and I managed to get it working without any problems but this time I am getting the same error. The OBDC is fine and the password + username is correct. I have no idea what it could be?

    I followed chubby's guide exactly and used the correct OBDC names.

    Code:
    000048 2013-01-27 18:57:44 <NUMBER OF 40 IOCP WORKTHREAD STARTED, 8 CPU DETECTED>
    000049 2013-01-27 18:57:44 DB_Init FAILED = DSN=w00_GameLog;	UID=sa; PWD=123
    000050 2013-01-27 18:57:44 <SESSION WORKER #0 INIT DB FAILED - STOP ******>
    000051 2013-01-27 18:57:44 < END OF MAIN = 0 >
    000052 2013-01-27 18:57:44 <IOCP WORKTHREAD #0 FREE>
    EDIT: I found out that I had added the OBDC stuff in the wrong part but now that I have added it to the correct place the only one that doesn't work is account log?

    EDIT: Never mind I fixed it. Thanks. :)
    Last edited by fiestanerd69; 27-01-13 at 09:53 PM.



Advertisement