[Pkg-mongodb-maintainers] Bug#892955: mongodb-server: enabling the 'oplog' config option makes server fail to start
Toni Mueller
toni at debian.org
Wed Mar 14 20:13:23 UTC 2018
Package: mongodb-server
Version: 1:3.2.11-2+deb9u1
Severity: normal
Hi,
I just installed mongodb and wanted to get more detailed logging, so I
removed the comment from 'oplog = 0' and switched to 7:
# Set oplogging level where n is
# 0=off (default)
# 1=W
# 2=R
# 3=both
# 7=W+some reads
oplog = 7
After that, the server refused to start, and I found this in the log:
... mongod[385]: Error parsing INI config file: unrecognised option 'oplog'
Cheers,
--Toni++
-- System Information:
Debian Release: 9.4
APT prefers stable
APT policy: (990, 'stable'), (90, 'testing'), (70, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mongodb-server depends on:
ii adduser 3.115
ii init-system-helpers 1.48
ii libboost-chrono1.62.0 1.62.0+dfsg-4
ii libboost-filesystem1.62.0 1.62.0+dfsg-4
ii libboost-program-options1.62.0 1.62.0+dfsg-4
ii libboost-regex1.62.0 1.62.0+dfsg-4
ii libboost-system1.62.0 1.62.0+dfsg-4
ii libboost-thread1.62.0 1.62.0+dfsg-4
ii libc6 2.24-11+deb9u3
ii libgcc1 1:6.3.0-18+deb9u1
ii libgoogle-perftools4 2.5-2.2
ii libpcre3 2:8.39-3
ii libpcrecpp0v5 2:8.39-3
ii libsnappy1v5 1.1.3-3
ii libssl1.0.2 1.0.2l-2+deb9u2
ii libstdc++6 6.3.0-18+deb9u1
ii libstemmer0d 0+svn585-1+b2
ii libyaml-cpp0.5v5 0.5.2-4
ii lsb-base 9.20161125
ii mongodb-clients 1:3.2.11-2+deb9u1
ii zlib1g 1:1.2.8.dfsg-5
mongodb-server recommends no packages.
mongodb-server suggests no packages.
-- Configuration Files:
/etc/mongodb.conf changed:
dbpath=/var/lib/mongodb
logpath=/var/log/mongodb/mongodb.log
logappend=true
bind_ip = 127.0.0.1
journal=true
cpu = true
verbose = true
objcheck = true
quota = true
-- no debconf information
More information about the Pkg-mongodb-maintainers
mailing list