On Wed, Sep 12, 2012 at 9:25 AM, Tony Graziano <tgrazi...@myitdepartment.net
> wrote:

> 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.
>

Interesting how this manifested.  CentOS 6 decided to add mongo, which is
great, now we don't have to build it.  Problem is CentOS team (really
fedora team) builds things slightly different then how 10gen builds it.
 10gen hasn't accepted Fedora's patches yet.  Because we started with
10gens that's how we hit this.

CentOS package team has a real bug that js is not installed, we easily have
work around already implemented so this is not an issue going forward.
Someone at CentOS will catch this soon I'm sure.

So for posterity, if you ever had to install mongo from 10gen's repo, it
would be possible by simply moving database as this thread describes.

There is another issue w/arbiter for those using that, I'm looking into
that now.
  http://track.sipfoundry.org/browse/XX-10433
but we plan to keep compatibility w/10gen's file structure as it's not that
difficult and may come in handy again some day.






>
> On Wed, Sep 12, 2012 at 9:13 AM, Douglas Hubler <dhub...@ezuce.com> wrote:
>
>>
>>
>> On Wed, Sep 12, 2012 at 8:05 AM, Tony Graziano <
>> tgrazi...@myitdepartment.net> 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
>> sipx-users@list.sipfoundry.org
>> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>>
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~
> Tony Graziano, Manager
> Telephone: 434.984.8430
> sip: tgrazi...@voice.myitdepartment.net
> 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: helpdesk@voice.myitdepartment.**net<helpd...@voice.myitdepartment.net>
>
> Helpdesk Customers: 
> http://myhelp.myitdepartment.**net<http://myhelp.myitdepartment.net>
> Blog: http://blog.myitdepartment.net
>
> _______________________________________________
> sipx-users mailing list
> sipx-users@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>
_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to