Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2018 08:24:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226907] databases/mongodb36:  failed to start mongod due to "limits: NO: No such file or directory"
Message-ID:  <bug-226907-13-Sf6O3VHuiF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226907-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226907-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226907

--- Comment #1 from Vlad Galu <dev@dudu.ro> ---
Hi Mateusz, thank you for the report. I can't reproduce that exact behaviou=
r,
I'm afraid.

mongod_limits=3D"YES" (set -x shows mongod_prestart calling /usr/bin/limits)
-- cut here --
$ sudo service mongod onestart
/usr/local/etc/rc.d/mongod: DEBUG: pid file (/var/db/mongodb/mongod.lock): =
no
pid in file.
/usr/local/etc/rc.d/mongod: DEBUG: checkyesno: mongod_enable is set to YES.
/usr/local/etc/rc.d/mongod: DEBUG: run_rc_command: start_precmd:
mongod_prestart=20
/usr/local/etc/rc.d/mongod: DEBUG: checkyesno: mongod_limits is set to YES.
Starting mongod.
/usr/local/etc/rc.d/mongod: DEBUG: run_rc_command: doit: limits -C daemon s=
u -m
mongodb -c 'sh -c "/usr/local/bin/mongod --logpath /var/db/mongodb/mongod.l=
og
--logappend --config /usr/local/etc/mongodb.conf --dbpath /var/db/mongodb
--fork >/dev/null 2>/dev/null"'
$=20
-- and here --

mongod_limits=3D"NO" (set -x shows mongod_prestart not calling /usr/bin/lim=
its)
-- cut here --
$ sudo service mongod onestart
/usr/local/etc/rc.d/mongod: DEBUG: pid file (/var/db/mongodb/mongod.lock): =
no
pid in file.
/usr/local/etc/rc.d/mongod: DEBUG: checkyesno: mongod_enable is set to YES.
/usr/local/etc/rc.d/mongod: DEBUG: run_rc_command: start_precmd:
mongod_prestart=20
/usr/local/etc/rc.d/mongod: DEBUG: checkyesno: mongod_limits is set to NO.
Starting mongod.
/usr/local/etc/rc.d/mongod: DEBUG: run_rc_command: doit: limits -C daemon s=
u -m
mongodb -c 'sh -c "/usr/local/bin/mongod --logpath /var/db/mongodb/mongod.l=
og
--logappend --config /usr/local/etc/mongodb.conf --dbpath /var/db/mongodb
--fork >/dev/null 2>/dev/null"'
$
-- and here --

Running 11.1-p8. Not sure how to take this further.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226907-13-Sf6O3VHuiF>