Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] Receiving fax process abnormally exits, leaving stale LCK, requiring SIGHUP
Hi all,
(I think) I'm having a problem with the receiving fax process exiting
abnormally; leaving a stale LCK file; resulting in a useless faxgetty
that will not receive faxes anymore ;-( until I give the faxgetty
process a SIGHUP.
This has happened several times in the last month, and appears to be
caused by an unfinished fax being received (or something similar).
How can I automatically detect the abnormal termination of the
offending process, and thus automagically SIGHUP the faxgetty _or_ is
there a better solution to preventing the abnormal terminations?
Thanks in advance,
Ben.
Syslog output:
Jul 17 17:57:39 sauron FaxGetty[12745]: ANSWER: FAX CONNECTION
Jul 17 17:58:03 sauron FaxGetty[12745]: RECV FAX (00000061): from 65 7348419, page 1 in 0:22, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
<snip other non-FaxGetty server messages>
Faxes cannot be received. Looks like the faxgetty isn't responding...
kill -HUP <faxgetty pid>
Jul 18 18:31:54 sauron FaxGetty[14691]: OPEN /dev/ttyS1
Jul 18 18:31:54 sauron FaxGetty[14691]: Purge stale UUCP lock /var/lock/LCK..ttyS1
Jul 18 18:32:03 sauron FaxGetty[14691]: MODEM TI 56 VOICE /
Everything okay again, now.
The offending /var/spool/hylafax/log/c***
Jul 17 17:57:32.34: [12745]: SESSION BEGIN 00000061 743
Jul 17 17:57:32.34: [12745]: <-- [4:ATA\r]
Jul 17 17:57:39.78: [12745]: --> [4:+FCO]
Jul 17 17:57:39.78: [12745]: ANSWER: FAX CONNECTION
Jul 17 17:57:39.78: [12745]: RECV FAX: begin
Jul 17 17:57:41.87: [12745]: --> [27:+FTI:" 65 7348419"]
Jul 17 17:57:41.87: [12745]: REMOTE TSI "65 7348419"
Jul 17 17:57:41.87: [12745]: --> [20:+FCS:0,5,0,2,0,0,0,0]
Jul 17 17:57:41.87: [12745]: REMOTE wants 14400 bit/s
Jul 17 17:57:41.87: [12745]: REMOTE wants page width 1728 pixels in 215 mm
Jul 17 17:57:41.87: [12745]: REMOTE wants unlimited page length
Jul 17 17:57:41.87: [12745]: REMOTE wants 3.85 line/mm
Jul 17 17:57:41.87: [12745]: REMOTE wants 1-D MR
Jul 17 17:57:41.87: [12745]: --> [2:OK]
Jul 17 17:57:41.87: [12745]: <-- [7:AT+FDR\r]
Jul 17 17:57:47.05: [12745]: --> [7:CONNECT]
Jul 17 17:57:47.05: [12745]: RECV: begin page
Jul 17 17:57:47.05: [12745]: RECV: send trigger 022
Jul 17 17:57:47.05: [12745]: <-- data [1]
Jul 17 17:58:02.40: [12745]: RECV: 27541 bytes of data, 1168 total lines
Jul 17 17:58:02.51: [12745]: --> [17:+FPS:1,1168,0,0,0]
Jul 17 17:58:03.86: [12745]: --> [6:+FET:0]
Jul 17 17:58:03.86: [12745]: RECV recv MPS (more pages, same document)
Jul 17 17:58:03.86: [12745]: --> [2:OK]
Jul 17 17:58:03.86: [12745]: RECV send MCF (message confirmation)
Jul 17 17:58:03.86: [12745]: RECV FAX (00000061): from 65 7348419, page 1 in 0:22, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Jul 17 17:58:03.86: [12745]: <-- [7:AT+FDR\r]
Jul 17 17:58:05.87: [12745]: --> [7:CONNECT]
Jul 17 17:58:05.87: [12745]: RECV: begin page
Jul 17 17:58:05.87: [12745]: RECV: send trigger 022
Jul 17 17:58:05.87: [12745]: <-- data [1]
Jul 17 17:58:24.09: [12745]: RECV: 32667 bytes of data, 999 total lines
Jul 17 17:58:26.58: [12745]: RECV: 4359 bytes of data, 1160 total lines
--
B. http://makelinux.org/ "Always real." http://realthought.net/
__________________________________________________________________________
I have discovered that all human evil comes from this, man's being unable
to sit still in a room.
-- Blaise Pascal
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null