Discussion:
[mongodb-user] [MongoDB 4.0] Issue with MongoDB system hosted on local Windows machine
c***@gmail.com
2018-12-04 20:27:01 UTC
Permalink
I am trying to write documents to a database on a Windows 10 system that's
connected to the same network. After hundreds of writes, the service dies
due to errors related to permissions or access. Has anyone else experienced
this issue, and if so, come up with a solution?

I append the relevant part of the mongod.log file that indicates the error:


2018-11-27T19:29:47.184-0800 I NETWORK [conn9] end connection 192.168.15.80
:60929 (1 connection now open)
2018-11-27T19:29:47.185-0800 I NETWORK [listener] connection accepted from
192.168.15.80:61914 #10 (2 connections now open)
2018-11-27T19:51:18.357-0800 E STORAGE [WTCheckpointThread] WiredTiger
error (13) [1543377078:350813][9016:140712376024144], file:WiredTiger.wt,
WT_SESSION.checkpoint: __win_fs_rename, 105: C:\Program Files\MongoDB\Server
\4.0\data\WiredTiger.turtle.set to C:\Program Files\MongoDB\Server\4.0\data\
WiredTiger.turtle: file-rename: MoveFileExW: Access is denied.


: Permission denied Raw: [1543377078:350813][9016:140712376024144], file:
WiredTiger.wt, WT_SESSION.checkpoint: __win_fs_rename, 105: C:\Program Files
\MongoDB\Server\4.0\data\WiredTiger.turtle.set to C:\Program Files\MongoDB\
Server\4.0\data\WiredTiger.turtle: file-rename: MoveFileExW: Access is
denied.


: Permission denied
2018-11-27T19:51:18.357-0800 E STORAGE [WTCheckpointThread] WiredTiger
error (13) [1543377078:356797][9016:140712376024144], file:WiredTiger.wt,
WT_SESSION.checkpoint: __wt_turtle_update, 397: WiredTiger.turtle: fatal
turtle file update error: Permission denied Raw: [1543377078:356797][9016:
140712376024144], file:WiredTiger.wt, WT_SESSION.checkpoint:
__wt_turtle_update, 397: WiredTiger.turtle: fatal turtle file update error:
Permission denied
2018-11-27T19:51:18.357-0800 E STORAGE [WTCheckpointThread] WiredTiger
error (-31804) [1543377078:357768][9016:140712376024144], file:WiredTiger.wt
, WT_SESSION.checkpoint: __wt_panic, 523: the process must exit and restart:
WT_PANIC: WiredTiger library panic Raw: [1543377078:357768][9016:
140712376024144], file:WiredTiger.wt, WT_SESSION.checkpoint: __wt_panic, 523
: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-11-27T19:51:18.364-0800 F - [WTCheckpointThread] Fatal Assertion
50853 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 409
2018-11-27T19:51:18.364-0800 F - [WTCheckpointThread]


***aborting after fassert() failure




2018-11-27T19:51:18.410-0800 F - [WTJournalFlusher] Fatal Assertion
28559 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 65
2018-11-27T19:51:18.410-0800 F - [WTJournalFlusher]


***aborting after fassert() failure




2018-11-27T19:52:18.704-0800 I CONTROL [main] ***** SERVER RESTARTED *****
2018-11-27T19:52:18.996-0800 I CONTROL [main] Trying to start Windows
service 'MongoDB'
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] MongoDB starting :
pid=23468 port=27017 dbpath=C:\Program Files\MongoDB\Server\4.0\data 64-bit
host=ForemanStation
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] targetMinOS: Windows
7/Windows Server 2008 R2
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] db version v4.0.4
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] git version:
f288a3bdf201007f3693c58e140056adf8b04839
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] allocator: tcmalloc
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] modules: none
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] build environment:
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] distmod:
2008plus-ssl
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] distarch: x86_64
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] target_arch:
x86_64
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] options: { config: "C:\Program
Files\MongoDB\Server\4.0\bin\mongod.cfg", net: { bindIp: "0.0.0.0", port:
27017 }, service: true, storage: { dbPath: "C:\Program
Files\MongoDB\Server\4.0\data", journal: { enabled: true } }, systemLog: {
destination: "file", logAppend: true, path: "C:\Program
Files\MongoDB\Server\4.0\log\mongod.log" } }
2018-11-27T19:52:18.998-0800 W STORAGE [initandlisten] Detected unclean
shutdown - C:\Program Files\MongoDB\Server\4.0\data\mongod.lock is not empty
.
2018-11-27T19:52:18.998-0800 I STORAGE [initandlisten] Detected data files
in C:\Program Files\MongoDB\Server\4.0\data created by the 'wiredTiger'
storage engine, so setting the active storage engine to 'wiredTiger'.
2018-11-27T19:52:18.998-0800 W STORAGE [initandlisten] Recovering data from
the last clean checkpoint.
2018-11-27T19:52:18.999-0800 I STORAGE [initandlisten] wiredtiger_open
config: create,cache_size=3529M,session_max=20000,eviction=(threads_min=4,
threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive
=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),
statistics_log=(wait=0),verbose=(recovery_progress),
2018-11-27T19:52:19.251-0800 I STORAGE [initandlisten] WiredTiger message [
1543377139:251131][23468:140712376024144], txn-recover: Main recovery loop:
starting at 10/25940480 to 11/256
2018-11-27T19:52:19.252-0800 I STORAGE [initandlisten] WiredTiger message [
1543377139:252128][23468:140712376024144], txn-recover: Recovering log 10
through 11
2018-11-27T19:52:19.331-0800 I STORAGE [initandlisten] WiredTiger message [
1543377139:331916][23468:140712376024144], file:index-16--
7548407363742995707.wt, txn-recover: Recovering log 11 through 11
2018-11-27T19:52:19.384-0800 I STORAGE [initandlisten] WiredTiger message [
1543377139:383777][23468:140712376024144], file:index-16--
7548407363742995707.wt, txn-recover: Set global recovery timestamp: 0
2018-11-27T19:52:19.653-0800 I RECOVERY [initandlisten] WiredTiger
recoveryTimestamp. Ts: Timestamp(0, 0)
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten]
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten] ** WARNING: Access
control is not enabled for the database.
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten] ** Read and
write access to data and configuration is unrestricted.
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten]
2018-11-27T19:52:20.324-0800 I FTDC [initandlisten] Initializing full-time
diagnostic data capture with directory 'C:/Program
Files/MongoDB/Server/4.0/data/diagnostic.data'
2018-11-27T19:52:20.332-0800 I NETWORK [initandlisten] waiting for
connections on port 27017
2018-11-27T19:52:20.332-0800 I STORAGE [initandlisten] Service running
2018-11-27T19:52:20.731-0800 I NETWORK [listener] connection accepted from
192.168.15.80:62628 #1 (1 connection now open)
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/118a0eee-06c3-4e00-8a50-fa8de6c37151%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
c***@gmail.com
2018-12-06 01:41:16 UTC
Permalink
Any guidance on this? Anyone experience an issue similar to this?

For more background, I'm using this library
<https://github.com/RBXSystems/mongo-labview-driver> for writing from
LabView.
Post by c***@gmail.com
I am trying to write documents to a database on a Windows 10 system that's
connected to the same network. After hundreds of writes, the service dies
due to errors related to permissions or access. Has anyone else experienced
this issue, and if so, come up with a solution?
2018-11-27T19:29:47.184-0800 I NETWORK [conn9] end connection 192.168.
15.80:60929 (1 connection now open)
2018-11-27T19:29:47.185-0800 I NETWORK [listener] connection accepted
from 192.168.15.80:61914 #10 (2 connections now open)
2018-11-27T19:51:18.357-0800 E STORAGE [WTCheckpointThread] WiredTiger
error (13) [1543377078:350813][9016:140712376024144], file:WiredTiger.wt,
WT_SESSION.checkpoint: __win_fs_rename, 105: C:\Program Files\MongoDB\
Server\4.0\data\WiredTiger.turtle.set to C:\Program Files\MongoDB\Server\
4.0\data\WiredTiger.turtle: file-rename: MoveFileExW: Access is denied.
WiredTiger.wt, WT_SESSION.checkpoint: __win_fs_rename, 105: C:\Program
Files\MongoDB\Server\4.0\data\WiredTiger.turtle.set to C:\Program Files\
Access is denied.
: Permission denied
2018-11-27T19:51:18.357-0800 E STORAGE [WTCheckpointThread] WiredTiger
error (13) [1543377078:356797][9016:140712376024144], file:WiredTiger.wt,
WT_SESSION.checkpoint: __wt_turtle_update, 397: WiredTiger.turtle: fatal
__wt_turtle_update, 397: WiredTiger.turtle: fatal turtle file update error
: Permission denied
2018-11-27T19:51:18.357-0800 E STORAGE [WTCheckpointThread] WiredTiger
error (-31804) [1543377078:357768][9016:140712376024144], file:WiredTiger.
wt, WT_SESSION.checkpoint: __wt_panic, 523: the process must exit and
140712376024144], file:WiredTiger.wt, WT_SESSION.checkpoint: __wt_panic,
523: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-11-27T19:51:18.364-0800 F - [WTCheckpointThread] Fatal
Assertion 50853 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 409
2018-11-27T19:51:18.364-0800 F - [WTCheckpointThread]
***aborting after fassert() failure
2018-11-27T19:51:18.410-0800 F - [WTJournalFlusher] Fatal Assertion
28559 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 65
2018-11-27T19:51:18.410-0800 F - [WTJournalFlusher]
***aborting after fassert() failure
2018-11-27T19:52:18.704-0800 I CONTROL [main] ***** SERVER RESTARTED *****
2018-11-27T19:52:18.996-0800 I CONTROL [main] Trying to start Windows
service 'MongoDB'
pid=23468 port=27017 dbpath=C:\Program Files\MongoDB\Server\4.0\data 64-bit
host=ForemanStation
Windows 7/Windows Server 2008 R2
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] db version v4.0.4
f288a3bdf201007f3693c58e140056adf8b04839
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] allocator: tcmalloc
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] modules: none
2008plus-ssl
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] distarch: x86_64
x86_64
2018-11-27T19:52:18.997-0800 I CONTROL [initandlisten] options: { config: "C:\Program
27017 }, service: true, storage: { dbPath: "C:\Program
Files\MongoDB\Server\4.0\data", journal: { enabled: true } }, systemLog: {
destination: "file", logAppend: true, path: "C:\Program
Files\MongoDB\Server\4.0\log\mongod.log" } }
2018-11-27T19:52:18.998-0800 W STORAGE [initandlisten] Detected unclean
shutdown - C:\Program Files\MongoDB\Server\4.0\data\mongod.lock is not
empty.
2018-11-27T19:52:18.998-0800 I STORAGE [initandlisten] Detected data
files in C:\Program Files\MongoDB\Server\4.0\data created by the
'wiredTiger' storage engine, so setting the active storage engine to
'wiredTiger'.
2018-11-27T19:52:18.998-0800 W STORAGE [initandlisten] Recovering data
from the last clean checkpoint.
2018-11-27T19:52:18.999-0800 I STORAGE [initandlisten] wiredtiger_open
config: create,cache_size=3529M,session_max=20000,eviction=(threads_min=4,
threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,
archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time
=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2018-11-27T19:52:19.251-0800 I STORAGE [initandlisten] WiredTiger
message [1543377139:251131][23468:140712376024144], txn-recover: Main
recovery loop: starting at 10/25940480 to 11/256
2018-11-27T19:52:19.252-0800 I STORAGE [initandlisten] WiredTiger
Recovering log 10 through 11
2018-11-27T19:52:19.331-0800 I STORAGE [initandlisten] WiredTiger
message [1543377139:331916][23468:140712376024144], file:index-16--
7548407363742995707.wt, txn-recover: Recovering log 11 through 11
2018-11-27T19:52:19.384-0800 I STORAGE [initandlisten] WiredTiger
message [1543377139:383777][23468:140712376024144], file:index-16--
7548407363742995707.wt, txn-recover: Set global recovery timestamp: 0
2018-11-27T19:52:19.653-0800 I RECOVERY [initandlisten] WiredTiger
recoveryTimestamp. Ts: Timestamp(0, 0)
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten]
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten] ** WARNING: Access
control is not enabled for the database.
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten] ** Read
and write access to data and configuration is unrestricted.
2018-11-27T19:52:19.979-0800 I CONTROL [initandlisten]
2018-11-27T19:52:20.324-0800 I FTDC [initandlisten] Initializing full-time
diagnostic data capture with directory 'C:/Program
Files/MongoDB/Server/4.0/data/diagnostic.data'
2018-11-27T19:52:20.332-0800 I NETWORK [initandlisten] waiting for
connections on port 27017
2018-11-27T19:52:20.332-0800 I STORAGE [initandlisten] Service running
2018-11-27T19:52:20.731-0800 I NETWORK [listener] connection accepted
from 192.168.15.80:62628 #1 (1 connection now open)
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/8388f6a8-21aa-4bc5-9141-66dfc5deee9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...