Nikos Berdos
Nikos Berdos

Reputation: 161

vmc tunnel cannot start the client

I cannot tunnel any service on my CloudFoundry (api.vcap.me) installation. The tunelling works fine in api.cloudfoundry.com. I have upgraded ruby and vmc to ruby 1.9.2p290 and vmc 0.3.18 but the problem persists.

I get the same error for both mongodb and mysql. Both clients are in my PATH.

C:>vmc tunnel

1: mongodb-test

2: mysql-test

Which service to tunnel to?: 2 Getting tunnel connection info: OK

Service connection info: username : u42J7Gge9HdRW password : pUfd7tnVA4Ps8 name : d5afd08fb7fe9423f93ae6883a586c847

Starting tunnel to mysql-test on port 10000. 1: none 2: mysql 3: mysqldump Which client would you like to start?: 2 Launching 'mysql --protocol=TCP --host=localhost --port=10000 --user=u42J7Gge9HdRW --password=pUfd7tnVA4Ps8 d5afd08fb7fe9423f93ae6883a586c847'

ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 Error: 'mysql' execution failed; is it in your $PATH?

Upvotes: 0

Views: 637

Answers (1)

Nikos Berdos
Nikos Berdos

Reputation: 161

A new CloudFoundry server have been installed on a similar machine with Ubuntu 10. Tunelling with cadlecott works OK now. The problem remains on the previous CF server.

Upvotes: 1

Related Questions