Gsutil not getting configured

168 views
Skip to first unread message

nighttra...@gmail.com

unread,
Nov 3, 2012, 7:24:04 AM11/3/12
to gsutil-...@googlegroups.com
Hi Team,

          I have downloaded gsutil(which i need to interct with cloud storage) from

https://developers.google.com/storage/docs/gsutil_install
and then installed according as per instructions

I also have set path in .bashrc file as
export PATH=$HOME/vishal/Downloads/gsutil:${PATH} (it is path where my gsutil is installed)
still when i am giving
vishal@XXXX:~$ gsutil config

the output it is displaying as follows
No command was given.

Choose one of -b, -d, -e, or -r to do something.
Try `/usr/bin/gsutil --help' for more information.
Please suggest me what is wrong?

Thanks

Mike Schwartz (Google Storage Team)

unread,
Nov 3, 2012, 11:33:07 AM11/3/12
to gsutil-...@googlegroups.com
Hi Vishal,

Per the discussion we had in the issue you opened on this problem, it looks to me like you have both the Google Cloud Storage gsutil tool and the "GrandStream BudgeTone 100 VOIP and GS2000 phones" gsutil tool installed, and that you have the GrandStream tool first in your path. This error is happening because that PATH arrangement is causing you to run the GrandStream tool, which apparently expects one of those command line arguments to be specified. So, please try changing the order in your PATH so the Google Cloud Storage gsutil is first, i.e.:

export PATH=$HOME/vishal/Downloads/gsutil:${PATH}

Then try running gsutil again.

If that doesn't work, please let us know.

Mike

Mike Schwartz (Google Storage Team)

unread,
Nov 3, 2012, 11:54:47 AM11/3/12
to gsutil-...@googlegroups.com
Vishal,

One more thought: It's possible you're re-setting your path someone else in your .profile (or .bashrc), again causing the GrandStream tool to be first in the path. Moreover, I'm not sure which tool you have installed at $HOME/vishal/Downloads/gsutil. So please do this:

1. Download the Google Cloud Storage gsutil tool from
2. Unpack that zip file or tarball into your home directory:
cd
unzip gsutil.zip

3. Run gsutil by specifying the fully-qualified path to the tool you just unpacked to your home directory, i.e.:

~/gsutil/gsutil

That way we take the PATH out of the question. Once you have gsutil working this way, you can work on getting the right PATH set up.

Mike

Mark McGoldrick

unread,
Nov 4, 2012, 12:04:38 AM11/4/12
to gsutil-...@googlegroups.com
I am curious if google storage can be installed without root on a CGI enabled server.  I can get root if required.  I have a server with excess capacity and am looking for a good ftp replacement.  I am probably off topic but I'd like a starting point if possible.  I know you can use gsutil with s3 but a generic server I am not sure about.  Kernel is 2.4 modified slackware. 
Thanks for the advice.
 
Thanks,
 
Mark

Mike Schwartz (Google Storage Team)

unread,
Nov 5, 2012, 10:08:05 AM11/5/12
to gsutil-...@googlegroups.com, Google Storage Team
Hi Mark,

gsutil doesn't need to run as root.

Mike Schwartz
Reply all
Reply to author
Forward
0 new messages