← Back to team overview

graphite-dev team mailing list archive

Re: [Question #192127]: Unable to open database file

 

Question #192127 on Graphite changed:
https://answers.launchpad.net/graphite/+question/192127

    Status: Open => Answered

cbrinley proposed the following answer:
it should yes,
can you post your config around the database settings (settings.py) and
please verify the account running "syncdb" does have correct permissions.
other posts of this this kind have indicated either a permission issue or
pre-existing file.

thanks

On Fri, Mar 30, 2012 at 3:55 AM, Mohan <question192127@xxxxxxxxxxxxxxxxxxxxx
> wrote:

> New question #192127 on Graphite:
> https://answers.launchpad.net/graphite/+question/192127
>
> I have read 178172: OperationalError: unable to open database file
> (Solved) and follow http://geek.michaelgrace.org/2011/09...ite-on-ubuntu/
>
> I thought there could be permissions issues in this folder
> /opt/graphite/storage/ but /opt/graphite/storage/graphite.db does not exist.
>
> Should it be created automatically ? It is Ubuntu 11.10
>
> File "/usr/lib/pymodules/python2.7/django/db/backends/sqlite3/base.py",
> line 207, in _cursor
>    self.connection = Database.connect(**kwargs)
> pysqlite2.dbapi2.OperationalError: unable to open database file
>
>
> Thanks.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>


--


Chris Brinley
Cleartrial

e: cbrinley@xxxxxxxxxxxxxx
p: 312-460-3038
m: 219-789-2811

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.