Re: 4Dv15 app on Windows Service
Hi, So it is sufficient to run the 4D service under a Service account as long as it has full administrator rights? There has been instances when the service starts, then it crashes when trying to generate a PDF (generation executed on server). But once it’s successfully generated (without crashing the service) then the service will be ok for some days until the next occurrence. Yes, in some cases when trying to stop the service (for example for monthly maintenance), it takes too long and will time-out. In which case, the IT support has no choice but to do a force-quit which at times lead to damage of data file. Regards, Ronnie > On 3 Aug 2019, at 12:19 AM, 4d_tech-requ...@lists.4d.com wrote: > > From: "Epperlein, Lutz (agendo)" <mailto:lutz.epperl...@agendo.de>> > To: 4D iNug Technical <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> > Subject: AW: 4Dv15 app on Windows Service > Message-ID: <890ec0923d2041178462b271736ab...@agendo.de > <mailto:890ec0923d2041178462b271736ab...@agendo.de>> > Content-Type: text/plain; charset="utf-8" > > That should be sufficient regarding rights. The question is which resource > the server should access. If you run the service under the default system > account, you could get problems accessing certain network resources, printer > ... > But I think this a known circumstance. > > Did you check the Windows event log? Are there some crashreport and /or dmp > files? > > We only experienced such crashes if the server machine wanted to shut down > (because of a nightly system update) and the 4D service needed to much time > to come down. That lead in some cases to corrupted data files so the restart > of the service after the successful system update failed too. > > Regards > Lutz ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
AW: 4Dv15 app on Windows Service
That should be sufficient regarding rights. The question is which resource the server should access. If you run the service under the default system account, you could get problems accessing certain network resources, printer ... But I think this a known circumstance. Did you check the Windows event log? Are there some crashreport and /or dmp files? We only experienced such crashes if the server machine wanted to shut down (because of a nightly system update) and the 4D service needed to much time to come down. That lead in some cases to corrupted data files so the restart of the service after the successful system update failed too. Regards Lutz -Ursprüngliche Nachricht- Von: 4D_Tech Im Auftrag von Tarawerkz via 4D_Tech Gesendet: Donnerstag, 1. August 2019 18:58 Betreff: Re: 4Dv15 app on Windows Service Hi David, For reasons of security concerns raised by the client’s IT, we could only run the service with a service account with administrator permissions, not quite the full admin user. Regards, Ronnie ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: 4Dv15 app on Windows Service
Hi David, For reasons of security concerns raised by the client’s IT, we could only run the service with a service account with administrator permissions, not quite the full admin user. Regards, Ronnie > On 1 Aug 2019, at 8:52 PM, David Samson wrote: > > > hello Ronnie, > > Is the user account one with administrator permissions? We had a server > crashing periodically until we ran it as the full admin user. > > David Samson > Manchester > UK > > > Message: 14 > Date: Thu, 1 Aug 2019 09:46:33 +0800 > From: Tarawerkz mailto:ron...@tarawerkz.com>> > To: 4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com> > Subject: 4Dv15 app on Windows Service > Message-ID: <472c433c-9374-4d4a-ba63-be5bdc777...@tarawerkz.com > <mailto:472c433c-9374-4d4a-ba63-be5bdc777...@tarawerkz.com>> > Content-Type: text/plain; charset=gb2312 > > Hi, > > I have a Windows question to ask ….. > > I have a v15 application running on a Windows service on a Windows Server > 2012 r2 (VM). > Problem is the service would crash randomly, sometimes every 10-14 days, > sometimes on consecutive days. > > Upon restart, sometimes the service would crash again almost immediately. > A second attempt is usually sufficient to keep the service running for the > next fortnight or so. > > What can be done to improve the stability of the 4D service? > FWIW, the Application Server role has not been turned on in the Server > Manager. > Would turning it on actually make the running of windows service more stable? > > Does anyone have any encounters like this before? > > > Regards, > Ronnie > Tarawerkz > > -- > D Samson ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
4Dv15 app on Windows Service
Hi, I have a Windows question to ask ….. I have a v15 application running on a Windows service on a Windows Server 2012 r2 (VM). Problem is the service would crash randomly, sometimes every 10-14 days, sometimes on consecutive days. Upon restart, sometimes the service would crash again almost immediately. A second attempt is usually sufficient to keep the service running for the next fortnight or so. What can be done to improve the stability of the 4D service? FWIW, the Application Server role has not been turned on in the Server Manager. Would turning it on actually make the running of windows service more stable? Does anyone have any encounters like this before? Regards, Ronnie Tarawerkz ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **