Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

locking config problem



I am definately missing something.

Using HylaFAX (tm) Version 4.0pl1 on Linux 2.0.29 i586

/etc/init.d/hylafax start .. starts the various fax proceses .. then
/etc/inittab which states:

S1:2345:respawn:/var/hylafax/sbin/faxgetty modem

communicates to the FaxQueuer (faxq) process through the
fifo that the modem is avaliable and it's capabilities:

May 20 18:30:31 holly FaxQueuer[27582]: HylaFAX (tm) Version 4.0pl1
May 20 18:30:31 holly FaxQueuer[27582]: Copyright (c) 1990-1996 Sam Leffler
May 20 18:30:31 holly FaxQueuer[27582]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
May 20 18:30:39 holly FaxQueuer[27582]: FIFO RECV "+modem:N+1.314.534.4351"
May 20 18:30:39 holly FaxQueuer[27582]: MODEM modem: NUMBER +1.314.534.4351
May 20 18:30:39 holly FaxGetty[27593]: OPEN /dev/modem
May 20 18:30:47 holly FaxGetty[27593]: MODEM MULTI-TECH SYSTEMS MT2834BA/0206
May 20 18:30:48 holly FaxQueuer[27582]: FIFO RECV "+modem:RP3fd5ffff:ff"
May 20 18:30:48 holly FaxQueuer[27582]: MODEM modem: READY, capabilities P3fd5ffff:ff

Then a Job is submitted via 'sendfax' .. which causes faxq to eventually run
faxsend, which determines that the modem is wedged:

May 20 18:42:50 holly FaxQueuer[27582]: JOB 2 (active dest +13145344351 pri 127 tts 0:00 killtime 23:59:10): CMD START /var/hylafax/sbin/faxsend -m modem sendq/q2 (PID 27759)
May 20 18:42:50 holly FaxSend[27759]: /dev/modem: Can not open modem (Device or resource busy)
May 20 18:43:20 holly FaxSend[27759]: /dev/modem: Can not open modem (Device or resource busy)
May 20 18:43:50 holly FaxSend[27759]: /dev/modem: Can not open modem (Device or resource busy)
May 20 18:43:50 holly FaxSend[27759]: Unable to setup modem on /dev/modem; giving up after 2 attempts
May 20 18:43:50 holly FaxQueuer[27582]: FIFO RECV "+modem:W"
May 20 18:43:50 holly FaxQueuer[27582]: MODEM /dev/modem appears to be wedged
May 20 18:43:50 holly FaxQueuer[27582]: MODEM WEDGED: bin/wedged "modem" "/dev/modem"


After a few unsuccessful re-trieds, I commented out faxgetty in /etc/inittab
and suddenly faxsend is able to send a fax!

May 20 18:54:37 holly FaxGetty[27869]: CAUGHT SIGNAL 15
May 20 18:54:37 holly FaxGetty[27869]: CLOSE /dev/modem
May 20 18:55:03 holly FaxSend[27980]: MODEM MULTI-TECH SYSTEMS MT2834BA/0206
May 20 18:55:03 holly FaxSend[27980]: SEND FAX: JOB 2 DEST 5344351 COMMID 00000005
May 20 18:55:10 holly FaxQueuer[27582]: FIFO RECV "*2:c"


Obviously I am missing something here.  'preciate any suggestions!
--
Todd Fries .. todd@heuris.com



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services