php-doc-en/reference/mongo/exceptions.xml

46 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<part xml:id="mongo.exceptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Exceptions</title>
<partintro>
<section>
<title>VMWare Oddities</title>
<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.
</para>
<para>
To permanently mount the Windows shares, run:
</para>
<programlisting role="shell">
<![CDATA[
$ sudo update-rc.d -f umountnfs.sh remove
$ sudo update-rc.d umountnfs.sh stop 15 0 6 .
]]>
</programlisting>
<para>
See <link xlink:href="&url.mongodb.cifs;">the Ubuntu docs</link> for the most
up-to-date instructions.
</para>
</section>
</partintro>
&reference.mongo.mongoexception;
&reference.mongo.mongoresultexception;
&reference.mongo.mongocursorexception;
&reference.mongo.mongocursortimeoutexception;
&reference.mongo.mongoconnectionexception;
&reference.mongo.mongogridfsexception;
&reference.mongo.mongoduplicatekeyexception;
&reference.mongo.mongoprotocolexception;
&reference.mongo.mongoexecutiontimeoutexception;
&reference.mongo.mongowriteconcernexception;
</part>