graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #01730
Re: [Question #178172]: OperationalError: unable to open database file
Yea, you may want to just chown -R www-data:www-data /opt/graphite.
Joseph Schmoley <question178172@xxxxxxxxxxxxxxxxxxxxx> wrote:
>Question #178172 on Graphite changed:
>https://answers.launchpad.net/graphite/+question/178172
>
> Status: Answered => Solved
>
>Joseph Schmoley confirmed that the question is solved:
>Nicholas, thanks for your reply. There's no user named "graphite" on my
>Ubuntu 11.10 server, but I had a hunch you meant to say the Apache user
>(www-data). So I made the following changes:
>
>sudo chown www-data:www-data /opt/graphite/storage/
>sudo chown www-data:www-data /opt/graphite/storage/graphite.db
>sudo chown www-data:www-data /opt/graphite/storage/index
>
>...and now the graphite home page comes up! Excellent! Thanks a bunch
>for everyone's help.
>
>A follow-up question... Should everything under /opt/graphite/storage
>be owned by the Apache user?
>
>Currently lists, log, rrd, whisper subdirs are still owned by root.
>Should they be owned by Apache user as well?
>
>Thanks.
>
>-Jac
>
>--
>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
Follow ups