Bug#892955: [Pkg-mongodb-maintainers] Bug#892955: mongodb-server: enabling the 'oplog' config option makes server fail to start

2018-03-15 Thread Toni Mueller

Hi Apollon,

On Thu, Mar 15, 2018 at 09:38:17AM +0200, Apollon Oikonomopoulos wrote:
> Indeed, it appears the option has been called "diaglog" for the past 9 
> years, can you give it a try? We need to update the package's default 
> config I guess...

;}

I changed the config to say "diaglog=7", and the server starts with
that.


Cheers,
Toni



Bug#892955: [Pkg-mongodb-maintainers] Bug#892955: mongodb-server: enabling the 'oplog' config option makes server fail to start

2018-03-15 Thread Apollon Oikonomopoulos
Hi,

Thanks for the report!

On 21:13 Wed 14 Mar , Toni Mueller wrote:
> Package: mongodb-server
> Version: 1:3.2.11-2+deb9u1
> Severity: normal
> 
> 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'

Indeed, it appears the option has been called "diaglog" for the past 9 
years, can you give it a try? We need to update the package's default 
config I guess...

Cheers,
Apollon



Bug#892955: mongodb-server: enabling the 'oplog' config option makes server fail to start

2018-03-14 Thread Toni Mueller
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.01.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-perftools42.5-2.2
ii  libpcre32:8.39-3
ii  libpcrecpp0v5   2:8.39-3
ii  libsnappy1v51.1.3-3
ii  libssl1.0.2 1.0.2l-2+deb9u2
ii  libstdc++6  6.3.0-18+deb9u1
ii  libstemmer0d0+svn585-1+b2
ii  libyaml-cpp0.5v50.5.2-4
ii  lsb-base9.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