Re: Waiting for modem to come free

Tom Le <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
in my case, I have to turn the modem off / on again.


On 12/08/2015 08:58 AM, Christo Labuschagne wrote:
> Good day Lee
>
> Thank you for the feedback, but unfortunately there was no lock file when I struck the issue.  Any other idea's I can look for?
>
> Kind regards
> Christo
>
> -----Original Message-----
> From: Lee Howard [mailto:[email protected]]
> Sent: 08 December 2015 12:18 AM
> To: Christo Labuschagne
> Cc: [email protected]
> Subject: Re: [hylafax-users] Waiting for modem to come free
>
> On 12/06/2015 09:11 PM, Christo Labuschagne wrote:
>> Good day
>>
>> I?ve tried to find something on the internet about this, but there was
>> not much about it. What causes Hylafax+ 5.5.6 to go into the state
>> ?Waiting for modem to come free?? I have implemented code that hard
>> reboots the device and restarts the faxgetty service when I detect it,
>> but it does not always come up again. This feels like a band aid
>> though. How do I go about finding the cause of the problem? I did read
>> that I should use the wedging application/script, but again, a band aid.
>>
>> I?m using a Davicom modem on an embedded linux os.
>>
> "Waiting for modem to come free" means that a process (usually faxgetty but also possibly faxsend) is wanting to access the modem, but that it sees a lock-file (from some other process) and is waiting for the lock-file to disappear.
>
> HylaFAX does check the lock-file to see if the process is still running.
> It should clear the lock-file if the process is not alive.
>
> So, to troubleshoot it when this happens you need to see what processes are using the modem device, what process is listed in the lock-file, and see which HylaFAX processes are running.
>
> So, these commands may help:
>
> lsof | grep /dev/ttyS3 (where /dev/ttyS3 is your modem device) cat /var/lock/lck..ttyS3 ps aux | grep fax
>
> Thanks,
>
> Lee.
>
>
>
> Important Notice:
>
> This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail legal notice available at:
> http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx
>
>
>
>
>
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>    To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
>   On UNIX: mail -s unsubscribe [email protected] < /dev/null
>    *To learn about commercial HylaFAX(tm) support, mail [email protected].*
>


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.