vmware / open-vm-tools

Official repository of VMware open-vm-tools project
http://sourceforge.net/projects/open-vm-tools/
2.26k stars 427 forks source link

Installer/VGAuthService does not create /var/run/vmware/ and thus fails to launch with an error 2. #167

Open awkohr opened 7 years ago

awkohr commented 7 years ago

Please modify either the rpm based Installer or the VGAuthService to create a "/var/run/vmware/" directory if one is missing on the box.

On two different pre-existing RHEL 6.9 boxes VGAuthService is failing to launch because /var/run/vmware does not exist on the box.

The boot shows "Starting VGAuthService: [Failed] messages and /var/log/vmware-vgauthsvc.log.0 has "[ warning] [VGAuthService] ServiceDaemonize: Couldn't open PID path [/var/run/vmware/vgauthsvclog_pid.txt], error 2." / "[ warning] [VGAuthService] main: failed to daemonize"

If I manually mkdir /var/run/vmware with 755 permissions, and restart the box it VGAuthService starts correctly.

More information. I am installing open-vm-tools.x86_64 10.1.5-6.el6 from the fedora project's Extra Packages for Enterprise Linux 6 (epel) repo into two different redhat 6.9 (2.6.32-696.3.1.el6.x86_64 #1 SMP Thu Apr 20 11:30:02 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux) boxes.

Additionally I previously had vmware's vmware tools installed which I uninstalled using /usr/bin/vmware-uninstall-tools.pl prior to using yum to install the open-vm-tools.

Other users have had this problem https://forum.efa-project.org/viewtopic.php?f=13&t=2277

jauling commented 6 years ago

I'm almost certain this needs escalation to Redhat, and not here. See here: https://bugzilla.redhat.com/buglist.cgi?component=open-vm-tools&product=Fedora%20EPEL

Still happening in the 10.1.5 version.