I did a move. I made sure the folder and file were set for mongodb:mongodb
and the files were 0600 while the directory was 0755. The issue I had was
not having js installed which is a lately introduced dependency.

Would be nice if the directory were auto renamed/ownership before mongo
updates somehow.

On Wed, Sep 12, 2012 at 9:13 AM, Douglas Hubler <[email protected]> wrote:

>
>
> On Wed, Sep 12, 2012 at 8:05 AM, Tony Graziano <
> [email protected]> wrote:
>
>> I did that, in my case I moved the files, not copied them which if the DB
>> resides in mongodb directory we shouldn't have to leave a trail of files
>> all over I would assume.
>
>
> move is fine
>
>
>> I get mongo dead but subsys locked now when restarting mongo. What gives?
>
>
> check permissions on /var/lib/mongodb and all files within
>
> [root@openuc lib]# ls -alh /var/lib/mongodb
> total 3.8G
> drwxr-xr-x  3 mongodb root    4.0K Sep 12 05:35 .
> drwxr-xr-x 28 root    root    4.0K Sep 12 08:54 ..
> -rw-------  1 mongodb mongodb  64M Sep 12 05:36 imdb.0
> -rw-------  1 mongodb mongodb 128M Aug  7 05:50 imdb.1
> -rw-------  1 mongodb mongodb  16M Sep 12 05:36 imdb.ns
> drwxr-xr-x  2 mongodb mongodb 4.0K Sep 12 08:12 journal
> ...
>
> Barring that, check for errors in
>    /var/log/mongodb/mongodb.log
>
>
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>



-- 
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to