ligang536 发表于 2012-5-27 19:27:28

求大神搭救。。

http://pic.qnpic.com:83/r.jsp?fn=//ctgwglzc/share/2012/5/27/123123123.jpg

这究竟怎么弄,我真的糊涂了

ligang536 发表于 2012-5-27 20:54:48

望穿秋水的苦等了1小时多,反复刷帖,只见看帖人5人,高人始终没见影踪。。。。

补充内容 (2012-5-31 01:50):
]Server WorkItemThread 8 started...
]Server WorkItemThread 9 started...
]Scheduling thread started...
*** 08S01, 20009, Unable to connect: Adaptive Server is unavailable or does not exist, 98 ***
*** 08001, 0, Unable to connect to data source, 63 ***
Game ODBC Open Fail...
>***AiServer Initialize fail!***
./run.sh: line 6:6939 娈甸敊璇?            ./aiserver


rm: 鏃犳硶鍒犻櫎 鈥?dev/shm/sysconfig鈥? 鏄?竴涓?洰褰?Aujard Ver - 20040730
Nation - 0804
]User Status: MR=,MBT,SIGPIPE disabled.
]SocketWorkerThread started.
]SocketWorkerThread started.
]SocketWorkerThread started.
]SocketWorkerThread started.
]DataListThread started.
]DataListThread started.
]Send thread started.:TNO=,Interval=350000.
]Send thread started.:TNO=,Interval=350000.
]Thread run at USER-MODE...
]User WorkItemThread 0 started...
]User WorkItemThread 1 started...
]User WorkItemThread 2 started...
]User WorkItemThread 3 started...
]User WorkItemThread 4 started...
]User WorkItemThread 5 started...
]User WorkItemThread 6 started...
]User WorkItemThread 7 started...
]User WorkItemThread 8 started...
]User WorkItemThread 9 started...
]Scheduling thread started...
>***Cannot connect to .***
>***Cannot connect to .***
>***Aujard Initialize fail!***
./run.sh: line 14:6964 娈甸敊璇?            ./aujard


itemmanager is already running !!!!!!
2012-05-30 21:51:41>Init Net Error,Maybe Port Busy
Current Server Port = 15004
21,51,41, OnInitDialog 719 UserDAtaSize = 8640
GameServer Ver - 20040701]User Status: MR=,MBT,SIGPIPE disabled.
]SocketWorkerThread started.
]SocketWorkerThread started.
]SocketWorkerThread started.
]SocketWorkerThread started.
]DataListThread started.
]Thread run at USER-MODE...
]DataListThread started.
]User WorkItemThread 0 started...
]User WorkItemThread 1 started...
]User WorkItemThread 2 started...
]User WorkItemThread 3 started...
]User WorkItemThread 4 started...
]User WorkItemThread 5 started...
]User WorkItemThread 6 started...
]User WorkItemThread 7 started...
]User WorkItemThread 8 started...
]User WorkItemThread 9 started...
]Scheduling thread started...
]Server Status: MR=,MBT,SIGPIPE disabled.
]SocketWorkerThread started.
]SocketWorkerThread started.
]SocketWorkerThread started.
]SocketWorkerThread started.
]DataListThread started.
]Thread run at USER-MODE...
]DataListThread started.
]Server WorkItemThread 0 started...
]Server WorkItemThread 1 started...
]Server WorkItemThread 2 started...
]Server WorkItemThread 3 started...
]Server WorkItemThread 4 started...
]Server WorkItemThread 5 started...
]Server WorkItemThread 6 started...
]Server WorkItemThread 7 started...
Read UserData Shared Memory - KNIGHT_DB-11
]Server WorkItemThread 8 started...
]Server WorkItemThread 9 started...
]Scheduling thread started...
Shared Memory Create Success!!
Read SMQ Send Shared Memory - KNIGHT_SEND-11
Read SMQ Recv Shared Memory - KNIGHT_RECV-11
Read SMQ ItemLog Shared Memory - ITEMLOG_SEND-11
*** 08S01, 20009, Unable to connect: Adaptive Server is unavailable or does not exist, 98 ***
*** 08001, 0, Unable to connect to data source, 63 ***
*** 08S01, 20009, Unable to connect: Adaptive Server is unavailable or does not exist, 98 ***
*** 08001, 0, Unable to connect to data source, 63 ***
*** 08S01, 20009, Unable to connect: Adaptive Server is unavailable or does not exist, 98 ***
*** 08001, 0, Unable to connect to data source, 63 ***
Game ODBC Open Fail...
>***GameServer Initialize fail!***
./run.sh: line 29:6996 娈甸敊璇?            ./ebenezer


linux-tt1e:/knight/knight #



补充内容 (2012-5-31 01:52):
查看TDS
log.c:196:Starting log file for FreeTDS 0.91
        on 2012-05-30 21:19:15 with debug flags 0x4fff.
iconv.c:330:tds_iconv_open(0x1be6d3c8, GBK)
iconv.c:187:local name for ISO-8859-1 is ISO-8859-1...

补充内容 (2012-5-31 01:53):
log.c:196:Starting log file for FreeTDS 0.91
        on 2012-05-30 21:19:15 with debug flags 0x4fff.
iconv.c:330:tds_iconv_open(0x1be6d3c8, GBK)
iconv.c:187:local name for ISO-8859-1 is ISO-8859-1
iconv.c:187:local name for UTF-8 is UTF-8
iconv.c:187:local name for UCS-2LE is UCS-2LE
iconv.c:187:local name for UCS-2BE is UCS-2BE
iconv.c:349:setting up conversions for client charset "GBK"
iconv.c:351:preparing iconv for "GBK" <-> "UCS-2LE" conversion
iconv.c:391:preparing iconv for "ISO-8859-1" <-> "UCS-2LE" conversion
iconv.c:394:tds_iconv_open: done
net.c:205:Connecting to 192.168.230.2 port 1433 (TDS version 7.1)
net.c:270:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:306:getsockopt(2) reported: Connection refused
net.c:316:tds_open_socket() failed
util.c:331:tdserror(0x1be83bb8, 0x1be6d3c8, 20009, 111)
odbc.c:2270:msgno 20009 20003
util.c:361:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:384:tdserror: returning TDS_INT_CANCEL(2)
mem.c:615:tds_free_all_results()
error.c:412:odbc_errs_add: "Unable to connect to data source"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:566:SQLGetDiagRec: "Unable to connect: Adaptive Server is unavailable or does not exist"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:566:SQLGetDiagRec: "Unable to connect to data source"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
odbc.c:3980:SQLFreeHandle(2, 0x1be81e40)
odbc.c:4006:_SQLFreeConnect(0x1be81e40)
odbc.c:3980:SQLFreeHandle(1, 0x1be82828)
odbc.c:4050:_SQLFreeEnv(0x1be82828)
odbc.c:1454:SQLAllocHandle(1, (nil), 0x1be69b8c)
odbc.c:1543:_SQLAllocEnv(0x1be69b8c, 3)
locale.c:69:Attempting to read locales.conf file
config.c:483:Looking for section default.
config.c:540:        Found section default.
config.c:543:Got a match.
config.c:540:        Found section en_us.
config.c:540:        Found section es_es.
config.c:540:        Found section pt_br.
config.c:540:        Found section it_it.
config.c:554:        Reached EOF
config.c:483:Looking for section C.
config.c:540:        Found section default.
config.c:540:        Found section en_us.
config.c:540:        Found section es_es.
config.c:540:        Found section pt_br.
config.c:540:        Found section it_it.
config.c:554:        Reached EOF
odbc.c:1240:SQLSetEnvAttr(0x1be82a68, 200, 0x3, 0)
odbc.c:1279:SQLGetEnvAttr(0x1be82a68, 200, 0xbfcda120, 0, (nil))
odbc.c:1454:SQLAllocHandle(2, 0x1be82a68, 0x1be69b90)
odbc.c:1482:_SQLAllocConnect(0x1be82a68, 0x1be69b90)
odbc.c:527:SQLDriverConnect(0x1be81e40, (nil), DSN=knight;UID=knight;PWD=knight, -3, 0xbfcdd2c0, 1024, 0xbfcdd2be, 0)
config.c:354:... $FREETDSCONF not set.Trying $FREETDS/etc.
config.c:367:... $FREETDS not set.Trying $HOME.
config.c:293:Could not open '/root/.freetds.conf' ((.freetds.conf)).
config.c:297:Found conf file '/usr/freetds/etc/freetds.conf' (default).
config.c:483:Looking for section global.
config.c:540:        Found section global.
config.c:543:Got a match.
config.c:565:        dump file = '/tmp/freetds.log'
config.c:565:        text size = '64512'
config.c:540:        Found section egserver50.
config.c:540:        Found section myserver.
config.c:554:        Reached EOF
config.c:483:Looking for section MyServer.
config.c:540:        Found section global.
config.c:540:        Found section egserver50.
config.c:540:        Found section myserver.
config.c:543:Got a match.
config.c:565:        host = '192.168.230.2'
config.c:595:Found host entry 192.168.230.2.
config.c:599:IP addr is 192.168.230.2.
config.c:565:        port = '1433'
config.c:565:        tds version = '8.0'
config.c:788:Setting tds version to 8.0 (0x701) from $TDSVER.
config.c:565:        client charset = 'GBK'
config.c:613:tds_parse_conf_section: client charset is GBK.
config.c:554:        Reached EOF
config.c:301:Success: defined in /usr/freetds/etc/freetds.conf.
config.c:565:        port = '1433'
iconv.c:330:tds_iconv_open(0x1be6d3c8, GBK)
iconv.c:349:setting up conversions for client charset "GBK"
iconv.c:351:preparing iconv for "GBK" <-> "UCS-2LE" conversion
iconv.c:391:preparing iconv for "ISO-8859-1" <-> "UCS-2LE" conversion
iconv.c:394:tds_iconv_open: done
net.c:205:Connecting to 192.168.230.2 port 1433 (TDS version 7.1)
net.c:270:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:306:getsockopt(2) reported: Connection refused
net.c:316:tds_open_socket() failed
util.c:331:tdserror(0x1be6c728, 0x1be6d3c8, 20009, 111)
odbc.c:2270:msgno 20009 20003
util.c:361:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:384:tdserror: returning TDS_INT_CANCEL(2)
mem.c:615:tds_free_all_results()
error.c:412:odbc_errs_add: "Unable to connect to data source"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd26a, 0xbfcdd270, 0xbfcdcdcb, 513, 0xbfcdd27a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd26a, 0xbfcdd270, 0xbfcdcdcb, 513, 0xbfcdd27a)
error.c:566:SQLGetDiagRec: "Unable to connect: Adaptive Server is unavailable or does not exist"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd26a, 0xbfcdd270, 0xbfcdcdcb, 513, 0xbfcdd27a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd26a, 0xbfcdd270, 0xbfcdcdcb, 513, 0xbfcdd27a)
error.c:566:SQLGetDiagRec: "Unable to connect to data source"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd26a, 0xbfcdd270, 0xbfcdcdcb, 513, 0xbfcdd27a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd26a, 0xbfcdd270, 0xbfcdcdcb, 513, 0xbfcdd27a)
odbc.c:3980:SQLFreeHandle(2, 0x1be81e40)
odbc.c:4006:_SQLFreeConnect(0x1be81e40)
odbc.c:3980:SQLFreeHandle(1, 0x1be82a68)
odbc.c:4050:_SQLFreeEnv(0x1be82a68)
odbc.c:1454:SQLAllocHandle(1, (nil), 0x1be6a11c)
odbc.c:1543:_SQLAllocEnv(0x1be6a11c, 3)
locale.c:69:Attempting to read locales.conf file
config.c:483:Looking for section default.
config.c:540:        Found section default.
config.c:543:Got a match.
config.c:540:        Found section en_us.
config.c:540:        Found section es_es.
config.c:540:        Found section pt_br.
config.c:540:        Found section it_it.
config.c:554:        Reached EOF
config.c:483:Looking for section C.
config.c:540:        Found section default.
config.c:540:        Found section en_us.
config.c:540:        Found section es_es.
config.c:540:        Found section pt_br.
config.c:540:        Found section it_it.
config.c:554:        Reached EOF
odbc.c:1240:SQLSetEnvAttr(0x1be82a20, 200, 0x3, 0)
odbc.c:1279:SQLGetEnvAttr(0x1be82a20, 200, 0xbfcda130, 0, (nil))
odbc.c:1454:SQLAllocHandle(2, 0x1be82a20, 0x1be6a120)
odbc.c:1482:_SQLAllocConnect(0x1be82a20, 0x1be6a120)
odbc.c:527:SQLDriverConnect(0x1be81e40, (nil), DSN=knight;UID=knight;PWD=knight, -3, 0xbfcdd2d0, 1024, 0xbfcdd2ce, 0)
config.c:354:... $FREETDSCONF not set.Trying $FREETDS/etc.
config.c:367:... $FREETDS not set.Trying $HOME.
config.c:293:Could not open '/root/.freetds.conf' ((.freetds.conf)).
config.c:297:Found conf file '/usr/freetds/etc/freetds.conf' (default).
config.c:483:Looking for section global.
config.c:540:        Found section global.
config.c:543:Got a match.
config.c:565:        dump file = '/tmp/freetds.log'
config.c:565:        text size = '64512'
config.c:540:        Found section egserver50.
config.c:540:        Found section myserver.
config.c:554:        Reached EOF
config.c:483:Looking for section MyServer.
config.c:540:        Found section global.
config.c:540:        Found section egserver50.
config.c:540:        Found section myserver.
config.c:543:Got a match.
config.c:565:        host = '192.168.230.2'
config.c:595:Found host entry 192.168.230.2.
config.c:599:IP addr is 192.168.230.2.
config.c:565:        port = '1433'
config.c:565:        tds version = '8.0'
config.c:788:Setting tds version to 8.0 (0x701) from $TDSVER.
config.c:565:        client charset = 'GBK'
config.c:613:tds_parse_conf_section: client charset is GBK.
config.c:554:        Reached EOF
config.c:301:Success: defined in /usr/freetds/etc/freetds.conf.
config.c:565:        port = '1433'
iconv.c:330:tds_iconv_open(0x1be6d3c8, GBK)
iconv.c:349:setting up conversions for client charset "GBK"
iconv.c:351:preparing iconv for "GBK" <-> "UCS-2LE" conversion
iconv.c:391:preparing iconv for "ISO-8859-1" <-> "UCS-2LE" conversion
iconv.c:394:tds_iconv_open: done
net.c:205:Connecting to 192.168.230.2 port 1433 (TDS version 7.1)
net.c:270:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:306:getsockopt(2) reported: Connection refused
net.c:316:tds_open_socket() failed
util.c:331:tdserror(0x1be82420, 0x1be6d3c8, 20009, 111)
odbc.c:2270:msgno 20009 20003
util.c:361:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:384:tdserror: returning TDS_INT_CANCEL(2)
mem.c:615:tds_free_all_results()
error.c:412:odbc_errs_add: "Unable to connect to data source"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:566:SQLGetDiagRec: "Unable to connect: Adaptive Server is unavailable or does not exist"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:566:SQLGetDiagRec: "Unable to connect to data source"
error.c:585:SQLError((nil), 0x1be81e40, (nil), 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
error.c:517:SQLGetDiagRec(2, 0x1be81e40, 1, 0xbfcdd27a, 0xbfcdd280, 0xbfcdcddb, 513, 0xbfcdd28a)
odbc.c:3980:SQLFreeHandle(2, 0x1be81e40)
odbc.c:4006:_SQLFreeConnect(0x1be81e40)
odbc.c:3980:SQLFreeHandle(1, 0x1be82a20)
odbc.c:4050:_SQLFreeEnv(0x1be82a20)

ctgwglzc 发表于 2012-5-28 12:56:43

Game ODBC Open fail
是不是你数据源没建好

ligang536 发表于 2012-5-28 13:31:51

ctgwglzc 发表于 2012-5-28 12:56 static/image/common/back.gif
Game ODBC Open fail
是不是你数据源没建好

建立了2个
http://pic.qnpic.com:83/r.jsp?fn=//ctgwglzc/share/2012/5/28/11111.jpg
导入了8个
http://pic.qnpic.com:83/r.jsp?fn=//ctgwglzc/share/2012/5/28/2222.jpg
完全是按照教程走的啊

leonjaykai 发表于 2012-5-28 16:46:29

這個linux版本好像問題很多每次都不太一樣~~~所以就沒再搞了~~~哈哈

ligang536 发表于 2012-5-29 18:56:52

ctgwglzc 发表于 2012-5-28 12:56 static/image/common/back.gif
Game ODBC Open fail
是不是你数据源没建好

TDS ODBC问题 LINUX数据源没装对
这是高人给我的解释。。。。但是没空教我如何解决

ctgwglzc 发表于 2012-5-29 19:25:26

手动加下数据源看看,不要偷懒

ligang536 发表于 2012-5-29 19:30:04

ctgwglzc 发表于 2012-5-29 19:25 static/image/common/back.gif
手动加下数据源看看,不要偷懒

我去试试

骑士疯子 发表于 2012-5-30 10:41:24

首先你要告诉我,你这个是网上下载的还是自己安装的linux系统。

ligang536 发表于 2012-5-30 15:05:13

骑士疯子 发表于 2012-5-30 10:41 static/image/common/back.gif
首先你要告诉我,你这个是网上下载的还是自己安装的linux系统。

V123发的镜像。
页: [1] 2
查看完整版本: 求大神搭救。。