HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Repeatedly getting "Can not lock modem device" message.



Hello Sir Siri !

Modem is configured at /dev/ttySL0

I am able to receive fax manually.
When i issue: 
faxanswer -h fax  ttySL0

faxstat changes
----------connection established--------- after------ faxanswer -h fax  ttySL0 -----
HylaFAX scheduler on fc-7.lanfax.net: Running
Modem ttySL0 (27855419): Answering Phone

------------after 3 seconds --------
HylaFAX scheduler on fc-7.lanfax.net: Running
Modem ttySL0 (27855419): Receiving facsimile

---var/log/messages----only till the line is receiving fax-------
 5 00:22:22 fc-7 FaxGetty[2625]: ANSWER fax
Feb  5 00:22:27 fc-7 FaxGetty[2625]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttySL0'
Feb  5 00:23:27 fc-7 FaxGetty[2625]: MODEM /DEV/SLAMR0 MODEMAP DRIVER SmartLink Soft Modem/   

--- this text is repeating  afterward -------
Feb  5 00:23:40 fc-7 FaxGetty[2625]: ANSWER: Can not lock modem device
Feb  5 00:23:41 fc-7 FaxGetty[2691]: MODEM /DEV/SLAMR0 MODEMAP DRIVER SmartLink Soft Modem/
Feb  5 00:24:18 fc-7 FaxGetty[2625]: MODEM /DEV/SLAMR0 MODEMAP DRIVER SmartLink Soft Modem/
Feb  5 00:24:49 fc-7 FaxGetty[2625]: ANSWER: Can not lock modem device
Feb  5 00:25:27 fc-7 FaxGetty[2691]: ANSWER: Can not lock modem device




 
Is there any way to explicitly define in hylafax , to receive fax Automatically.... Yes, there is ....
However, i am lacking in that point....

Thanks

rgds
sumit

On Thu, Feb 5, 2009 at 12:11 AM, Siri Vias Khalsa <sirivias.khalsa@xxxxxxxxxx> wrote:
Sumit -

The modem is normally located at /dev/ttySx (at least real hardware modems with serial drivers are)
Is there a reason that yours is different and not in /dev? that coulsd certainly explain why you are getting that message.


 


On Wed, 2009-02-04 at 08:09 -0600, Sumit Shah wrote:


Hi all!
I was having trouble receiving faxes.


When i "watch" the "faxstat" , it keeps on cycling it's status between these two blocks.

Faxstat keeps changing it's status between these two block , at an interval of 30 seconds...

[root@fc-7 ~]#  faxstat
HylaFAX scheduler on fc-7.lanfax.net: Running
Modem ttySL0 (XXXX5419): Running and idle

[root@fc-7 ~]#  faxstat
HylaFAX scheduler on fc-7.lanfax.net: Running
Modem ttySL0 (XXXX5419): Waiting for modem to come free



While it was changing it's status "/var/log/messages" also generate "Can not lock modem device" error messages every 25 to 30 seconds

Feb  4 17:05:21 fc-7 FaxGetty[2593]: ANSWER: Can not lock modem device
Feb  4 17:05:22 fc-7 FaxGetty[2629]: MODEM /DEV/SLAMR0 MODEMAP DRIVER SmartLink Soft Modem/



Any Ideas ??? May be the fax modem is not generating the fax tone ... What

Observations recorded so far....
1. faxgetty is running with it's Parent PID  1.
2. inittab entry has this entry
     t2:2345:respawn:/usr/sbin/faxgetty  ttySL0  (not using /dev/ttySL0)
3. able to dial (Voice) in and out ...
4. Class 1 Modem


Thanks in advance.
Sumit


-- 


-Siri Vias

Siri Vias Khalsa
Verifi, Inc.
Senior Systems Administrator
sirivias.khalsa@xxxxxxxxxx
323-655-5789 x125 office
310-498-3975 cell




Project hosted by iFAX Solutions