HylaFAX The world's most advanced open source fax server

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

Re: modem off: faxgetty sends thousands of warnings



On Sun, 23 Jan 2000, Ekkard Gerlach wrote:

> Hello, 
> 
> how can I stop about 1 kilobyte warnings and 
> other messages per minute sent from faxgetty while 
> trying to access the modem (that is off 
> electric current) ?????
> 
> Iīm running Hylafax with faxetty. I use my modem 
> only for one time a day and so I turn off the 
> electric current. Itīs because of security aspects, 
> too.
> 
> Syslog-daemon canīt distinguish warning and normal 
> messages from faxgetty between those of other processes. 
> 
> I start faxgetty with init-process. Can I stop and 
> restart a process started with init ?

that depends
if the process isnt tagged with respawn in /etc/inittab then it is
possible to kill it afaik

what you might do is write a simple init script to start/stop faxgetty
and adding that to cron/execute it manually whenever you need it 
 
> 
> 
> In /var/log/messages appears every half minute: 
> 
> Jan 23 16:55:54 rex FaxGetty[5357]: MODEM flush i/o
> Jan 23 16:55:54 rex FaxGetty[5357]: <-- [15:ATE0V1Q0S0=0H0\r]
> Jan 23 16:55:59 rex FaxGetty[5357]: MODEM TIMEOUT: reading line from
> modem
> Jan 23 16:55:59 rex FaxGetty[5357]: MODEM <Timeout>
> Jan 23 16:55:59 rex FaxGetty[5357]: MODEM set DTR OFF
> Jan 23 16:55:59 rex FaxGetty[5357]: /dev/ttyS1: Can not initialize
> modem.
> Jan 23 16:56:29 rex FaxGetty[5357]: MODEM set DTR OFF
> Jan 23 16:56:29 rex FaxGetty[5357]: DELAY 2600 ms
> Jan 23 16:56:31 rex FaxGetty[5357]: MODEM set DTR ON
> Jan 23 16:56:31 rex FaxGetty[5357]: MODEM set baud rate: 19200 baud,
> input flow XON/XOFF, output
>  flow XON/XOFF
> 
> Jan 23 16:53:57 rex FaxGetty[5354]: MODEM /dev/ttyS1 appears to be
> wedged
> Jan 23 16:53:57 rex FaxGetty[5354]: CLOSE /dev/ttyS1
> Jan 23 16:53:57 rex FaxGetty[5355]: OPEN /dev/ttyS1
> 
> 
> have you got an idea ? 
> 
> tia
> Ekkard
> 
> 
> 

--
Arne Hueggenberg
Products & Development
 
* ID-PRO GmbH
* Tel: +49 (0)2932 - 916 - 0
* Fax: +49 (0)2932 - 916 - 230
* mailto:hueggenberg@ID-PRO.de
* http://open-for-the-better.com 




Project hosted by iFAX Solutions