From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006782.tru64-unix-managers.marc@archive.invalid> From: Jesus Rodriguez Castro Date: Mon, 27 Nov 1995 08:02:48 +0000 To: tru64-unix-managers Subject: What's wrong with this daemon X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006782 Days ago I asked about reseting a daemon. I told you our problem trying to put it down and up again, but as I am not the person who is directly dealing with it, I didn't explain the problem correctly. We are trying to reset the daemon. We have tried sending a HUP signal but it makes the daemon finish its execution. So we decided to make a script that put it down and up again. We made a script with a parameter that can take one of these values: 'start' or 'stop'. Most of you told me to try with nohup and so we did. We've used 'nohup &' as a script sentence and when the script ends the daemon keeps on (my jobmate told me it was something it did before, so I lied a little). The problem arises when we close the window. After adding 'nohup' it seems to work... sometimes. We are able to run the daemon and close the windows. We are even able to log off and the daemon keeps on. But now and then we try to start the daemon and when we close the window the daemon goes down. We've added the following to the line (it is an idea some of you gave us): nohup /dev/null 2>&1 & trying this way to disconnect the daemon from the terminal, but the same problem takes place. I've realised (although I am not quite sure) that executing the script being superuser fails more than being a normal user. But I find it difficult to identify the origin of the problem as it seems to be a random problem. Thanks in advance and I am sorry I didn't explain the problem correctly the first time. ,,, (o o) ====oOO--( )--OOo======================================================== JESUS RODRIGUEZ CASTRO Applications Systems Manager ------------------------------------------------------------------------- Centro de Investigaci'ons Lig"u'isticas _/ e-mail: jcastro@cirp.es e Literarias "Ram'on Pi~neiro". _/ suso@udc.es Estrada Santiago-Noia km. 3 _/ phone : +34 (9)81 542691 15896 Santiago, A Coru~na, Spain _/ fax : +34 (9)81 543553 =========================================================================