From: Crypto <cr...@dv...> - 2004-03-16 20:05:58
|
> Standard srvany.exe from reskit does not allow to start colinux as > service. I suppose it happens because of creating and attaching > console. I have been using colinux with srvany as a service from the beginning. The -d switch does the trick as it prevents the console from being created. This is how I did it. Srvany just starts a script called start.cmd with this contents: c: cd \colinux colinux-daemon -d -- crypto |
From: Maxious(Alex Sadleir) <ma...@la...> - 2004-03-16 21:10:29
|
I use firedaemon for colinux and apache as windows services. They have a lite (ie free) version avalible. http://www.firedaemon.com/ |
From: Jacques L. <la...@en...> - 2004-03-17 09:03:38
|
Hi, I tested colinux running as a service on my Win2K station. As I don't = have svrany from the reskit, I used cygrunsrv.exe under cygwin. It works = fine for me. Don't forget the -d parm in the colinux command, otherwise = colinux console process starts and you cannot force ending it, even when = you stop the colinux service.=20 Hope this can help. Jacques Landru -----oOo----- Jacques Landru mel: la...@en... web: http://www.enic.fr/people/landru tel: (+33) 3 2033 5556 fax: (+33) 3 2033 5598 E.N.I.C. Telecom Lille I Cite scientifique, rue G. Marconi 59658 VILLENEUVE D'ASCQ Cedex web: http://www.enic.fr Tel: (+33) 3 2033 5577=20 Fax: (+33) 3 2033 5599=20 -----oOo----- |
From: Marko B. <bo...@ks...> - 2004-03-17 09:36:20
|
Jacques Landru wrote: > Hi, > > I tested colinux running as a service on my Win2K station. As I don't > have svrany from the reskit, I used cygrunsrv.exe under cygwin. It works > fine for me. Don't forget the -d parm in the colinux command, otherwise > colinux console process starts and you cannot force ending it, even when > you stop the colinux service. I have a question here: what about safely shutting down coLinux? Running coLinux as a regular process, I do a reboot and wait for it to shutdown (running 'shutdown now' switches to maint. mode) I'm using Debian distribution from coLinux. When you run coLinux as a service, I guess you can also do a reboot, but what about shutting down your box? -- Marko ICQ: 5990814 I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get. |
From: Jason A. P. <pat...@pc...> - 2004-03-17 15:15:36
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jacques Landru wrote: | Hi, | | I tested colinux running as a service on my Win2K station. As I don't | have svrany from the reskit, I used cygrunsrv.exe under cygwin. It works | fine for me. Don't forget the -d parm in the colinux command, otherwise | colinux console process starts and you cannot force ending it, even when | you stop the colinux service. Would you mind kindly documenting exactly how you did this? I've attempted the following (and many others) and gotten nowhere: cygrunsrv.exe --install coLinux --path c:\\coLinux\\colinux-daemon.exe - --args '-d' Thanks. - -- Jason A. Pattie pat...@xp... Xperience, Inc. (http://www.xperienceinc.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAWGuGuYsUrHkpYtARAkncAJsFfkGPgZKkwEPSbOB5ucR/SOP5wACggmM1 gYPSvwZvuNKne+7QAQyU1BI= =j9W3 -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |
From: Jacques L. <la...@en...> - 2004-03-17 16:27:49
|
> Would you mind kindly documenting exactly how you did this? I've > attempted the following (and many others) and gotten nowhere: > $ cygrunsrv.exe -I "colinux" \ -p "/cygdrive/c/colinux/colinux-20040225-bin/colinux-daemon.exe" \ -a "-d" -t "manual" -c "/cygdrive/c/colinux/colinux-20040225-bin/" \ -d "colinux" -f "colinux as a service" ----- Original Message ----- From: "Jason A. Pattie" <pat...@pc...> To: "Jacques Landru" <la...@en...> Cc: <col...@li...> Sent: Wednesday, March 17, 2004 4:15 PM Subject: Re: [coLinux-devel] Re: NT service was: Running as non-admin > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jacques Landru wrote: > | Hi, > | > | I tested colinux running as a service on my Win2K station. As I don't > | have svrany from the reskit, I used cygrunsrv.exe under cygwin. It works > | fine for me. Don't forget the -d parm in the colinux command, otherwise > | colinux console process starts and you cannot force ending it, even when > | you stop the colinux service. > > Would you mind kindly documenting exactly how you did this? I've > attempted the following (and many others) and gotten nowhere: > > cygrunsrv.exe --install coLinux --path c:\\coLinux\\colinux-daemon.exe > - --args '-d' > > Thanks. > > - -- > Jason A. Pattie > pat...@xp... > Xperience, Inc. (http://www.xperienceinc.com) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: Using GnuPG with Debian - http://enigmail.mozdev.org > > iD8DBQFAWGuGuYsUrHkpYtARAkncAJsFfkGPgZKkwEPSbOB5ucR/SOP5wACggmM1 > gYPSvwZvuNKne+7QAQyU1BI= > =j9W3 > -----END PGP SIGNATURE----- > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > |
From: Jason A. P. <pat...@pc...> - 2004-03-17 17:26:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jacques Landru wrote: |>Would you mind kindly documenting exactly how you did this? I've |>attempted the following (and many others) and gotten nowhere: |> | | $ cygrunsrv.exe -I "colinux" \ | -p "/cygdrive/c/colinux/colinux-20040225-bin/colinux-daemon.exe" \ | -a "-d" -t "manual" -c "/cygdrive/c/colinux/colinux-20040225-bin/" \ | -d "colinux" -f "colinux as a service" Ahh. I was missing one piece. --chdir I also found out, through using instsrv and srvany (but then removing them after getting cygrunsrv working), that permissions on default.colinux.xml were not allowing the local system user to read this file. The permissions were apparently OK on the other files, since it works fine after I allowed Everyone read access to the .xml config file. It's working great now. Thanks very much. - -- Jason A. Pattie pat...@xp... Xperience, Inc. (http://www.xperienceinc.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAWIocuYsUrHkpYtARAuiaAKCC4h3W4P4op1y09dFQVWP4l6vkbQCeLtrF 6KAXlCysa0MFPue7vVQRjqk= =ipCs -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |
From: Jason A. P. <pat...@pc...> - 2004-03-16 20:17:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Crypto wrote: |>Standard srvany.exe from reskit does not allow to start colinux as |>service. I suppose it happens because of creating and attaching |>console. | | | I have been using colinux with srvany as a service from the beginning. | The -d switch does the trick as it prevents the console from being | created. | | This is how I did it. Srvany just starts a script called start.cmd with | this contents: | | c: | cd \colinux | colinux-daemon -d It would be nice if this could work somehow using cygrunsrv.exe. I'm currently moving my coLinux directory into c:\cygwin\coLinux to see if the path works properly after that, since I'm currently getting System Log events that state that "The system cannot find the file specified". - -- Jason A. Pattie pat...@xp... Xperience, Inc. (http://www.xperienceinc.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAV2DhuYsUrHkpYtARAiKjAJ0U+fr4kH8qnbAO14sEgiXewPgDKgCbBm5F qudK7suba8E9OkhvkDPxf4g= =4GQs -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |