Unable to connect to server.

Results 1 to 13 of 13
  1. #1
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Unable to connect to server.

    As far as i know i've done everything properly, followed the tutorials. I may of gone wrong somewhere on the IP settings but again don't think i have.

    Can anyone take a look at my logs and tell me what the problem is?
    Attached Files Attached Files


  2. #2
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Unable to connect to server.

    It looks like you have permissions pronlems in MSSQL.

    Quote Originally Posted by GlobalDBAgent.log
    [FreeTDS][SQL Server]The EXECUTE permission was denied on the object 'xp_md5', database 'master', schema 'dbo'.
    Quote Originally Posted by DBAgent_24.log
    [unixODBC][FreeTDS][SQL Server]Cannot open database "GAMEDB" requested by the login. The login failed.
    The siplest solution is to use your "sa" user and pass in the server config as you can't have permissions problems using that login. It is certainly simpler than adding all the correct priviledges to your cabal1 user.

    Also i did notice that your worldsvr is listening on the server LAN IP. That will work as long as you only want LAN players and have the centos LAN IP internal.txt but it won't work for external players. The worldsvr should have the WAN IP and so shoud internal.txt, but then i do recommend testing LAN-only to begin with and then switching to WAN so you can be sure of your config before finding out if your router supports loopback or not.

  3. #3
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Re: Unable to connect to server.

    I just have to change the settings in the config.sh file on CentOS to use the SA user instead of cabal1 then?

  4. #4
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Unable to connect to server.

    Don't edit cabal_config.sh unless you are very sure. The script will ask you for the user pass but you can manually specify it at the top of the script and it won't ask (not many people have spotted that little feature!) when you re-run it.

  5. #5
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Re: Unable to connect to server.

    Right, Managed to login. Now i can't create a character due to unknown DB errors. Also i have no idea how to change drop rates ect yet. Will be fun lol.

    Confused now, had to restart the server because of my PC freezing up. Didn't change a thing and now i can't connect again? Nothing in the config has changed it's still using SA.

    New logs if anyone can figure anything out?

    http://www.mediafire.com/?sharekey=d...eada0a1ae8665a

    [Edit] It's just let me login again. I've read somewhere this could be to do with a gameserver link error?

  6. #6
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Unable to connect to server.

    Check the "ifconfig" command on the centos machine as it's IP address has probably changed.

    Unknown DB errors are usually down to linked server settings.

    http://forum.ragezone.com/f460/setti...2005-a-503557/

  7. #7
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Re: Unable to connect to server.

    As i can login again it was the IP changing that was the problem.

    As for the link server, everything there appears to be correct i just can't create a character still.

  8. #8
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Unable to connect to server.

    Clean logs please.

    It's my most used phrase lol.

  9. #9
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Re: Unable to connect to server.


  10. #10
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Unable to connect to server.

    Quote Originally Posted by DBAgent_24.log
    [FreeTDS][SQL Server]The OLE DB provider "MSDASQL" for linked server "GAMESERVER" does not contain the table ""account"."dbo"."cabal_newCharData_table"". The table either does not exist or the current user does not have permissions on that table.
    Something is wrong with your linked server settings. Can you post screenshots of your settings?

  11. #11
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Re: Unable to connect to server.

    http://img16.imageshack.us/img16/1820/29172819.jpg

    http://img18.imageshack.us/img18/1130/gs2v.jpg

    That all you need right?

    I've tried 'MATT' & 'localhost' neither work.

    Another thing, on the 'cabal' account rather than using sa i had to grant permissions to the account DB. On SA i can't do this..

  12. #12
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Unable to connect to server.

    "Security" section at the top left. Set "Be made without using a security context".

    "Server Options". Set all true.

    Page 16 of my guide - http://www.mediafire.com/download.php?mr5dlj8scbt

    Also i prefer to use the windows lan ip or 127.0.0.1 rather than hostname (MATT).

  13. #13
    Apprentice SwiftY is offline
    MemberRank
    Mar 2009 Join Date
    12Posts

    Re: Unable to connect to server.

    That's the guide i followed. I'll try the other bit 127.0.0.1 then get back to you.

    Still getting the same error using 127.0.0.1.



Advertisement