【TimesTen 】No TimesTen server running原因及解决方法

遇到过两次该问题了,将两次的处理情况整理一下,一来自己备个案,二来希望能帮到需要的童鞋。
场景1:
RH EL5安装timesten7.0.5后,没有server进程和17003端口监听。
windows安装tt客户端后,无法连接tt server,经查发现tt server没有17003端口。
ttstatus查看server端状态,发现只有tt主守护进程17001端口,如下:
[root@ttserver tt70]# ttstatus
TimesTen status report as of Thu Dec  2 23:13:45 2010
Daemon pid 8061 port 17001 instance tt70
No TimesTen server running
No TimesTen webserver running

另外,此时tt server端本地访问正常。

原因及解决方法:
linux没有安装gcc。安装后问题解决。

场景2:
今天再一次遇到No TimesTen server running的情况。
当装完一台ttserver服务器后,在另一台机器配置好客户端连接这台通道服务器时,发现无法连接,报错:
[root@ttserver src]# ttisqlcs dscs

Copyright (c) 1996-2008, Oracle.  All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
All commands must end with a semicolon character.



connect "DSN=dscs";
08001: Unable to connect to data source (DSN: dscs; Network Address: 192.168.2.102; Port Number: 17003). EINPROGRESS: invalid socket call, a blocking function is already active.
The command failed.
Done.

执行ttstatus查看,如下:
[root@ttserver opt]# ttstatus
TimesTen status report as of Tue Dec 13 15:30:03 2011

Daemon pid 1410 port 17001 instance tt70
No TimesTen server running
TimesTen webserver pid 1417 started on port 17005

与上次不同的是,这次的TimesTen webserver运行正常。

原因及解决方法:
/etc/hosts文件中在127.0.0.1回环地址行没有添加主机名,添加后即可。
[root@ttserver opt]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       ttserver    localhost.localdomain localhost
::1                                        localhost6.localdomain6 localhost6

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12355989/viewspace-713243/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12355989/viewspace-713243/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值