F

On Tue, 17 Feb 2004, John Clay wrote:

> I was getting this error when booting a thin terminal on my LTSP server:
> syslogd: cannot write to remote file handle on 192.168.1.1:514
> 
> Searching the archives made it apparent that syslog wasn't accepting
> connections from remote machines. It took a bit more searching to find
> out exactly how to configure it to do so and no single post that I found
> indicated both files that needed to be revised and exactly how to revise
> them. After some experimentation here is what worked for me.
> 
> In order to get syslog to accept remote connections (on RedHat 8.0) I
> had to add the -r option to two files.
> 
>       * /etc/rc.d/init.d/syslog               
>       Added the -r option to the following line so that it now reads  like
> so: SYSLOGD_OPTIONS="-m 0 -r"
> 
>       * /etc/sysconfig/syslog
>       Added the following line: SYSLOGD_OPTIONS="-r"
> 
> Saved files and at the command line issued these commands:
> 
>       * service syslog stop
>       * service syslog start
> 
> syslog started OK and now accepts remote connections from the thin
> terminal.
> 
> John Clay

/etc/rc.d/init.d/syslog says this :-

        # Source config
        if [ -f /etc/sysconfig/syslog ] ; then
                . /etc/sysconfig/syslog
        else
                SYSLOGD_OPTIONS="-m 0"
                KLOGD_OPTIONS="-2"
        fi


So yours is a belt-n-braces approach. However, /etc/sysconfig/syslog
trumps SYSLOGD_OPTIONS in /etc/rc.d/init.d/syslog , so I guess you
tried them in the wrong order :-)

Or you speled it wrong - looks easy.    Cut-n-paste always.

But it is a good description of making it work. Check both.

Cheers,    Andy!


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to