|
From: Davide S. <ds...@cd...> - 2015-03-24 15:43:27
|
Hi Alexandre, Thank you for your reply. We are installing the services in the right way and we run them as Window services. This issue occurs only on 1 server "Windows Server 2012 Standard". We have many services on this server running as services (about 100). Sometimes that error prevents us to be able to start a service. Then if I stop another service then I am able to start it. It is like we have reached a maximum number of services? I thought about that maybe we were running out of ports, but when we have this case we can detect this from the wrapper log. Davide Hi Davide, I'm sorry for the trouble. I don't recommend to use the "-s" parameter to start the Wrapper as a service. In fact, if you execute "wrapper.exe -s..." you should see this message: The -s and --service commands should only be called by the Windows ServiceManager to control the Wrapper as a service, and is not designed to be run manually by the user. Instead you can use the batch files that we specially created for that. They are located in %WRAPPER_HOME%\src\bin. Please have a look at this page: http://wrapper.tanukisoftware.com/doc/english/launch-win.html Basically, you should: - copy the batch files where wrapper.exe is - rename the batch files - install the service using the batch file - start the service using the batch file I hope this will help you. Please don't hesitate to contact us if you have any questions. In case you would like to send your configuration file and keep it private, you can contact us here: su...@ta...<mailto:su...@ta...> Regards, Alexandre Klein Alexandre Klein Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel: +81-3-3878-3211 Fax: +81-3-3878-0313 http://www.tanukisoftware.com<http://www.tanukisoftware.com/> On Fri, Mar 13, 2015 at 11:49 PM, Davide Silvestre <ds...@cd...<mailto:ds...@cd...>> wrote: I forgot to mention the wrapper and java versions: wrapper version: 3.5.24 java version: 7u72  Davide  From: Davide Silvestre [mailto:ds...@cd...<mailto:ds...@cd...>] Sent: 13. marts 2015 15:20 To: wra...@li...<mailto:wra...@li...> Subject: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning  Hi, I have installed an application as windows service using the wrapper on a Microsoft Windows Server 2012. I can start the application from the command line without problems using the following command  >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf  But when I start it as a service (same command with -s) if fails with the following error:  STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the service. ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: wrapper.log  I read that somebody else encountered the same issue because the Path variable contained some unresolvable references, but this doesn't seem to be my case.  Any inputs? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Wrapper-user mailing list Wra...@li...<mailto:Wra...@li...> https://lists.sourceforge.net/lists/listinfo/wrapper-user |