寻觅生命中的那一片浅草......

Vmware-server目标主机积极拒绝,无法连接

昨天重启了Linux服务器,服务器上装了结果在XP下无法用VMware Server Console远程连过去,一直显示“目标主机积极拒绝,无法连接”,迫于无奈,用命令行启动了虚拟机,下班后继续Google,找到了这篇文章,用service xinetd status查看xinetd是关着的,用service xinetd start就可以打开了。


Vmware-server 安装过程问题

今天安装VMware-server-1.0.3遇到不少问题,让我熟悉了”目标主机积极拒绝,无法连接”,以前安装读非常顺利,今天就这么特别,KAO.
这次用的centos5 X64位的系统,可能的因素应该就是他,安装过程提示xinetd未安装,那我就
yum install xinetd
安装嘛.安装好后再次安装vmware,到最后出现
Starting VMware services:
Virtual machine monitor
done
Virtual ethernet done
Bridged networking on /dev/vmnet0
done
Host-only networking on /dev/vmnet1 (background) done
Bridged
networking on /dev/vmnet2 done
Host-only networking on /dev/vmnet8
(background) done
NAT service on /dev/vmnet8 done
Virtual ethernet
failed
经过网上查呀查,发现是vmware-player 服务引起的,并在/etc/vmware/目录下产生了not_configured文件,
具体地址是:http://www.debuntu.org/vmware-server-not-starting-after-reboot
按照这方法操作完,reboot,无效.他NND,邪门了真是.因为以前32位的系统安装都没问题的,所以就去32位的系统上查查了,费了9牛2虎之力,终于发现现在的机器缺少一个vmnet的模块,如
[root@localhost ~]# lsmod|grep vmnet
# vmnet                 106288  13
难道是这模块没有编译通过?把32位系统的vmnet.ko复制到64位系统上加载此模块,失败.郁闷了..
执行vmware-uninstall.pl
把vmware卸了先,重新安装,这次/lib/modules/2.6.18-8.el5/misc终于看见vmnet.ko
vmnet.o两个文件了,安装完毕,启动服务过程先前的问题消失.
新的问题来鸟,ifconfig能看到启动的vmnet1和vmnet8设备,用VMware-console却连接不上…
telnet IP xinetd_port(telnet 125.65.110.121
904)
能连接,出现
220 VMware Authentication Daemon Version 1.10: SSL Required,
MKSDisplayProtocol:
VNC
说明vmware服务对外对了,怎么VMware-console就是出现”目标主机积极拒绝,无法连接”
再一次进32位的系统,检查他的xinetd分配给vmware端口居然是902,现在装的杂就变成904了呢….
2话不说,将现在的机器xinetd分配给vmware端口改为902
vi /etc/xinetd.d/vmware-authd
# default: on
# # description: The VMware remote access authentification daemon
# service vmware-authd
# {
#     disable         = no
#     port            = 902
#     socket_type     = stream
#     protocol        = tcp
#     wait            = no
#     user            = root
#     server          = /usr/sbin/vmware-authd
#     type            = unlisted
# }
重新启动xinetd,
oh….能连接了.

转载的:本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31547/showart_1082299.html

尚无评论

发表评论

2024年三月
« 5月    
 123
45678910
11121314151617
18192021222324
25262728293031