Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Running vFabric tc Server 2.7 control scripts on Ubuntu results in error: [: 88: verbose-status: unexpected operator (2030333)

Symptoms

When running the vFabric tc Server control script tcruntime-ctl.sh on an Ubuntu Linux system, you see this error: 

[: 88: verbose-status: unexpected operator

Cause

Since Ubuntu 6.10, the distribution ships with the default shell (i.e. /bin/sh) as dash (the Debian Almquist Shell).  This is different from some of the other major Linux distributions that ship with bash (the GNU Bourne-Again Shell) as the default shell.

The error listed above is due to the tcinstance-ctl.sh script referencing /bin/sh (i.e. the default shell and not always /bin/bash), while still using bash specific syntax.

Resolution

While the error does not seem to impact the operation of the script, you can easily resolve this issue by editing the tcruntime-ctl.sh script.
 
Change the first line from:
 
#!/bin/sh

to:

#!/bin/bash

Additional Information

For more information, see Ubuntu documentation.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: