Ivan
<div><br></div><div>I&#39;m so glad you&#39;re looking into it.  I fixed my error with the wrong serverRef  and now this log looks ok:</div><div><br></div><div><div>VDatabase_Close...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: dbRef = &quot;599369952&quot;</div>
<div>return</div><div><br></div><div>VConnection_Close...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: serverRef = &quot;536431360&quot;</div><div>return</div><div><br></div><div>VServer_Destructor...</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: serverRef = &quot;536431360&quot;</div><div>return res = 0</div><div><br></div><div>Valentina_ShutDownClient...</div></div><div><br></div><div>But I get immediate crash if I try (and finally successfully) <span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12.2222px; color: rgb(1, 145, 3); "><b>get Valentina_ShutDownClient() and then after I do that I try to see </b></span><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12.2222px; "><span style="color: #8e920e"><b>put</b></span> VDatabase_IsOpen( gDatabase).  But it is not a consistent error and does not crash every time. </span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12.2222px; "><br></span></div><div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12.2222px; ">-- Now my server logs still look like this:</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12.2222px; "><div> 07:26:28.084623 (TID 2695787840): Server started</div><div> 07:26:28.084690 (TID 2695787840): Non-secure port: 15432</div>
<div> 07:26:28.084710 (TID 2695787840): SSL port: 15434</div><div> 07:26:28.084729 (TID 2695787840): SNMP port: 15161</div><div> 07:26:28.084766 (TID 2695787840): Scheduler started</div><div> 07:26:28.898783 (TID 2957578240): Bonjour service registered as silver._valentina-ssl._tcp.local.</div>
<div> 07:26:29.048497 (TID 2957045760): Bonjour service registered as silver (2)._valentina._tcp.local.</div><div> 07:34:21.382360 (TID 2954383360): (UID 15) ERROR 0x71000: line 1:188: unexpected end of file </div><div> 07:45:15.698652 (TID 2955448320): (UID 15) ERROR 0x71000: line 1:188: unexpected end of file </div>
<div><br></div><div>Why do I keep getting that &quot;end of file&quot; error? I get that &quot;end of file&quot; every single time I close the database in LiveCode and it happens when there is no crash and everything in the LiveCode log looks perfect.</div>
<div><br></div><div><br></div><div><span class="Apple-style-span" style="font-size: 12.2222px; "><div>Also on start up of the computer and server I now get this error a couple of times before a successful start:</div><div>
<br></div><div><div> 07:26:07.314389 (TID 2695787840): ERROR: Address already in use</div><div> 07:26:07.314713 (TID 2695787840): Server terminated</div></div><div><br></div></span></div><div><br></div><div>Before I updated to the latest beta of vServer my logs used to look like this (on shut down):</div>
<div><br></div><div><div> 11:50:19.188848 (2956513280): (14) Closing database &#39;b_l_database&#39;: OK</div><div> 11:50:19.190244 (2956513280): (14) Database &#39;b_l_database.vdb&#39; has been successfully closed.</div>
<div> 11:50:19.190284 (2956513280): (14) Database &#39;b_l_database.vdb&#39; object memory released.</div><div> 11:50:19.192763 (2956513280): Closing connection (14). ( Connections available: &#39;5&#39;)</div></div><div>
<br></div></span></div>