Startup: Unable to open [/data/db/mongodb.log] for log file: errno: 13 Permission denied

I cannot start mongodb in ubuntu 10.04 lucid in linode.

I am following this tutorial http://library.linode.com/databases/mongodb/ubuntu-10.04-lucid#sph_id4 but when I try to run the commands:

/etc/init.d/mongodb start /etc/init.d/mongodb stop

I am getting the error:

Starting : can't open [/data/db/mongodb.log] for log file: errno:13 Permission denied

      

How can I fix this?

Thank!

+3
linux mongodb ubuntu linode


source to share


No one has answered this question yet

Check out similar questions:

1101
How to chmod a folder and all its subfolders and files in Linux Ubuntu Terminal?
364
Mongod complains that there is no / data / db folder
286
How do I stop the redis server?
48
MongoDB on Ubuntu won't start as a service, nothing in the log
17
Mongodb data directory permissions
12
How can I tell if my server is running 64bit mongodb?
2
MongoDB service won't start. errno: 13 Permission denied
1
Starting mongodb with simple backup of previous / data / db content
0
trying to install ruby ​​package in Ubuntu 10.04 Lucid box, cant install rubygems
-1
pysftp cannot create log file - permission denied



All Articles
Loading...
X
Show
Funny
Dev
Pics