This repository was archived by the owner on Feb 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 327
/
Copy pathmongo.exceptions.html
130 lines (53 loc) · 3.03 KB
/
mongo.exceptions.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Exceptions</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />
</head>
<body class="docs"><div class="navbar navbar-fixed-top">
<div class="navbar-inner clearfix">
<ul class="nav" style="width: 100%">
<li style="float: left;"><a href="function.bson-encode.html">« bson_encode</a></li>
<li style="float: right;"><a href="class.mongoexception.html">MongoException »</a></li>
</ul>
</div>
</div>
<div id="breadcrumbs" class="clearfix">
<ul class="breadcrumbs-container">
<li><a href="index.html">PHP Manual</a></li>
<li><a href="book.mongo.html">Mongo</a></li>
<li>Exceptions</li>
</ul>
</div>
<div id="layout">
<div id="layout-content"><div id="mongo.exceptions" class="part">
<h1>Exceptions</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_part"><li><a href="class.mongoexception.html">MongoException</a></li><li><a href="class.mongoresultexception.html">MongoResultException</a></li><li><a href="class.mongocursorexception.html">MongoCursorException</a></li><li><a href="class.mongocursortimeoutexception.html">MongoCursorTimeoutException</a></li><li><a href="class.mongoconnectionexception.html">MongoConnectionException</a></li><li><a href="class.mongogridfsexception.html">MongoGridFSException</a></li><li><a href="class.mongoduplicatekeyexception.html">MongoDuplicateKeyException</a></li><li><a href="class.mongoprotocolexception.html">MongoProtocolException</a></li><li><a href="class.mongoexecutiontimeoutexception.html">MongoExecutionTimeoutException</a></li><li><a href="class.mongowriteconcernexception.html">MongoWriteConcernException</a></li></ul>
<div class="partintro">
<div class="section">
<h2 class="title">VMWare Oddities</h2>
<p class="para">
If you are running VMWare on Windows and are using CIFS, pausing the VM will
cause CIFS to go out of sync and cause weird errors on un-pausing it ("The
Mongo object has not been correctly initialized by its constructor").
Permanently mounting the Windows shares will fix this and you'll be able to
pause and unpause at will.
</p>
<p class="para">
To permanently mount the Windows shares, run:
</p>
<div class="example-contents">
<div class="shellcode"><pre class="shellcode">$ sudo update-rc.d -f umountnfs.sh remove
$ sudo update-rc.d umountnfs.sh stop 15 0 6 .</pre>
</div>
</div>
<p class="para">
See <a href="https://help.ubuntu.com/community/MountWindowsSharesPermanently" class="link external">» the Ubuntu docs</a> for the most
up-to-date instructions.
</p>
</div>
</div>
</div>
</div></div></body></html>