Die Foren-SW läuft ohne erkennbare Probleme. Sollte doch etwas nicht funktionieren, bitte gerne hier jederzeit melden und wir kümmern uns zeitnah darum. Danke!

[geloest] Probleme nach VMWare-Tools Update - unary operator

Alles zum Virtualisierungsmanagement und Servermanagement, was nicht direkt in ein festes Version-Schema paßt.

Moderatoren: Dayworker, irix

Member
Beiträge: 17
Registriert: 05.03.2008, 12:55

[geloest] Probleme nach VMWare-Tools Update - unary operator

Beitragvon ds2k5 » 01.07.2014, 10:04

Hi,
habe Fedora Linux 17 (64bit) in einer VMWare Virtual Maschine am laufen.
Jetzt habe ich Update der VMWare Tools auf Version 9.0.11.32667 (build-1743336)
gemacht, aber... es schlägt fehl.

# ./vmware-install.pl
...
...
Creating a new initrd boot image for the kernel.
Starting vmware-tools (via systemctl): Job failed. See system journal and 'systemctl status' for details.
[FAILED]
Unable to start services for VMware Tools

Execution aborted.



# systemctl status vmware-tools
vmware-tools.service - SYSV: Manages the services needed to run VMware software
Loaded: loaded (/etc/rc.d/init.d/vmware-tools)
Active: failed (Result: exit-code) since Tue, 01 Jul 2014 07:44:34 +0200; 4min 35s ago
Process: 14605 ExecStart=/etc/rc.d/init.d/vmware-tools start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/vmware-tools.service
â 790 /usr/sbin/vmtoolsd

Jul 01 07:44:33 localhost vmware-tools[14605]: Checking acpi hot plug[ OK ]
Jul 01 07:44:33 localhost vmware-tools[14605]: Starting VMware Tools services in the virtual machine:
Jul 01 07:44:33 localhost vmware-tools[14605]: Switching to guest configuration:[ OK ]
Jul 01 07:44:34 localhost vmware-tools[14605]: VM communication interface:[ OK ]
Jul 01 07:44:34 localhost vmware-tools[14605]: VM communication interface socket family:[ OK ]
Jul 01 07:44:34 localhost vmware-tools[14605]: /etc/rc.d/init.d/vmware-tools: line 1145: [: =: unary operator expected
Jul 01 07:44:34 localhost vmsvc[14800]: [ warning] [vmsvc] Hostinfo_Daemonize: Lock held on PID path [/var/run/vmtoolsd.pid], error 11, not daemonizing.
Jul 01 07:44:34 localhost vmware-tools[14605]: Guest operating system daemon:[FAILED]


Wenn ich die Datei: /var/run/vmtoolsd.pid lösche

# systemctl start vmware-tools
# systemctl status vmware-tools
vmware-tools.service - SYSV: Manages the services needed to run VMware software
Loaded: loaded (/etc/rc.d/init.d/vmware-tools)
Active: active (running) since Tue, 01 Jul 2014 08:07:04 +0200; 12min ago
Process: 8170 ExecStart=/etc/rc.d/init.d/vmware-tools start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/vmware-tools.service
â 790 /usr/sbin/vmtoolsd
â 8375 /usr/sbin/vmtoolsd

Jul 01 08:07:04 localhost vmware-tools[8170]: Checking acpi hot plug[ OK ]
Jul 01 08:07:04 localhost vmware-tools[8170]: Starting VMware Tools services in the virtual machine:
Jul 01 08:07:04 localhost vmware-tools[8170]: Switching to guest configuration:[ OK ]
Jul 01 08:07:04 localhost vmware-tools[8170]: VM communication interface:[ OK ]
Jul 01 08:07:04 localhost vmware-tools[8170]: VM communication interface socket family:[ OK ]
Jul 01 08:07:04 localhost vmware-tools[8170]: /etc/rc.d/init.d/vmware-tools: line 1145: [: =: unary operator expected
Jul 01 08:07:04 localhost vmware-tools[8170]: Guest operating system daemon:[ OK ]


Im VSphere Client sehe ich: VMWare Tools: not running


Wie kann man das beheben?

Danke

Member
Beiträge: 88
Registriert: 23.05.2013, 22:14

Beitragvon vl13 » 01.07.2014, 11:25

Ist das evtl. ein ueberbleibsel von den alten tools?

Bei den neuen Tool habe ich auf RHEL systemen jetzt ein script das als /etc/init/vmware-tools.conf installiert ist?.

Code: Alles auswählen

description     "VMware Tools services"
author          "VMware, Inc."

# Be sure to block the display managers until our job has completed.  This
# is to make sure our kernel services are running before vmware-user
# may launch.
start on runlevel [235] or starting gdm or starting kdm or starting prefdm
stop on runlevel [06]

pre-start exec /etc/vmware-tools/services.sh start
post-stop exec /etc/vmware-tools/services.sh stop

Member
Beiträge: 17
Registriert: 05.03.2008, 12:55

Beitragvon ds2k5 » 01.07.2014, 11:27

danke,

die Lösung war alte vmtoolsd prozesse killen.
neu starten dann ging alles


Zurück zu „vCenter / VMware VirtualCenter“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste