mgetty respawning too fast
Michal Ruml
michal.ruml na telecom.cz
Středa Září 30 10:18:03 CEST 1998
Pokousim se zprovoznit modemove spojeni.
Po spusteni mgetty v inittabu
C0:2345:respawn:/sbin/mgetty -x 9 s 57600 modem
se objevi chyba
INIT ID "C0" respawnig too fast :disabled for 5 minutes
pri spusteni s prikazove radky se nic nevypise,ale v /etc
/mgetty+senfax/Log_mg.s je v obou pripadech
--
09/29 05:33:22 9 mgetty: experimental test release 1.1.9-Aug17
09/29 05:33:22 9 mgetty.c compiled at Dec 19 1997, 22:13:10
09/29 05:33:22 9 reading configuration data for port 's'
^^^^^^^^^^^^
odkud se to bere ?
09/29 05:33:22 9 reading /etc/mgetty+sendfax/mgetty.config...
09/29 05:33:22 9 conf lib: read: 'debug 4'
09/29 05:33:22 9 conf lib: read: 'fax-id 49 89 xxxxxxxx'
09/29 05:33:22 9 conf lib: read: 'speed 38400'
09/29 05:33:22 9 conf lib: read: 'port ttyS0'
09/29 05:33:22 9 section: port ttyS0, ignore
^^^^^^^^^
09/29 05:33:22 9 conf lib: read: 'debug 8'
09/29 05:33:22 9 conf lib: read: 'data-only y'
09/29 05:33:22 9 key: 'speed', type=0, flags=3, data=38400
09/29 05:33:22 9 key: 'switchbd', type=0, flags=1, data=0
09/29 05:33:22 9 key: 'direct', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'blocking', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'port-owner', type=1, flags=1, data=uucp
09/29 05:33:22 9 key: 'port-group', type=1, flags=1, data=uucp
09/29 05:33:22 9 key: 'port-mode', type=0, flags=1, data=432
09/29 05:33:22 9 key: 'toggle-dtr', type=3, flags=1, data=TRUE
09/29 05:33:22 9 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
09/29 05:33:22 9 key: 'data-only', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'fax-only', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'modem-type', type=1, flags=1, data=auto
09/29 05:33:22 9 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK ATS0=0Q0&D3&C1 OK
09/29 05:33:22 9 key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
09/29 05:33:22 9 key: 'modem-check-time', type=0, flags=1, data=3600
09/29 05:33:22 9 key: 'rings', type=0, flags=1, data=1
09/29 05:33:22 9 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
09/29 05:33:22 9 key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c
09/29 05:33:22 9 key: 'answer-chat-timeout', type=0, flags=1, data=80
09/29 05:33:22 9 key: 'autobauding', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'ringback', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'ringback-time', type=0, flags=1, data=30
09/29 05:33:22 9 key: 'ignore-carrier', type=3, flags=1, data=FALSE
09/29 05:33:22 9 key: 'issue-file', type=1, flags=1, data=/etc/issue
09/29 05:33:22 9 key: 'prompt-waittime', type=0, flags=1, data=500
09/29 05:33:22 9 key: 'login-prompt', type=1, flags=1, data=login:
09/29 05:33:22 9 key: 'login-time', type=0, flags=1, data=240
09/29 05:33:22 9 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
09/29 05:33:22 9 key: 'fax-id', type=1, flags=3, data=49 89 xxxxxxxx
09/29 05:33:22 9 key: 'fax-server-file', type=1, flags=0, data=(empty)
09/29 05:33:22 9 key: 'diskspace', type=0, flags=1, data=1024
09/29 05:33:22 9 key: 'notify', type=1, flags=1, data=faxadmin
09/29 05:33:22 9 key: 'fax-owner', type=1, flags=1, data=uucp
09/29 05:33:22 9 key: 'fax-group', type=1, flags=0, data=(empty)
09/29 05:33:22 9 key: 'fax-mode', type=0, flags=1, data=432
09/29 05:33:22 9 key: 'debug', type=0, flags=2, data=9
09/29 05:33:22 9 key: 'statistics-chat', type=2, flags=0, data=(empty)
09/29 05:33:22 9 key: 'statistics-file', type=1, flags=0, data=(empty)
09/29 05:33:22 9 key: 'gettydefs', type=1, flags=1, data=n
09/29 05:33:22 9 key: 'term', type=1, flags=0, data=(empty)
09/29 05:33:22 9 check for lockfiles
09/29 05:33:22 9 checklock: no active process has lock, will remove
09/29 05:33:22 9 locking the line
09/29 05:33:22 9 makelock(s) called
09/29 05:33:22 9 do_makelock: lock='/var/lock/LCK..s'
09/29 05:33:22 9 lock made
09/29 05:33:23 9 mod: cannot open line /dev/s: No such file or
directory
09/29 05:33:23 9 open device /dev/s failed: Protocol wrong type for
socket
09/29 05:33:23 9 cannot get terminal line dev=s, exiting: Protocol
wrong type for socket
--
09/30 03:42:45 9 mgetty: experimental test release 1.1.9-Aug17
09/30 03:42:45 9 mgetty.c compiled at Dec 19 1997, 22:13:10
09/30 03:42:45 9 reading configuration data for port 's'
09/30 03:42:45 9 reading /etc/mgetty+sendfax/mgetty.config...
09/30 03:42:45 9 conf lib: read: 'debug 4'
09/30 03:42:45 9 conf lib: read: 'fax-id 49 89 xxxxxxxx'
09/30 03:42:45 9 conf lib: read: 'speed 38400'
09/30 03:42:45 9 conf lib: read: 'port ttyS0'
09/30 03:42:45 9 section: port ttyS0, ignore
09/30 03:42:45 9 conf lib: read: 'debug 8'
09/30 03:42:45 9 conf lib: read: 'data-only y'
09/30 03:42:45 9 key: 'speed', type=0, flags=3, data=38400
09/30 03:42:45 9 key: 'switchbd', type=0, flags=1, data=0
09/30 03:42:45 9 key: 'direct', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'blocking', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'port-owner', type=1, flags=1, data=uucp
09/30 03:42:45 9 key: 'port-group', type=1, flags=1, data=uucp
09/30 03:42:45 9 key: 'port-mode', type=0, flags=1, data=432
09/30 03:42:45 9 key: 'toggle-dtr', type=3, flags=1, data=TRUE
09/30 03:42:45 9 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
09/30 03:42:45 9 key: 'data-only', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'fax-only', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'modem-type', type=1, flags=1, data=auto
09/30 03:42:45 9 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK ATS0=0Q0&D3&C1 OK
09/30 03:42:45 9 key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
09/30 03:42:45 9 key: 'modem-check-time', type=0, flags=1, data=3600
09/30 03:42:45 9 key: 'rings', type=0, flags=1, data=1
09/30 03:42:45 9 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
09/30 03:42:45 9 key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c
09/30 03:42:45 9 key: 'answer-chat-timeout', type=0, flags=1, data=80
09/30 03:42:45 9 key: 'autobauding', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'ringback', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'ringback-time', type=0, flags=1, data=30
09/30 03:42:45 9 key: 'ignore-carrier', type=3, flags=1, data=FALSE
09/30 03:42:45 9 key: 'issue-file', type=1, flags=1, data=/etc/issue
09/30 03:42:45 9 key: 'prompt-waittime', type=0, flags=1, data=500
09/30 03:42:45 9 key: 'login-prompt', type=1, flags=1, data=login:
09/30 03:42:45 9 key: 'login-time', type=0, flags=1, data=240
09/30 03:42:45 9 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
09/30 03:42:45 9 key: 'fax-id', type=1, flags=3, data=49 89 xxxxxxxx
09/30 03:42:45 9 key: 'fax-server-file', type=1, flags=0, data=(empty)
09/30 03:42:45 9 key: 'diskspace', type=0, flags=1, data=1024
09/30 03:42:45 9 key: 'notify', type=1, flags=1, data=faxadmin
09/30 03:42:45 9 key: 'fax-owner', type=1, flags=1, data=uucp
09/30 03:42:45 9 key: 'fax-group', type=1, flags=0, data=(empty)
09/30 03:42:45 9 key: 'fax-mode', type=0, flags=1, data=432
09/30 03:42:45 9 key: 'debug', type=0, flags=2, data=9
09/30 03:42:45 9 key: 'statistics-chat', type=2, flags=0, data=(empty)
09/30 03:42:45 9 key: 'statistics-file', type=1, flags=0, data=(empty)
09/30 03:42:45 9 key: 'gettydefs', type=1, flags=1, data=n
09/30 03:42:45 9 key: 'term', type=1, flags=0, data=(empty)
09/30 03:42:45 9 check for lockfiles
09/30 03:42:45 9 checklock: stat failed, no file
09/30 03:42:45 9 locking the line
09/30 03:42:45 9 makelock(s) called
09/30 03:42:45 9 do_makelock: lock='/var/lock/LCK..s'
09/30 03:42:45 9 lock made
09/30 03:42:46 9 mod: cannot open line /dev/s: No such file or
directory
09/30 03:42:46 9 open device /dev/s failed: Protocol wrong type for
socket
09/30 03:42:46 9 cannot get terminal line dev=s, exiting: Protocol
wrong type for socket
--
09/30 03:43:24 9 mgetty: experimental test release 1.1.9-Aug17
09/30 03:43:24 9 mgetty.c compiled at Dec 19 1997, 22:13:10
09/30 03:43:24 9 reading configuration data for port 's'
09/30 03:43:24 9 reading /etc/mgetty+sendfax/mgetty.config...
09/30 03:43:24 9 conf lib: read: 'debug 4'
09/30 03:43:24 9 conf lib: read: 'fax-id 49 89 xxxxxxxx'
09/30 03:43:24 9 conf lib: read: 'speed 38400'
09/30 03:43:24 9 conf lib: read: 'port ttyS0'
09/30 03:43:24 9 section: port ttyS0, ignore
09/30 03:43:24 9 conf lib: read: 'debug 8'
09/30 03:43:24 9 conf lib: read: 'data-only y'
09/30 03:43:24 9 key: 'speed', type=0, flags=3, data=38400
09/30 03:43:24 9 key: 'switchbd', type=0, flags=1, data=0
09/30 03:43:24 9 key: 'direct', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'blocking', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'port-owner', type=1, flags=1, data=uucp
09/30 03:43:24 9 key: 'port-group', type=1, flags=1, data=uucp
09/30 03:43:24 9 key: 'port-mode', type=0, flags=1, data=432
09/30 03:43:24 9 key: 'toggle-dtr', type=3, flags=1, data=TRUE
09/30 03:43:24 9 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
09/30 03:43:24 9 key: 'data-only', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'fax-only', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'modem-type', type=1, flags=1, data=auto
09/30 03:43:24 9 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK ATS0=0Q0&D3&C1 OK
09/30 03:43:24 9 key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
09/30 03:43:24 9 key: 'modem-check-time', type=0, flags=1, data=3600
09/30 03:43:24 9 key: 'rings', type=0, flags=1, data=1
09/30 03:43:24 9 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
09/30 03:43:24 9 key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c
09/30 03:43:24 9 key: 'answer-chat-timeout', type=0, flags=1, data=80
09/30 03:43:24 9 key: 'autobauding', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'ringback', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'ringback-time', type=0, flags=1, data=30
09/30 03:43:24 9 key: 'ignore-carrier', type=3, flags=1, data=FALSE
09/30 03:43:24 9 key: 'issue-file', type=1, flags=1, data=/etc/issue
09/30 03:43:24 9 key: 'prompt-waittime', type=0, flags=1, data=500
09/30 03:43:24 9 key: 'login-prompt', type=1, flags=1, data=login:
09/30 03:43:24 9 key: 'login-time', type=0, flags=1, data=240
09/30 03:43:24 9 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
09/30 03:43:24 9 key: 'fax-id', type=1, flags=3, data=49 89 xxxxxxxx
09/30 03:43:24 9 key: 'fax-server-file', type=1, flags=0, data=(empty)
09/30 03:43:24 9 key: 'diskspace', type=0, flags=1, data=1024
09/30 03:43:24 9 key: 'notify', type=1, flags=1, data=faxadmin
09/30 03:43:24 9 key: 'fax-owner', type=1, flags=1, data=uucp
09/30 03:43:24 9 key: 'fax-group', type=1, flags=0, data=(empty)
09/30 03:43:24 9 key: 'fax-mode', type=0, flags=1, data=432
09/30 03:43:24 9 key: 'debug', type=0, flags=2, data=9
09/30 03:43:24 9 key: 'statistics-chat', type=2, flags=0, data=(empty)
09/30 03:43:24 9 key: 'statistics-file', type=1, flags=0, data=(empty)
09/30 03:43:24 9 key: 'gettydefs', type=1, flags=1, data=n
09/30 03:43:24 9 key: 'term', type=1, flags=0, data=(empty)
09/30 03:43:24 9 check for lockfiles
09/30 03:43:24 9 checklock: no active process has lock, will remove
09/30 03:43:24 9 locking the line
09/30 03:43:24 9 makelock(s) called
09/30 03:43:24 9 do_makelock: lock='/var/lock/LCK..s'
09/30 03:43:24 9 lock made
09/30 03:43:25 9 mod: cannot open line /dev/s: No such file or
directory
09/30 03:43:25 9 open device /dev/s failed: Protocol wrong type for
socket
09/30 03:43:25 9 cannot get terminal line dev=s, exiting: Protocol
wrong type for socket
v mgetty.config man
port ttyS0
debug 8
data-only y
-----
nainstalovano:
RH 5.0
Linux 2.0.32 #1 Mon Sep 28 09:34:39 EDT 1998 i586 unknown
mgetty-1.1.9-4
Diky za kazkou radu
Michal
Ruml
Další informace o konferenci Linux