Doemonizing Crash

18 views
Skip to first unread message

Harsh Kumar

unread,
Apr 19, 2013, 5:55:45 AM4/19/13
to crash...@googlegroups.com
Hi,

I want to deamonize CRaSH. So that all i would need to do is telnet to it via some machine and have a runnable prompt, without having CRaSH prompt open in a terminal on the machine I am running it on.

So, CRaSH is running in background. I telnet from some machine and get prompt without bothering the host machine much.

Any Ideas?

Julien Viet

unread,
Apr 19, 2013, 6:12:40 AM4/19/13
to crash...@googlegroups.com
if you run crash with the telnet connector then you would be able to login from a remote machine.

which crash mode are you using ? (embedded ? standalone ?)


--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes CRaSH User Group.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse crash-users...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 

Harsh Kumar

unread,
Apr 19, 2013, 8:30:32 AM4/19/13
to crash...@googlegroups.com
I am using standalone


2013/4/19 Julien Viet <jul...@julienviet.com>

--
Vous recevez ce message car vous êtes abonné à un sujet dans le groupe Google Groupes "CRaSH User Group".
Pour vous désabonner de ce sujet, visitez le site https://groups.google.com/d/topic/crash-users/I12KaRiKRuA/unsubscribe?hl=fr.
Pour vous désabonner de ce groupe et de tous ses sujets, envoyez un e-mail à l'adresse crash-users...@googlegroups.com.

Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 



--
Sincerely
Harsh Kumar
-------------------------------------------------------------------------------------------------------------------
Please consider the environment before printing this email.
Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. I accept no liability for any damage caused by any virus transmitted by this email.
-------------------------------------------------------------------------------------------------------------------

Julien Viet

unread,
Apr 19, 2013, 8:40:09 AM4/19/13
to crash...@googlegroups.com
standalone does provide by default the telnet and ssh connectors, so it should work by default.

perhaps the issue is that it is interactive and in that case there should be a way to make it non interractive.

is that what you mean ?

Harsh Kumar

unread,
Apr 19, 2013, 9:23:00 AM4/19/13
to crash...@googlegroups.com
exactly. I am able to telnet to it, but it is interactive on the host machine as well, which i do not want

Julien Viet

unread,
Apr 19, 2013, 10:20:58 AM4/19/13
to crash...@googlegroups.com
we should so consider to provide an option for starting crash standalone as a daemon that does not use the console IO .

Julien Viet

unread,
Apr 22, 2013, 2:00:34 AM4/22/13
to crash...@googlegroups.com
I commited in crash repository a non interactive option for standalone : https://jira.exoplatform.org/browse/CRASH-122

./crash.sh --non-interactive

you can test it now with a snapshot (the snapshot link is on the site : http://www.crashub.org)

let me know how it works for you

Julien

Harsh Kumar

unread,
Apr 23, 2013, 12:09:28 AM4/23/13
to crash...@googlegroups.com
It works like a charm. Thanks a lot.

Can you throw some light onto how you were able to achieve this?

Julien Viet

unread,
Apr 23, 2013, 2:22:32 AM4/23/13
to crash...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages