用户名:   自动登录 找回密码
密   码:    * 注册




发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
 文章标题 : Vmware-Tools /etc/rc.d/init.d/vmware-tools: is a directory
帖子发表于 : 2012-08-15 23:32 
离线
头像

注册: 2011-05-01 9:15
帖子: 120
在redhat中安装Vmware tool时候报错Vmware-Tools /etc/rc.d/init.d/vmware-tools: is a directory,根据错误来看是因为有这个目录, 删除该目录即可。

代码:
sh: /etc/rc.d/init.d/vmware-tools: is a directory
Making sure services for VMware Tools are stopped.

Unable to stop services for VMware Tools

Execution aborted.

[root@localhost init.d]# rm -rf vmware-tools
[root@localhost init.d]# cd /mnt/vmware-tools-distrib/
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

Uninstalling the tar installation of VMware Tools.

The removal of VMware Tools 6.0.4 build-93057 for Linux completed successfully.
Thank you for having tried this software.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 


在线用户

注册用户: 没有注册用户


查找:
前往 :  
cron
Powered by OraSql © 2011, 2012, oracle_awen