клиент вроде стартует, а как запустить сам сервер mongoDB?
так не получилось
lega@lega-desktop:~$ LD_PRELOAD=/usr/lib/firefox-3.6.6/libmozjs.so mongo
MongoDB shell version: 1.2.2
url: test
connecting to: test
Sat Jul 10 05:47:30 JS Error: Error: couldn't connect: couldn't connect to server 127.0.0.1 127.0.0.1:27017 (anon):1028
lega@lega-desktop:~$ LD_PRELOAD=/usr/lib/firefox-3.6.6/libmozjs.so /etc/init.d/mongodb
Usage: /etc/init.d/mongodb COMMAND
lega@lega-desktop:~$ LD_PRELOAD=/usr/lib/firefox-3.6.6/libmozjs.so /etc/init.d/mongodb start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mongodb start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mongodb
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.50" (uid=1000 pid=5240 comm="start) interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))
lega@lega-desktop:~$ LD_PRELOAD=/usr/lib/firefox-3.6.6/libmozjs.so service mongodb start
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.51" (uid=1000 pid=5241 comm="start) interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))