VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
2 Replies Last post: Oct 9, 2009 4:38 AM by erlingre  

vmware-config-tools.pl hangs forever posted: Oct 9, 2009 12:21 AM

Click to view erlingre's profile Lurker 3 posts since
Oct 9, 2009
Hello,


The linux-group at work is responsible for upgrading VMware-tools of all our virtual Linuxservers. Currently we
have about 350 servers running RHEL 4 and RHEL 5 so we need an effective way of doing this with as little manual work as possible.

I have recently tried to use Red Hat Satellite Server for automating this by scheduling remote execution
of vmware-config-tools.pl after the vmware-tools RPM has been upgraded.
This works at times, but not reliably. Several times I have encountered that vmware-config-tools.pl -d
hangs forever (usually killed after an hour as it bogs down the CPU).

I have used strace to attach to the pid of vmware-config-tools and the following output is repeated as long as the process is executing:

stat("/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0stat("/usr/bin/", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0stat("/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0stat("/usr/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0read(0, "", 4096) = 0stat("/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0stat("/usr/bin/", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0stat("/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0stat("/usr/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0read(0, "", 4096) = 0stat("/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0stat("/usr/bin/", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0stat("/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0stat("/usr/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0read(0, "", 4096) = 0stat("/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0stat("/usr/bin/", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0stat("/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0stat("/usr/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0

Do you have any suggestions for what kind of issue I'm encountering here?

Thanks,

Erling

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities