mongodb fails to start! (installed by unifi package as depen

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

mongodb fails to start! (installed by unifi package as depen

Postby fattoony » Sun Jan 15, 2017 1:03 am

archlinuxarm installed on CuBox-i4Pro
3.14.79-1-ARCH


Hi
I have just installed unifi controller which is running ok but I can't access the web interface.
I noticed that a dependancy of unifi is mongodb so I...

systemctl status mongodb.service

$this->bbcode_second_pass_code('', '~ $ systemctl status mongodb.service
* mongodb.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongodb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-01-14 23:41:13 GMT; 12min ago
Process: 496 ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf (code=exited, status=127)
Main PID: 496 (code=exited, status=127)

Jan 14 23:41:13 Xserve systemd[1]: Started High-performance, schema-free document-oriented database.
Jan 14 23:41:13 Xserve systemd[1]: mongodb.service: Main process exited, code=exited, status=127/n/a
Jan 14 23:41:13 Xserve systemd[1]: mongodb.service: Unit entered failed state.
Jan 14 23:41:13 Xserve systemd[1]: mongodb.service: Failed with result 'exit-code'.')

if I try mongo from cli I get.

$this->bbcode_second_pass_code('', 'mongo: error while loading shared libraries: libboost_program_options.so.1.62.0: cannot open shared object file: No such file or directory')

anybody any ideas?
is this an install issue or could it be an issue with the unifi package maintainer not setting the correct dependencies.

I have tried installing boost 1.63.0-1 separately to the unifi package but this has no affect (mongo is needing 1.62.0 is seems)
fattoony
 
Posts: 8
Joined: Fri Feb 20, 2015 8:50 pm

Re: mongodb fails to start! (installed by unifi package as d

Postby gerator » Mon Jan 16, 2017 8:21 am

gerator
 
Posts: 5
Joined: Sat Jan 14, 2017 11:02 am

Re: mongodb fails to start! (installed by unifi package as d

Postby fattoony » Tue Jan 17, 2017 1:18 am

Thanks gerator, this solved it for me!

Not sure how I missed that!
fattoony
 
Posts: 8
Joined: Fri Feb 20, 2015 8:50 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 4 guests