Google cloud sql proxy problems

I’m trying to install and use google cloud sql proxy to run migrations on a deployment. As per the documentation https://cloud.google.com/sql/docs/external when I run

sudo ./cloud_sql_proxy -dir=/cloudsql -fuse -credential_file=path/to/keyfile &
I get this error message:
mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first Could not start fuse directory at "/cloudsql": cannot mount "/cloudsql": fusermount: exit status

So, I tried to run modprobe fuse and got this error message:
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-85-generic/modules.dep.bin'

Has anyone gotten google cloud sql proxy successfully running on a deployment? I’m using Ubuntu 14.04 with docker and elasticsearch services.

2 Likes