General discussion

Locked

Killing the daemon

By harikumars_80 ·
We Take daily backups in our linux system using the tape drive and we have to restart the linux system in order to kill the backup daemon daily for starting the next days backup. This is results in the system downtime which happens to be our mailserver.

Please tell me a solution so as to kill the daemon automatically soon after the backup is over.
Regards
HARI

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Killing the daemon

by it In reply to Killing the daemon

You need to be a little more specific to be able to get good help

because you say that "we have to restart the linux system in order to kill the backup daemon daily for starting the next days backup", I will assume that somehow a program is called to do a backup when you start linux. That means that the program is probably in /etc/rc.d/init.d/

please, check there or give us a little more information then we can help you!

in general, you can kill any process (including daemons), with the commands

kill
killall

this commands have several swithches, the most used ones are -1 (hup or "restart" or reread the conf. file), -9 (brute force kill) and -15 (terminate process, but do it closing all open files and child process...)

if you know the name of the process, you can use
killall -15 program.name
but it wont allways works

you can try to find the porces pid with ps , and then you use

kill -15 pidnumber

good luck
Marcos

Back to Linux Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums