![]() |
Hello all, I'm experiencing some problems while trying to install hylafax, version 4.0pl2, from a Debian package, downloaded via apt. The server is running Potato Linux 2.2 kernel and a lot of other services including a Roxen webserver, Samba, Postfix. I'd like to refer to a FAQ question, no. 301 (www.hylafax.org/FAQ/Q301.php), that explains the very same problem I'm experiencing, namely after install, trying to run faxstat returns an error, stating: |linux-server:~# faxstat |Service not available, remote server closed connection In the meanwhile, syslog also has an entry: |Aug 8 17:43:55 linux-server Assertion failed "Invalid Str [] index", file |"../util/Str.h" line 116. Looking into strace faxstat, the following lines seem to be relevant: |fstat(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 |old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) |= |_llseek(4, 0, 0xbffff514, SEEK_CUR) = -1 ESPIPE (Illegal seek) |rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 |read(3, "", 1024) = 0 |write(2, "Service not available, remote se"..., 54Service not available, |remote |write(2, "\n", 1 |) = 1 In a working hyla environment, querying strace faxstat is said to show a real message instead of read(3, "", 1024) ^^ I cannot copy that here, as I hasn't seen it myself. That means to me, that while faxstat can make contact with hfaxd or whatever, hfaxd fails to respond with a valid answer. The reply to that FAQ question was that most likely hfaxd was not running. Let me show what "ps uax | grep fax" returns: |linux-server:~# ps uax | grep fax |root 16655 0.0 1.7 2452 1120 ? S 19:01 0:00 |/usr/sbin/faxq |root 16657 0.0 1.6 2788 1056 ? S 19:01 0:00 |/usr/sbin/hfaxd -i 4559 -o 4557 -s 444 |root 17636 0.0 1.8 2576 1184 ? S 19:21 0:00 |/usr/sbin/faxgetty ttyS1 |root 17871 0.0 0.6 1108 408 tty2 S 19:33 0:00 grep fax All necessary processes running, I guess. I tried everything with the configure files created by the deb package, editing them manually or using faxsetup, faxaddmodem utilities. Neither solved this problem for me. Telneting localhost at port 4559 returns the same as described in the FAQ page. Let me apologize, just in case question Q301 was answered in more detail in the mailing list, but I myself had litte opportunity to read through the mailing list archives, and was unable to find anything. I'd be most greatful, if someone could answer the above question, sending an e-mail to szroland@freemail.hu and/or varadi@mithrandir.hu. Thank you very much Roland Szabó ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null