osx - mongod.lock file permissions on shared system -
i working on shared mac os x 10.6 system, , having trouble setting instance of mongodb. not have way of attaining root privileges.
i have set separate --dbpath standard /data/db directory.
when run mongod custom configuration file, common 10310 error:
2015-06-02t12:18:53.110-0700 kern.sched unavailable 2015-06-02t12:18:53.115-0700 [initandlisten] mongodb starting : pid=88680 port=27017 dbpath=/mir/ew/ntellis/mongodata 64-bit host=fornax.astro.berkeley.edu 2015-06-02t12:18:53.115-0700 [initandlisten] 2015-06-02t12:18:53.115-0700 [initandlisten] ** warning: soft rlimits low. number of files 256, should @ least 1000 2015-06-02t12:18:53.115-0700 [initandlisten] db version v2.6.10 2015-06-02t12:18:53.115-0700 [initandlisten] git version: 5901dbfb49d16eaef6f2c2c50fba534d23ac7f6c 2015-06-02t12:18:53.115-0700 [initandlisten] build info: darwin bs- osx-108-x86-64-2.10gen.cc 12.3.0 darwin kernel version 12.3.0: sun jan 6 22:37:10 pst 2013; root:xnu-2050.22.13~1/release_x86_64 x86_64 boost_lib_version=1_49 2015-06-02t12:18:53.115-0700 [initandlisten] allocator: system 2015-06-02t12:18:53.116-0700 [initandlisten] options: { storage: { dbpath: "/mir/ew/ntellis/mongodata" } } 2015-06-02t12:18:53.176-0700 [initandlisten] exception in initandlisten: 10310 unable lock file: /mir/ew/ntellis/mongodata/mongod.lock. mongod instance running?, terminating 2015-06-02t12:18:53.176-0700 [initandlisten] dbexit: 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: going close listening sockets... 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: going flush diaglog... 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: going close sockets... 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: waiting fs preallocator... 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: lock final commit... 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: final commit... 2015-06-02t12:18:53.176-0700 [initandlisten] shutdown: closing files... 2015-06-02t12:18:53.176-0700 [initandlisten] closeallfiles() finished 2015-06-02t12:18:53.176-0700 [initandlisten] dbexit: exiting
i have tried deleting lock file, changing directory permissions, removing data directory entirely, , few other tricks. mongod process appears creating lock file on launch, failing lock fraction of second later.
could problem permissions assigned process on launch? problem need go server admin with?
thank help.
Comments
Post a Comment