Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Pierre Boucher on March 12, 2003, 05:56:50 PM
-
Hi!
I got Hylafax running perfectly for reception and transmission... good.
My only problem now, i keep receiving email from " The HylaFAX Receive Agent modem on /dev/ttyS0 appears wedged", my configuration is working fine on /dev/modem how can i get rid of these email i receive every minutes or so
Thanks again for your help
Pierre Boucher
-
delete /var/spool/hylafax/etc/config.ttyS0
then :
service hylafax stop
service hylafax start
or simply reboot.
That should be enough...
(You may have to redo a faxsetup -server if not)
--
Phil.
-
I don't have /var/spool/hylafax/etc/config.ttyS0
i only find config.modem
And this is the message i'm receiving every minutes or so :)
Subject: modem on /dev/ttyS0 appears wedged
Date: Wed, 12 Mar 2003 02:58:06 -0800
The HylaFAX software thinks that there is a problem with the modem
on device /dev/ttyS0 that needs attention; repeated attempts to
initialize the modem have failed.
Consult the server trace logs for more information on what is happening.
Any ideas?
Pierre
-
Then try to look at the rights of /dev/ttyS0 and compare with /dev/modem, if your modem is on COM1 (ttyS0), the two are linked and must have the same rights.
If not, run a chmod to correct it.
Hope this helps.
--
Phil.
p.s: if not, make a
tail /var/log/messages
as soon as the message appear and post it here..
-
/dev/modem is linked to /dev/ttyS1
There is nothing on ttyS0 but hylafax is trying to open it because it's in the configuration.
Pierre
-
I forgot the log
ar 11 11:11:07 AVOCAT FaxGetty[7398]: OPEN /dev/ttyS0 HylaFAX (tm) Version 4.1.5
Mar 11 11:11:16 AVOCAT FaxGetty[7398]: /dev/ttyS0: Can not initialize modem.
Mar 11 11:12:27 AVOCAT FaxGetty[7398]: Unable to setup modem on /dev/ttyS0; giving up after 2 attempts
Mar 11 11:12:27 AVOCAT FaxGetty[7398]: CLOSE /dev/ttyS0
mar 11 11:12:27 AVOCAT FaxQueuer[2080]: MODEM /dev/ttyS0 appears to be wedged
mar 11 11:12:27 AVOCAT FaxQueuer[2080]: MODEM WEDGED: bin/wedged "ttyS0" "/dev/ttyS0"
-
Well. Could you tell us on which physical port is actually your modem ?
if it is on ttyS1 for instance, then drop the link (rm -rf /dev/modem) ans run a faxaddmodem on ttyS1 for instance, it will recreate the link with the correct tty..
You should visit the hylafax (www.hylafax.org) and look at the archived mailing list, there may be an another solution.
--
Phil.
Pierre Boucher wrote:
>
> I forgot the log
>
> ar 11 11:11:07 AVOCAT FaxGetty[7398]: OPEN /dev/ttyS0
> HylaFAX (tm) Version 4.1.5
> Mar 11 11:11:16 AVOCAT FaxGetty[7398]: /dev/ttyS0: Can not
> initialize modem.
> Mar 11 11:12:27 AVOCAT FaxGetty[7398]: Unable to setup modem
> on /dev/ttyS0; giving up after 2 attempts
> Mar 11 11:12:27 AVOCAT FaxGetty[7398]: CLOSE /dev/ttyS0
> mar 11 11:12:27 AVOCAT FaxQueuer[2080]: MODEM /dev/ttyS0
> appears to be wedged
> mar 11 11:12:27 AVOCAT FaxQueuer[2080]: MODEM WEDGED:
> bin/wedged "ttyS0" "/dev/ttyS0"
-
I tried but it look like that every config done with faxaddmodem are staying in the configuration. After i did that i started receiving message about /modem and /ttyS0
every minutes or so.
I put back the link modem to ttyS1, there is probably a place where i can remove older modem configuration from hylafax. Now i'm still receiving 1 msg/minute :(
Thanks
Pierre
-
There is a line in /etc/inittab:
fax:23457:respawn:/usr/sbin/faxgetty ttyS0
Delete or out comment, that should help as far as i remember.
Don't forget to change the template.
Per