Transmission error: +FHNG:-5 (Unexpected hangup...

Chris Worley (cworley@altatech.com)
Wed, 21 Apr 1999 10:41:15 -0700


I've sent faxes to fax machines without error, but this specific fax
gives me problems.

It seems to connect OK, and I see a lot of sending going on, but then it
cuts off with this error, and nothing is rec'd on the other side.

Any ideas?

Thanks,

Chris

Here's some of the info being logged:

# faxrunq
processing F000006/JOB...
/usr/sbin/sendfax -v 3590904 f1.g3 f2.g3
Trying fax device '/dev/ttyS0'... OK.

04/21 10:40:09 yS0   checking lockfiles, locking the line
04/21 10:40:09 yS0   makelock(ttyS0) called
04/21 10:40:09 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
04/21 10:40:09 yS0  lock not made: lock file exists (pid=12542)
04/21 10:40:09 yS0   lock file exists (dialout)!
04/21 10:40:09 yS0   lockfile found, pid=12542
04/21 10:40:09 yS0   utmp + wtmp entry made
04/21 10:40:09 yS0   lockfile found, pid=12542Dialing 3590904...
04/21 10:40:19 yS0   lockfile found, pid=12542
04/21 10:40:29 yS0   lockfile found, pid=12542OK.

sending 'f1.g3'...

04/21 10:40:39 yS0   lockfile found, pid=12542
04/21 10:40:49 yS0   lockfile found, pid=12542

/usr/sbin/sendfax: FAILED to transmit 'f1.g3'.
Transmission error: +FHNG:-5 (Unexpected hangup / read() error / write()
error (int.))

Apr 21 10:40:53 wali-g sendfax[12542]: mdm_read_byte: read returned 0:
Success
Apr 21 10:40:53 wali-g sendfax[12542]: mdm_get_line: cannot read byte,
return: Success
Apr 21 10:40:53 wali-g sendfax[12542]: failed transmitting f1.g3:
phone="3590904", +FHS:-5, dev=ttyS0, time=43s, acct=""
Apr 21 10:40:53 wali-g sendfax[12542]: fax_send: cannot write: I/O error
command exited with status 12
Apr 21 10:40:54 wali-g sendfax[12542]: tio: cannot flush queue: I/O
error
04/21 10:40:59 yS0   checklock: stat failed, no file
04/21 10:41:04 yS0   checklock: stat failed, no file
--
04/21 10:41:04 yS0  mgetty: experimental test release 1.1.8-Jul27
...mgetty restarts