ejabberd - Comments for "Windows Service Terminates on Logout" https://www.ejabberd.im/node/2852 en strange enough version 2.1.8 https://www.ejabberd.im/node/2852#comment-58681 <p>strange enough version 2.1.8 works fine as a service under windows. But the newest version today, 2.1.11 does not.<br /> Obviously the last tweaks made jabber worse for windows.</p> Fri, 18 May 2012 11:00:46 +0000 Frans Nagel comment 58681 at https://www.ejabberd.im I don't see how that is a https://www.ejabberd.im/node/2852#comment-58680 <p>I don't see how that is a solution.</p> Fri, 18 May 2012 10:31:57 +0000 Frans Nagel comment 58680 at https://www.ejabberd.im the problem is still there with ejabberd 2.0.5 https://www.ejabberd.im/node/2852#comment-54285 <p>Hi all,</p> <p>any updates, workarounds? I've submitted a bug EJAB-942 (<noindex><a href="https://support.process-one.net/browse/EJAB-942" title="https://support.process-one.net/browse/EJAB-942" rel="nofollow" >https://support.process-one.net/browse/EJAB-942</a></noindex>) for this issue.</p> Tue, 26 May 2009 14:36:53 +0000 crooter comment 54285 at https://www.ejabberd.im service problems https://www.ejabberd.im/node/2852#comment-54067 <p>I found a solution. I'm using openfire and sparks. Worked out of the box.</p> Wed, 11 Mar 2009 14:03:26 +0000 markng comment 54067 at https://www.ejabberd.im I'm having the same problem https://www.ejabberd.im/node/2852#comment-54064 <p>Anyone find an answer to this one? I have other System services that don't exhibit this behavior so there must be something specific to ejabberd or erlang runtime that needs a console.</p> <p>I tried removing the workstation dependancy as well with no luck.</p> <p>If I reboot the system with the service set to automatic, ejabberd service starts fine.</p> <p>If I login with remote desktop with the /console option, and then logout, ejabberd stops running immediately.</p> <p>Is it something to do with stdin/out disappearing when the console logs out? Just a wild guess and wondering how I might fix/avoid this.</p> <p>alf</p> Tue, 10 Mar 2009 20:46:22 +0000 aeisenberg comment 54064 at https://www.ejabberd.im service stops on logout https://www.ejabberd.im/node/2852#comment-53845 <p>Greetings,<br /> I'm having the same type of problem and have followed this advice, but the service still stops when I logout. The service is set to automatic and to login as Local account. If I reboot the machine and login the service is running. Then if I logout and log back in it is not. "Allow service to interact with desktop" is NOT checked. There was an error reported during the install, but I could not tell what the error was. The service seems to work correctly when it's running.<br /> Thanks!</p> Tue, 16 Dec 2008 16:27:16 +0000 markng comment 53845 at https://www.ejabberd.im Found a fix for this "Error https://www.ejabberd.im/node/2852#comment-52178 <p>Found a fix for this "Error 1075: The dependency service does not exist or has been marked for deletion"</p> <p>1. Open RegEdit<br /> 2. Navigate to this key:<br /> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ejabberd<br /> 3. Under "DependOnService", change "LanmanWorkstation" to "" (empty string)<br /> 4. Reboot</p> <p>This worked on my Windows Server 2003 installation. At least, it let me start the service successfully. Haven't tried running it automatically from boot.</p> Mon, 14 Apr 2008 00:26:05 +0000 Anonymous comment 52178 at https://www.ejabberd.im I've set the ejabberd https://www.ejabberd.im/node/2852#comment-52139 <p>I've set the ejabberd service to start automatically, and set the account with administrative priveleges, but it never works.</p> <p>When i try to run the service manually, i get the following error:</p> <p>"Could not start the ejabberd service on Local Computer</p> <p>Error 1075: The dependency service does not exist or has been marked for deletion."</p> <p>Everything works fine if i am logged in and start the service from a batch file. But fails as soon as i log off.</p> Tue, 08 Apr 2008 20:04:32 +0000 Anonymous comment 52139 at https://www.ejabberd.im Install with an account admin https://www.ejabberd.im/node/2852#comment-51866 <div class="quote-msg"> <div class="quote-author"><em>fisherbt</em> wrote:</div> <p>After I initially ran the installer, the service was created as "ejabberd" and its startup type was set to manual. I updated it to start automatically, but that didn't work. The logon settings are set to the local system account and it is not allowed to interact with the desktop.</p></div> <p>Try to run the installer with an account that has administrative privileges in the operating system.</p> <div class="quote-msg"> <div class="quote-author"><em>fisherbt</em> wrote:</div> <p>when I start the service using the shortcuts created by the installer, the service starts (as evidenced by my ability to connect with Pidgin) but the service listing under Computer Management does not indicate the ejabberd service is running.</p></div> <p>The prefered way to start ejabberd is using the script ejabberdctl. Any POSIX-compliant shell (Bash, Dash, ...) can run that script, so it can be used in most operating systems. Unfortunately, Microsoft Windows doesn't include such a shell, so Bash is included by the installer. The shortcuts use ejabberdctl to start ejabberd.</p> <p>In most operating systems, there's an easy way to tell the operating system to start ejabberdctl at start time, for example using Init. However, this seems not possible in Windows. So, the installer for Windows doesn't install ejabberdctl as a service, instead it uses a small Erlang/OTP program (erlsrv.exe) to install an ejabberd service in Windows. But this service starts erl directly, without using ejabberdctl.</p> <p>So, it's normal that you see the Windows service stopped when you start ejabberd using the shortcut: the shortcut doesn't start the Windows service.</p> Sun, 24 Feb 2008 18:31:11 +0000 mfoss comment 51866 at https://www.ejabberd.im Windows Service Trouble https://www.ejabberd.im/node/2852#comment-51840 <p>Thanks for the response.</p> <p>After I initially ran the installer, the service was created as "ejabberd" and its startup type was set to manual. I updated it to start automatically, but that didn't work. The logon settings are set to the local system account and it is not allowed to interact with the desktop.</p> <p>The strange thing is that when I start the service using the shortcuts created by the installer, the service starts (as evidenced by my ability to connect with Pidgin) but the service listing under Computer Management does not indicate the ejabberd service is running.</p> <p>I tried removing the service and re-adding the it using the postinstall.bat file, but the behavior hasn't changed. Thanks again for any help.</p> Wed, 20 Feb 2008 17:39:51 +0000 fisherbt comment 51840 at https://www.ejabberd.im Use the Windows service https://www.ejabberd.im/node/2852#comment-51835 <p>The installer also adds a Windows service, declared as manual start. You can configure that Windows service, to be started automatically.</p> Tue, 19 Feb 2008 22:50:39 +0000 mfoss comment 51835 at https://www.ejabberd.im