Section 3 : Running a Server

Q349: Howto setting up the syslog daemon?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
How to set up the syslog daemon?

    > Tell you what's wrong: you've forgotten to include a servertrace
    > in your question :-))

    how to do that?

A.
Date: Wed, 11 Sep 1996 09:30:45 +0200 (MST)
From: Matthias Apitz <guru@softcon.de >
Subject: Re: fax can not be sent


You may start by reading the man pages of config. The faxgetty(1M)
tries do initialize the modem and a ServerTrace would show which
AT-commands are sent to the modem an what the modem is responding.
The value of ServerTrace: should be set in the modem config file
(e.g. spool/etc/config.ttyf2) to a value like 0x0f.
The value of LogFacility: should be set to "local0".

The log-output is done via syslogd(1M) and you have also to configure
your syslog daemon to collect the messages in a file; see the man
page of syslog.conf(4F) how to do that on your system. For me on my
UNIX SVR4.2 the file /etc/syslog.conf contains:
local0.err      /var/log/syslog
local0.info     /var/log/syslog
local0.warning  /var/log/syslog
local0.debug    /var/log/syslog
local0.notice   /var/log/syslog

The file "/var/log/syslog" must exist, world-writeable and after
changing /etc/syslog.conf you've to restart the syslog daemon (or
poke it with signal -HUP).
    
    Btw, by "faxsetup", two files "/bin/vgetty" and "/bin/egetty" can not
    be found. They are not in my computer, where can I find them?

You only need them for voice handling or other special cases;
read config for details.
    
Hope it helps you out.

	matthias


 Back to FAQ Index FAQ Index  Next question in List Q350: How to distinguish which files have been received on which devices?
faq@hylafax.org. Last updated $Date: 2001/06/23 06:42:12 $.