pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mongodb startup failure



Hi,

Apparently the latest versions of mongodb do not have --smallfiles
parameter; one needs

--- files/mongodb.sh.ORIG 2021-09-17 13:09:51.603009357 +0100
+++ files/mongodb.sh    2021-09-17 13:10:04.608011233 +0100
@@ -31,7 +31,7 @@
 logfile="${mongodb_dbpath}/mongod.log"
 required_dirs="${mongodb_dbpath}"

-command_args="--fork --logpath ${logfile} --logappend --pidfilepath
${pidfile} --dbpath ${mongodb_dbpath} --smallfiles"
+command_args="--fork --logpath ${logfile} --logappend --pidfilepath
${pidfile} --dbpath ${mongodb_dbpath}"

 load_rc_config ${name}
 run_rc_command "$1"

Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index