祝愿大家身体健康!

 站点注册  找回密码
 站点注册

QQ登录

只需一步,快速开始

查看: 12499|回复: 21

[求助]ISQL不能连接数据库

[复制链接]

[求助]ISQL不能连接数据库

[复制链接]
xolbm

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-9 19:28:32 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?站点注册

×

 

系统平台为WINDOWS SEVER 2003,SYBASE是12.5.1,用isql -Usa -Ppassword -Ssystem

连接数据库时,提示:

CS-LIBRARY error:

       ct_init(): network packet layer: internal net library error: Failed to open Net-Library localization file 

Attempting to obtain a localized error message failed.

我是一个初学者,恳请各位大虾帮忙看看这是什么原因!上面的提示是啥意思呀?谢谢先.

共享共进共赢Sharing And Win-win Results
SYBASEBBS - 免责申明1、欢迎访问“SYBASEBBS.COM”,本文内容及相关资源来源于网络,版权归版权方所有!本站原创内容版权归本站所有,请勿转载!
2、本文内容仅代表作者观点,不代表本站立场,作者自负,本站资源仅供学习研究,请勿非法使用,否则后果自负!请下载后24小时内删除!
3、本文内容,包括但不限于源码、文字、图片等,仅供参考。本站不对其安全性,正确性等作出保证。但本站会尽量审核会员发表的内容。
4、如本帖侵犯到任何版权问题,请立即告知本站 ,本站将及时删除并致以最深的歉意!客服邮箱:admin@sybasebbs.com
ehxz

主题

0

回帖

59万

积分

管理员

积分
590911
贡献
在线时间
小时
2006-5-9 20:01:22 | 显示全部楼层
是不是服务没有启动啊?给SYBASE打上最新补丁再试试看。
共享共进共赢Sharing And Win-win Results
xolbm 楼主

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-9 20:41:51 | 显示全部楼层
ehxz,谢谢你解答,我是菜鸟问题有点多和低级哈!
你说的是哪个服务没启动呀?我的应用程序能正常使用,但在服务管理那里有Sybase BCKServer  Sybase MONServer Sybase SQLServer Sybase XPServer四个服务不能被启动,提示:错误1067,进程意外终止。我本想通过ISQL命令检查和备份数据库并启动以上服务,能不能实现呀?
打补丁会不会损坏数据库呀?我的数据库较重要,没有备过份呀。
共享共进共赢Sharing And Win-win Results
flybean

主题

0

回帖

595

积分

管理员

积分
595
贡献
在线时间
小时
2006-5-10 09:03:21 | 显示全部楼层
服务没启动,怎么可能用ISQL?
贴错误日志
共享共进共赢Sharing And Win-win Results
xolbm 楼主

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-10 11:12:22 | 显示全部楼层
00:00000:00000:2006/05/09 08:47:29.04 kernel  Checked out license ASE_SBE
00:00000:00000:2006/05/09 08:47:29.07 kernel  Adaptive Server Small Business Edition
00:00000:00000:2006/05/09 08:47:29.42 kernel  Using config area from primary master device.
00:00000:00000:2006/05/09 08:47:29.50 kernel  Warning: Using default file 'C:\sybase\JYFYZJ.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2006/05/09 08:47:29.71 kernel  Using 100000 file descriptors.
00:00000:00000:2006/05/09 08:47:29.78 kernel  Adaptive Server Enterprise/12.5.0.1/SWR 10291 IR/P/NT (IX86)/OS 4.0/rel12501/1778/32-bit/OPT/Fri May 17 00:59:18 2002
00:00000:00000:2006/05/09 08:47:29.78 kernel  Confidential property of Sybase, Inc.
00:00000:00000:2006/05/09 08:47:29.78 kernel  Copyright 1987, 2002
00:00000:00000:2006/05/09 08:47:29.78 kernel  Sybase, Inc.  All rights reserved.
00:00000:00000:2006/05/09 08:47:29.78 kernel  Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2006/05/09 08:47:29.78 kernel 
00:00000:00000:2006/05/09 08:47:29.78 kernel  This software contains confidential and trade secret information of Sybase,
00:00000:00000:2006/05/09 08:47:29.78 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
00:00000:00000:2006/05/09 08:47:29.78 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
00:00000:00000:2006/05/09 08:47:29.78 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
00:00000:00000:2006/05/09 08:47:29.78 kernel  agreement  specifying  the  Government's rights to use the software and any
00:00000:00000:2006/05/09 08:47:29.78 kernel  applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2006/05/09 08:47:29.78 kernel  Sybase, Inc. 5000 Hacienda Drive, Dublin, CA 94568, USA
00:00000:00000:2006/05/09 08:47:29.78 kernel  Using 'C:\sybase\JYFYZJ.cfg' for configuration information.
00:00000:00000:2006/05/09 08:47:29.78 kernel  Logging ASE messages in file 'C:\sybase\ASE-12_5\install\errorlog'.
00:00000:00000:2006/05/09 08:47:29.81 kernel  Initializing MSDTC Connection
00:00000:00000:2006/05/09 08:47:31.92 kernel  MSDTC Initialization succeeded
00:00000:00000:2006/05/09 08:47:31.92 kernel  kdcl_sess_open: connectivity library supports master/query syntax.
00:00000:00000:2006/05/09 08:47:31.93 kernel  Directory Control Layer (DCL) using directory driver: InterfacesDriver
00:00000:00000:2006/05/09 08:47:31.93 kernel  *** WARNING ******************
00:00000:00000:2006/05/09 08:47:31.93 kernel  Operating system may favor the system cache when memory is at a premium.
 To disable this warning, set the registry parameter 'LargeSystemCache' to 0 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.
00:00000:00000:2006/05/09 08:47:31.93 kernel  SQL Server NT process id is 0x7e4.
00:00000:00000:2006/05/09 08:47:31.93 kernel  SQL Server was started as a Service.
00:00000:00000:2006/05/09 08:47:31.95 kernel  SSL Plus v3.0.9 security modules loaded successfully.
00:00000:00000:2006/05/09 08:47:31.95 kernel  Network and device connection limit is 99992.
00:00000:00000:2006/05/09 08:47:32.18 server  Number of blocks left for proc headers: 3232.
00:00000:00000:2006/05/09 08:47:32.18 server  Proc header memory allocated 1616 pages for each per engine cache
00:00000:00000:2006/05/09 08:47:32.20 server  Memory allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2006/05/09 08:47:32.20 server  Size of the 2K memory pool: 8192 Kb
00:00000:00000:2006/05/09 08:47:32.20 kernel  Initializing virtual device 0, 'C:\sybase\data\master.dat' with dsync 'on'.
00:00000:00000:2006/05/09 08:47:32.20 kernel  Virtual device 0 started using asynchronous i/o.
00:00000:00000:2006/05/09 08:47:32.20 kernel  Worker Thread Manager is not enabled for use in SQL Server.
00:00000:00000:2006/05/09 08:47:32.20 kernel  Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
00:00000:00000:2006/05/09 08:47:32.21 kernel  engine 0, os pid 1788  online
00:00000:00000:2006/05/09 08:47:32.25 server  No active traceflags
00:00000:00001:2006/05/09 08:47:32.42 kernel  libomni1 - Component Integration Services loaded; version 'libomni1 - Component Integration Services/12.5.0.1/SWR 10291 IR/P/NT (IX86)/OS 4.0/rel12501/1778/32-bit/OPT/Fri May 17 00:59:18 2002'.
00:00000:00001:2006/05/09 08:47:32.42 kernel  libomni1 - Component Integration Services: using 'Sybase Client-Library/12.5/P-EBF9966/PC Intel/BUILD125-011/OPT/Mon Dec 03 14:56:19 2001'
00:00000:00001:2006/05/09 08:47:32.42 server  Opening Master Database ...
00:00000:00001:2006/05/09 08:47:32.65 server  Loading SQL Server's default sort order and character set
00:00000:00001:2006/05/09 08:47:32.65 server  Loaded default Unilib conversion handle.
00:00000:00001:2006/05/09 08:47:32.71 server  Recovering database 'master'.
00:00000:00001:2006/05/09 08:47:32.92 server  Redo pass of recovery has processed 403 committed and 0 aborted transactions.
00:00000:00001:2006/05/09 08:47:33.09 server  Checking external objects.
00:00000:00001:2006/05/09 08:47:33.18 server  Database 'master' is now online.
00:00000:00001:2006/05/09 08:47:33.18 server  The transaction log in the database 'master' will use I/O size of 2 Kb.
00:00000:00001:2006/05/09 08:47:33.20 server  Warning: ASE_HA has no valid license and therefore is not initialized.
00:00000:00001:2006/05/09 08:47:33.21 server  server is unnamed
00:00000:00001:2006/05/09 08:47:33.21 server  Activating disk 'erm' of size 1996488704 bytes.
00:00000:00001:2006/05/09 08:47:33.21 kernel  Initializing virtual device 2, 'd:\erm_data\erm.dat' with dsync 'on'.
00:00000:00001:2006/05/09 08:47:33.21 kernel  Virtual device 2 started using asynchronous i/o.
00:00000:00001:2006/05/09 08:47:33.21 server  Activating disk 'ermlog' of size 2089779200 bytes.
00:00000:00001:2006/05/09 08:47:33.21 kernel  Initializing virtual device 3, 'd:\erm_data\ermlog.dat' with dsync 'on'.
00:00000:00001:2006/05/09 08:47:33.21 kernel  Virtual device 3 started using asynchronous i/o.
00:00000:00001:2006/05/09 08:47:33.21 server  Activating disk 'sysprocsdev' of size 125829120 bytes.
00:00000:00001:2006/05/09 08:47:33.21 kernel  Initializing virtual device 1, 'C:\sybase\data\sybprocs.dat' with dsync 'on'.
00:00000:00001:2006/05/09 08:47:33.21 kernel  Virtual device 1 started using asynchronous i/o.
00:00000:00001:2006/05/09 08:47:33.45 server  Recovering database 'sybsystemdb'.
00:00000:00001:2006/05/09 08:47:33.46 server  Redo pass of recovery has processed 0 committed and 1 aborted transactions.
00:00000:00001:2006/05/09 08:47:33.56 server  Boot Count: 12
00:00000:00001:2006/05/09 08:47:33.62 server  Checking external objects.
00:00000:00001:2006/05/09 08:47:33.62 server  The transaction log in the database 'sybsystemdb' will use I/O size of 2 Kb.
00:00000:00001:2006/05/09 08:47:33.64 server  Database 'sybsystemdb' is now online.
00:00000:00001:2006/05/09 08:47:33.67 server  Recovering database 'model'.
00:00000:00001:2006/05/09 08:47:33.71 server  Checking external objects.
00:00000:00001:2006/05/09 08:47:33.73 server  The transaction log in the database 'model' will use I/O size of 2 Kb.
00:00000:00001:2006/05/09 08:47:33.73 server  Database 'model' is now online.
00:00000:00001:2006/05/09 08:47:33.73 server  The logical pagesize of the server is 2 Kb.
00:00000:00001:2006/05/09 08:47:33.73 server  0 dump conditions detected at boot time
00:00000:00001:2006/05/09 08:47:33.75 server  Resident Node id: de9567164c55
00:00000:00001:2006/05/09 08:47:33.75 server  Transaction coordinator initialized.
00:00000:00001:2006/05/09 08:47:33.75 server  Clearing temp db
00:00000:00001:2006/05/09 08:47:34.84 server  The transaction log in the database 'tempdb' will use I/O size of 2 Kb.
00:00000:00001:2006/05/09 08:47:34.85 server  Database 'tempdb' is now online.
00:00000:00001:2006/05/09 08:47:34.89 server  Recovering database 'sybsystemprocs'.
00:00000:00001:2006/05/09 08:47:35.18 server  Checking external objects.
00:00000:00001:2006/05/09 08:47:35.20 server  The transaction log in the database 'sybsystemprocs' will use I/O size of 2 Kb.
00:00000:00001:2006/05/09 08:47:35.20 server  Database 'sybsystemprocs' is now online.
00:00000:00002:2006/05/09 08:47:35.21 kernel  network name 192.168.0.60, type ether, port 5000, filter NONE
00:00000:00001:2006/05/09 08:47:35.34 server  Recovering database 'erm'.
00:00000:00001:2006/05/09 08:47:35.50 server  Redo pass of recovery has processed 46 committed and 2 aborted transactions.
00:00000:00001:2006/05/09 08:47:36.48 server  Checking external objects.
00:00000:00001:2006/05/09 08:47:36.48 server  The transaction log in the database 'erm' will use I/O size of 2 Kb.
00:00000:00001:2006/05/09 08:47:36.51 server  Database 'erm' is now online.
00:00000:00001:2006/05/09 08:47:36.53 server  Recovery complete.
00:00000:00001:2006/05/09 08:47:36.53 server  SQL Server's default unicode sort order is 'binary'.
00:00000:00001:2006/05/09 08:47:36.53 server  SQL Server's default sort order is:
00:00000:00001:2006/05/09 08:47:36.53 server   'bin_cp850' (ID = 50)
00:00000:00001:2006/05/09 08:47:36.53 server  on top of default character set:
00:00000:00001:2006/05/09 08:47:36.53 server   'cp850' (ID = 2).
00:00000:00001:2006/05/09 08:47:36.53 server  Master device size: 30 megabytes, or 15360 virtual pages. (A virtual page is 2048 bytes.)
共享共进共赢Sharing And Win-win Results
flybean

主题

0

回帖

595

积分

管理员

积分
595
贡献
在线时间
小时
2006-5-10 11:28:21 | 显示全部楼层
服务已经启动,用DSEDIT ping 一下。检查环境变量
共享共进共赢Sharing And Win-win Results
xolbm 楼主

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-10 11:29:32 | 显示全部楼层
日志已贴上楼,谢谢flybean,ehxz等各位大大帮忙看看,谢谢!
共享共进共赢Sharing And Win-win Results
xolbm 楼主

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-10 11:56:39 | 显示全部楼层

我运行DSEDIT后,里面的SERVER等栏咋都是空的呀??

共享共进共赢Sharing And Win-win Results
xolbm 楼主

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-10 12:00:22 | 显示全部楼层

我运行DSEDIT后,里面的SERVER,path,attributes等栏咋都是空的呀??

共享共进共赢Sharing And Win-win Results
flybean

主题

0

回帖

595

积分

管理员

积分
595
贡献
在线时间
小时
2006-5-10 12:16:42 | 显示全部楼层
检查 interfaces 文件,WINDOWS下是%SYBASE%/sql/sql.ini,UNIX下为$SYBASE/interfaces
共享共进共赢Sharing And Win-win Results
xolbm 楼主

主题

0

回帖

7

积分

新手上路

积分
7
贡献
在线时间
小时
2006-5-10 16:15:15 | 显示全部楼层

在sybase/ini下找到sql.ini文件,其内容为:

[JYFYZJ]

master=NLWNSCK,192.168.0.60,5000

query=NLWNSCK,192.168.0.60,5000

[JYFYZJ_XP]

master=NLWNSCK,192.168.0.60,6000

query=NLWNSCK,192.168.0.60,6000

[JYFYZJ_BS]

master=NLWNSCK,192.168.0.60,4000

query=NLWNSCK,192.168.0.60,4000

[JYFYZJ_BS_]

master=NLWNSCK,192.168.0.60,4000

query=NLWNSCK,192.168.0.60,4000

这个文件有问题吗?

共享共进共赢Sharing And Win-win Results
flybean

主题

0

回帖

595

积分

管理员

积分
595
贡献
在线时间
小时
2006-5-10 17:09:31 | 显示全部楼层
没有问题,检查sybase环境变量
共享共进共赢Sharing And Win-win Results
您需要登录后才可以回帖 登录 | 站点注册

本版积分规则

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com

QQ|Archiver|PowerBuilder(PB)BBS社区 ( 鲁ICP备2021027222号-1 )

GMT+8, 2024-12-23 11:02 , Processed in 0.043056 second(s), 7 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表