12
返回列表 发新帖
楼主: lilyone

[unix]关于无法telnet remote system的问题

[复制链接]
论坛徽章:
0
11#
 楼主| 发表于 2002-4-19 14:37 | 只看该作者

results

netstat -an|grep LISTEN|grep 23
*.23  *.*  0  0  0     0LISTEN
ifconfig -a
lo0:flages=849<up,loopback,running,multicast>mtu 8232 inet 127.0.0.1 netmask ff000000
le0:flages=864<up,broadcast,notaillers,running,multicast>mtu 8232 inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx boradcast xxx.xxx.xxx.xxx ether 8:020:88:d2:f
我看了看,没有看出有什么问题
但是我开始怀疑是网关的问题,但是我一直没有找到设置网关的文件在那里,只是知道命令,请指点。

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
12#
发表于 2002-4-19 15:53 | 只看该作者
/etc/defaultrouter

使用道具 举报

回复
论坛徽章:
0
13#
 楼主| 发表于 2002-4-19 16:55 | 只看该作者

defaultrouter也设置好了!

但是还是不行,怎么回事么,我真是迷茫了。

使用道具 举报

回复
论坛徽章:
0
14#
发表于 2002-4-20 02:56 | 只看该作者

Re: 提示

Two things:
1. Make sure inetd is running there : ps -ef |grep inetd
2. Port 23 reserved for telnet in /etc/services; check /etc/inetd.conf also

If all looks right, try telnet to other hosts from itself If okay, then the gateway/router should be out of your scope.

最初由 lilyone 发布
[B]the remote system refused to  connection, this probably means that the remote systeme dose not privode
the service you are attemption to access ,or that the service is being to privoded on the diferent port。
就着这些经常见到的提示。 [/B]

使用道具 举报

回复
论坛徽章:
0
15#
 楼主| 发表于 2002-4-23 07:49 | 只看该作者

问题可能是这样的

因为hosts内定义的主机名和hostname.le0中定义的主机名不一致
所以启动的时候,就不能正常通信了
default route(gateway)就会被误认为是127.0.0.1
我的系统的cde现在根本启动不来了,我也不知道修改后是不是就正常了,但是问题可能就在这里。

使用道具 举报

回复
论坛徽章:
0
16#
发表于 2002-4-23 22:03 | 只看该作者

you may try /usr/sbin/sys-unconfig

In order to get all the system/network configs cleaned up and re-configed, you can try sys-unconfig cmd. BUT, make sure you have all the related info at hand, such as hostname/ip/netmask, dns and/or nis, dns server name/ip, nis server name/ip, default router etc etc, BEFORE running this cmd.
Re-start the node into single user mode, run the cmd and it will warn you that rebooting is unavoidable...... and then the machine will reboot and ask for the config info on the console. Just follow the instructions there and it should lead you throught the whole config procedure.

使用道具 举报

回复
论坛徽章:
0
17#
发表于 2002-4-23 22:18 | 只看该作者

你可以检查一下resolv.conf 文件,注销你面的内容。

试试看

使用道具 举报

回复
论坛徽章:
2
授权会员
日期:2005-10-30 17:05:33ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41
18#
发表于 2002-4-24 13:46 | 只看该作者
查查看有没有配firewall
我在linux中遇到过,和你说的现象一样,在本机上能启动telnet,在其它机器上能PING通,但无法telnet ,我把firewall关了就好用了。

使用道具 举报

回复
论坛徽章:
0
19#
发表于 2002-4-24 15:41 | 只看该作者
我也遇到过这种问题。应该是rpc进程引起的。看看你主机上的rpc进程有没有启起来。再在/etc/rc2.d里设置一下使系统每次启动自动启rpc进程

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表