HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Hylafax server <--> client interactions with Windows clients



Hi All,

I'm having a wierd problem.  I'm trying a couple of different windows clients 
that use redmon to redirect through an Apple laserjet PS printer driver to 
the Hylafax server on port 4559.  I've tried the 4.3 rpm for SuSE 10 as well 
as building 4.2.5 from source and get the same results no matter what.

The windows clients I've tried are Winprint Hylafax and FrogMail Full.

The client connects to the server, the message "Jun 29 16:39:58 htplas55 
HylaFAX[6595]: Filesystem has SysV-style file creation semantics." appears in 
the log.  A file called doc1.ps or doc2.ps, etc... is created 
in /var/spool/hylafax/tmp and is zero bytes in length, and a FIFO is created 
under /var/spool/hylafax/client.  that's it.  Nothing else ever happens.  
after the timeout value (300 seconds?), the print job just goes away.  The 
doc file in tmp/ and the FIFO in client/ remain.  Nothing is put in log/.   A 
wierdism is that the doc1.ps has the correct uid but has a gid of 60002; 
which doesn't exist on this system.

All other aspects of this program appear to be ok.  it init's the modem just 
fine although I've not tested that portion yet.  I can telnet to 4559, enter 
a user and issue a stat and everything looks fine.

Any help would be greatly appreciated

Here are my configs/notes/logs/etc.. on it: Hylafax v2.4.5 built from source 
on Suse 10.

messages from a startup:
=========================================================
Jun 29 15:09:54 htplas55 FaxGetty[10432]: QUIT
Jun 29 15:09:54 htplas55 FaxGetty[10432]: CLOSE /dev/ttyS0
Jun 29 15:09:54 htplas55 FaxQueuer[10426]: FIFO RECV "+ttyS0:RPcaf9c77f:ff"
Jun 29 15:09:54 htplas55 FaxQueuer[10426]: MODEM ttyS0: READY, capabilities 
Pcaf
9c77f:ff
Jun 29 15:09:54 htplas55 FaxQueuer[10426]: FIFO RECV "+ttyS0:D"
Jun 29 15:09:54 htplas55 FaxQueuer[10426]: MODEM ttyS0: DOWN
Jun 29 15:09:54 htplas55 FaxQueuer[10426]: FIFO RECV "+ttyS0:N+1.713.403.8452"
Jun 29 15:09:54 htplas55 FaxQueuer[10426]: MODEM ttyS0: NUMBER +1.713.403.8452
Jun 29 15:09:54 htplas55 FaxGetty[10445]: OPEN /dev/ttyS0  HylaFAX (tm) 
Version
4.3.0
Jun 29 15:10:07 htplas55 FaxGetty[10445]: MODEM USR U.S. Robotics 56K FAX EXT 
V5
.2.9/Configuration Profile... Product type           US/Canada External 
Product
ID:            00568604 Options                V32bis,V.80,V.34+,x2,V.90,V.92 
Fa
x Options            Class 1/Class 2.0 Line Options           Caller ID, 
Distinc
tive Ring Clock Freq             92.0Mhz EPROM                  256k RAM
            32k FLASH date             2/16/2001 FLASH rev              5.2.9 
DS
P date               2/16/2001 DSP rev                5.2.9
Jun 29 15:10:07 htplas55 FaxQueuer[10426]: FIFO RECV "+ttyS0:RPcaf9c77f:ff"
Jun 29 15:10:07 htplas55 FaxQueuer[10426]: MODEM ttyS0: READY, capabilities 
Pcaf
9c77f:ff
=========================================================



ls -l of tmp/ showing the wierd group ownership of the files that come through 
the server port:
=========================================================
htplas55:/var/spool/hylafax/etc # ls -l ../tmp
total 1
drwx------   2 hylafax hylafax  72 Jun 29 16:39 .
drwxr-xr-x  22 hylafax hylafax 984 Jun 29 16:32 ..
-rw-r-----   1 hylafax   60002   0 Jun 29 16:39 doc1.ps
htplas55:/var/spool/hylafax/etc #
=========================================================



output of config:
=========================================================
htplas55:/var/spool/hylafax/etc # cat config
LogFacility:            daemon
CountryCode:            1
AreaCode:               713
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          1
=========================================================



output of setup.cache:
=========================================================
htplas55:/var/spool/hylafax/etc # cat setup.cache
# Warning, this file was automatically generated by faxsetup
# on Thu Jun 29 16:29:19 MDT 2006 for root
AWK='/usr/bin/gawk'
BIN='/usr/bin'
CAT='/bin/cat'
CHGRP='/bin/chgrp'
CHMOD='/bin/chmod'
CHOWN='/bin/chown'
CP='/bin/cp'
DPSRIP='/usr/sbin/ps2fax.exe'
ECHO='/bin/echo'
ENCODING='base64'
FAXQ_SERVER='yes'
FONTPATH='/usr/share/ghostscript/Resource:/usr/share/ghostscript/8.15/lib:/usr/share/ghostscript/8.15/Resource:/usr/share/ghostscript/fonts'
FUSER='/bin/fuser'
GREP='/usr/bin/grep'
GSRIP='/usr/bin/gs'
HFAXD_OLD_PROTOCOL='no'
HFAXD_SERVER='yes'
HFAXD_SNPP_SERVER='no'
IMPRIP='/usr/lib/print/psrip'
LIBDATA='/usr/lib/fax'
LIBEXEC='/usr/sbin'
LN='/bin/ln'
MANDIR='/usr/local/man'
MIMENCODE='base64-encode'
MKFIFO='/usr/bin/mkfifo'
MV='/bin/mv'
PATH='/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin'
PATHEGETTY='/bin/egetty'
PATHGETTY='/sbin/agetty'
PATHVGETTY='/usr/sbin/vgetty'
PSPACKAGE='gs'
RM='/bin/rm'
SBIN='/usr/sbin'
SCRIPT_SH='/bin/bash'
SED='/usr/bin/sed'
SENDMAIL='/usr/sbin/sendmail'
SPOOL='/var/spool/hylafax'
SYSVINIT=''
TARGET='i686-pc-linux-gnu'
TIFF2PDF='/usr/bin/tiff2pdf'
TIFFBIN='/usr/bin'
TTYCMD='/usr/bin/tty'
UUCP_LOCKDIR='/var/lock'
UUCP_LOCKTYPE='ascii'
UUENCODE='/usr/bin/uuencode'
=========================================================



output of ps showing running processes and their arguments:
=========================================================
htplas55:/var/spool/hylafax/etc # ps -ef | grep fax
hylafax   6584     1  0 Jun29 ?        00:00:00 /usr/sbin/faxq
hylafax   6586     1  0 Jun29 ?        00:00:00 /usr/sbin/hfaxd -i hylafax
hylafax   6595  6586  0 Jun29 ?        00:00:00 /usr/sbin/hfaxd -i hylafax
root      7934  7876  0 08:17 pts/1    00:00:00 grep fax
=========================================================



output of telnet to 4559 with USER and STAT command:
=========================================================
htplas55:/var/spool/hylafax/etc # telnet localhost 4559
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 htplas55.petris.com server (HylaFAX (tm) Version 4.2.5) ready.
USER root
230 User root logged in.
STAT
211-htplas55.petris.com HylaFAX server status:
    HylaFAX (tm) Version 4.2.5
    Connected to localhost (127.0.0.1)
    Logged in as user root (uid 60002)
    "/" is the current directory
    Current job: (default)
    Time values are handled in GMT
    Idle timeout set to 900 seconds
    Using long replies
    No server down time currently scheduled
    HylaFAX scheduler reached at /FIFO (not connected)
    Server FIFO is /client/7936 (open)
    File cache: 15 lookups, 0 hits (0.0%), 1.1 avg probes
        15 entries (1.6 KB), 0 entries displaced, 0 entries flushed
    TYPE: ASCII; STRU: File; MODE: Stream; FORM: PS
    No client data connection
211 End of status
QUIT
221 Goodbye.
Connection closed by foreign host.
=========================================================



-- 
Thanks,

Mark Ash
Unix Administrator
Petris Technology, Inc.
1900 St James Place, Suite 700
Houston TX 77056
Direct - 713-403-8439
ash@xxxxxxxxxx

Support Line - 713-403-8599
support@xxxxxxxxxx

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions