RE: Antwort: RE: [syslog-ng] Syslog-ng with stunnel
Exactly what do you mean by environment being the same? The startup script works on this box if executed manually. The only thing that could possibly change would be what is actually running at the time rc starts stunnel and syslog-ng. I have place the startup script in rc2 directly after inetd starts. -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Hermann-Josef Beckers Sent: Thursday, June 09, 2005 9:47 AM To: Syslog-ng users' and developers' mailing list Subject: Antwort: RE: [syslog-ng] Syslog-ng with stunnel syslog-ng-bounces@lists.balabit.hu schrieb am 09.06.2005 15:32:38:
I have considered this. The only problem with this would be that I can manually execute the script and everything starts up properly. It only seems to barf when executed from rc on boot.
--Stephen
Did you check that the environment is exactly the same? Yours hjb _______________________________________________ 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-bounces@lists.balabit.hu schrieb am 09.06.2005 15:50:46:
Exactly what do you mean by environment being the same? The startup script works on this box if executed manually.
The environment, you are logged in(to?), when you start the script manually. Maybe you could change your startup script into something like 'su - {your_login-name} -c "/path/to/your/script"'. Yours hjb
participants (2)
-
Hermann-Josef Beckers
-
Stephen Tanner