Q112: 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.
Howto setting 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(4F). 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(4f) for details.
    
Hope it helps you out.

	matthias


Note: Some of the hyperlinks (e.g. for the man pages) can only work, if the HylaFAX software and the full documentation are installed on your system.

Matthias Apitz / guru@softcon.de ; (07:34:58 AM 01/27/97)