Antwort: RE: [syslog-ng] Syslog-ng with stunnel

Stew Redfield Stew.Redfield at WellsREF.com
Thu Jun 9 17:05:16 CEST 2005


Does stunnel require a tty to function? 

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of JF Suret
Sent: Thursday, June 09, 2005 11:00 AM
To: Syslog-ng users' and developers' mailing list
Subject: Re: RE: Antwort: RE: [syslog-ng] Syslog-ng with stunnel

Maybe you could use SSH instead ?

JF
> Message du 09/06/05 16:38
> De : "Stephen Tanner" <stanner at leeclerk.org>
> A : "Syslog-ng users' and developers' mailing list"
<syslog-ng at lists.balabit.hu>
> Copie &agrave; : 
> Objet : RE: Antwort: RE: [syslog-ng] Syslog-ng with stunnel
> 
> I understand what you guys are saying, but the programs are called
using
> the fully qualified path to them.  Both start and are running, but
> syslog-ng seems unable to send logs through the tunnel to the loghost.
> I don't know of any environmental variables that would even have
> significance to either program.
> 
> -----Original Message-----
> From: syslog-ng-bounces at lists.balabit.hu
> [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Stew Redfield
> Sent: Thursday, June 09, 2005 10:32 AM
> To: Syslog-ng users' and developers' mailing list
> Subject: RE: Antwort: RE: [syslog-ng] Syslog-ng with stunnel
> 
> Just like for cron called scripts, all environmental variables need to
> be either within the script itself or sourced by the script.
> 
> cron and init scripts have no knowledge of the environmental settings
> that may be tied to your root (or any) shell.
> 
> Also, it is best if you fully qualify program calls
(/usr/local/bin/nawk
> vs. nawk) within scripts if you don't set your path in environmental
> settings.
> 
> Bottom line, for the teams I've managed: if you need it for cron to
> work, explicitly state it.
> 
> Stew
>  
> 
> -----Original Message-----
> From: syslog-ng-bounces at lists.balabit.hu
> [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Stephen
Tanner
> Sent: Thursday, June 09, 2005 9:51 AM
> To: Syslog-ng users' and developers' mailing list
> Subject: 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 at lists.balabit.hu
> [mailto:syslog-ng-bounces at 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 at 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 at 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 at 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 at 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 at 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 at lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html



More information about the syslog-ng mailing list