Re: [syslog-ng]How can I stop syslog-ng by command
In FreeBSD ,you may can use /usr/local/etc/rc.d/syslog-ng.sh \ [start|stop] -----Original message----- From:wei<wei00@126.com> To:syslog-ng<syslog-ng@lists.balabit.hu> Date: Mon, 13 Dec 2004 17:56:51 +0800 Subject: [syslog-ng]How can I stop syslog-ng by command Hello everyone: I have a simple question to ask you. Could you tell me a command to stop/start my syslog-ng server? In my Syslog-ng 1.6.5, I can’t use “syslog-ng stop” to stop my syslog-ng. I can only use kill, but I don’t think it is a good idea. Thx!! _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
Dearͯ���N: Thanks for your response, my syslog-ng is installed on Linux RH9, so I don't have the syslog-ng.sh file. What should I do? Could you mail me that file? Thx. -----�ʼ�ԭ��----- ������: syslog-ng-admin@lists.balabit.hu [mailto:syslog-ng-admin@lists.balabit.hu] ���� ͯ���N ����ʱ��: 2004��12��13�� 21:24 �ռ���: syslog-ng@lists.balabit.hu ����: Re: [syslog-ng]How can I stop syslog-ng by command In FreeBSD ,you may can use /usr/local/etc/rc.d/syslog-ng.sh \ [start|stop] -----Original message----- From:wei<wei00@126.com> To:syslog-ng<syslog-ng@lists.balabit.hu> Date: Mon, 13 Dec 2004 17:56:51 +0800 Subject: [syslog-ng]How can I stop syslog-ng by command Hello everyone: I have a simple question to ask you. Could you tell me a command to stop/start my syslog-ng server? In my Syslog-ng 1.6.5, I can��t use ��syslog-ng stop�� to stop my syslog-ng. I can only use kill, but I don��t think it is a good idea. Thx!! _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
If you installed from an RPM, there *should* be a script already; try running: /etc/init.d/syslog-ng start' If that doesn't work, you can create that script by copying it from https://lists.balabit.hu/pipermail/syslog-ng/1999-October/000250.html If you built and installed from source, there is a script called 'init.d.RedHat' in the 'contrib' directory that was included with the source. Copy it to '/etc/init.d/'' and re-name it 'syslog-ng'; then run it. On Tue, 14 Dec 2004 09:03:37 +0800, wei <wei00@126.com> wrote:
Thanks for your response, my syslog-ng is installed on Linux RH9, so I don't have the syslog-ng.sh file. What should I do? Could you mail me that file?
Dear Jay Guerette: Thanks for your help, I have found the shell file in /etc/init.d, it works well. -----邮件原件----- 发件人: syslog-ng-admin@lists.balabit.hu [mailto:syslog-ng-admin@lists.balabit.hu] 代表 Jay Guerette 发送时间: 2004年12月14日 9:21 收件人: syslog-ng@lists.balabit.hu 主题: Re: [syslog-ng]答复: [syslog-ng]How can I stop syslog-ng by command If you installed from an RPM, there *should* be a script already; try running: /etc/init.d/syslog-ng start' If that doesn't work, you can create that script by copying it from https://lists.balabit.hu/pipermail/syslog-ng/1999-October/000250.html If you built and installed from source, there is a script called 'init.d.RedHat' in the 'contrib' directory that was included with the source. Copy it to '/etc/init.d/'' and re-name it 'syslog-ng'; then run it. On Tue, 14 Dec 2004 09:03:37 +0800, wei <wei00@126.com> wrote:
Thanks for your response, my syslog-ng is installed on Linux RH9, so I don't have the syslog-ng.sh file. What should I do? Could you mail me that file?
syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (3)
-
Jay Guerette
-
wei
-
童永昇