Menu

ERROR: Configuration file not available

mdesign
2010-11-11
2013-02-19
  • mdesign

    mdesign - 2010-11-11

    Hi, I'm using s3cmd version 0.9.9.91 and I just configured it yesterday. When I run s3cmd -configure I can go through the whole configuration process fine, and it puts my .s3cfg file in /root/.s3cfg. When the script tried to run last night it wasn't able to find the configuration file. I was sent an email that read:

    ERROR: /.s3cfg: No such file or directory
    ERROR: Configuration file not available.
    ERROR: Consider using -configure parameter to create one.

    If I manually move .s3cfg one level up out of the root folder and type s3cmd at a prompt, terminal shows:

    ERROR: /root/.s3cfg: No such file or directory
    ERROR: Configuration file not available.
    ERROR: Consider using -configure parameter to create one.

    I'm confused as to where the .s3cfg file is supposed to reside, and why s3cmd is assuming it is at /.s3cfg when it was configured and placed in /root/.s3cfg? Thanks.

     
  • mdesign

    mdesign - 2010-11-12

    Because the configuration refused to put the .s3cfg file anywhere other than /root, but was looking for it one directory higher when running the script, I just created a symlink and that seemed to solve the problem.

    ln -s /root/.s3cfg .s3cfg
    
     

Log in to post a comment.