LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Nick Morrison <nickm@bhwb.nsw.gov.au>
  To  : <linuxsa@linuxsa.org.au>
  Date: Wed, 28 Feb 2001 14:55:10 +1030

mgetty logs

Hey y'all,

Does anybody have any idea as to possible causes for the following issue?

I'm using mgetty to answer modems and start pppd and so on.

(from /etc/inittab)  S4:2345:respawn:/sbin/mgetty ttyS4

It works perfectly.  Modems are answered, things all work as they should.
BUT - log messages aren't being sent to /var/log/mgetty.log.ttySx like I
would expect them to - they are being sent to /var/log/messages, but all
are appended with messages like this:

Feb 28 14:35:04 medusa mgetty[827]: checking if modem is still alive: Connection reset by peer
Feb 28 14:35:04 medusa mgetty[827]: mdm_send: 'AT': Connection reset by peer
Feb 28 14:35:04 medusa mgetty[827]: waiting...: Connection reset by peer
Feb 28 14:39:07 medusa mgetty[28511]: wfr: waiting for ``RING'': No such file or directory
Feb 28 14:39:07 medusa mgetty[28511]: send: : Operation not permitted
Feb 28 14:39:07 medusa mgetty[28511]: waiting for ``CONNECT'': Operation not permitted
Feb 28 14:39:26 medusa mgetty[28511]: send: : Operation not permitted
Feb 28 14:39:26 medusa mgetty[28511]: waiting for ``_'': Operation not permitted

Sooo it kinda looks like they (the messages) are *trying* to go to another
log file, but failing and defaulting back to /var/log/messages.....

Can anyone suggest a place for me to look for causes for this problem?

The exact same configuration files were previously used on another system,
and logging worked correctly.

I've tried creating blank log files of the right name, but that didn't make
a difference.

Syslogd is being started with the '-r' option - not that that should make
any difference, as the log messages are being generated on the local
machine.

TIA!


-- 

Nick Morrison <nickm@bhwb.nsw.gov.au>

Australian Inland Energy and Water
http://www.aienergy.com.au/

Phone:  +61 8 8082 5405
Fax:    +61 8 8080 2430

  recursion, n: see recursion.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page