Package: hylafax-server
Version: 2:4.4.4-3
Severity: normal

When starting hylafax, the script never completes:

# /etc/init.d/hylafax start
Starting HylaFAX: syncing directories... faxq hfaxd faxgetty
[never stops]

If I kill the start script in another terminal (or ^C in this), then
hylafax deamons are up and running and all seems to be working fine.

root      8849  8816  0 10:22 pts/1    00:00:00 /bin/sh
/etc/init.d/hylafax start
uucp     10169     1  0 10:22 ?        00:00:00 /usr/sbin/faxq
uucp     10171     1  0 10:22 ?        00:00:00 /usr/sbin/hfaxd -i 4559
uucp     10200  8849  0 10:22 pts/1    00:00:00 /usr/sbin/faxgetty ttyS1

# kill 8849
Starting HylaFAX: syncing directories... faxq hfaxd faxgettyTerminated

uucp     10169     1  0 10:22 ?        00:00:00 /usr/sbin/faxq
uucp     10171     1  0 10:22 ?        00:00:00 /usr/sbin/hfaxd -i 4559
uucp     10200     1  0 10:22 pts/1    00:00:00 /usr/sbin/faxgetty ttyS1


Running the start script with set -x, it hangs up at:

+ echo -n ' faxgetty'
faxgetty+ for device in '$devices' none
+ '[' ttyS1 = none ']'
++ echo ttyS1
++ cut -d . -f 2
+ /usr/sbin/faxgetty ttyS1

strace of faxgetty at this point shows:

Process 11665 attached - interrupt to quit
select(8, [4 7], [], [7], {12, 72000})  = 0 (Timeout)
gettimeofday({1202401678, 117400}, NULL) = 0
gettimeofday({1202401678, 117579}, NULL) = 0
open("/var/lock/LCK..ttyS1", O_RDONLY)  = -1 ENOENT (No such file or
directory)
gettimeofday({1202401678, 118424}, NULL) = 0
gettimeofday({1202401678, 118540}, NULL) = 0
select(8, [4 7], [], [7], {29, 999884}) = 0 (Timeout)
gettimeofday({1202401708, 116393}, NULL) = 0
gettimeofday({1202401708, 116505}, NULL) = 0
gettimeofday({1202401708, 116595}, NULL) = 0
select(8, [4 7], [], [7], {0, 1829})    = 0 (Timeout)
gettimeofday({1202401708, 120260}, NULL) = 0
gettimeofday({1202401708, 120368}, NULL) = 0
open("/var/lock/LCK..ttyS1", O_RDONLY)  = -1 ENOENT (No such file or
directory)
gettimeofday({1202401708, 121296}, NULL) = 0
gettimeofday({1202401708, 121338}, NULL) = 0
select(8, [4 7], [], [7], {29, 999958}


which, I *think* is fine.  It answers at least.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages hylafax-server depends on:
ii  adduser            3.105                 add and remove users and groups
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-2 A simple mail user agent
ii  debconf [debconf-2 1.5.19                Debian configuration management sy
ii  ghostscript [gs]   8.61.dfsg.1-1         The GPL Ghostscript PostScript/PDF
ii  gs                 8.61.dfsg.1-1         Transitional package
ii  hylafax-client     2:4.4.4-3             Flexible client/server fax softwar
ii  libc6              2.7-6                 GNU C Library: Shared libraries
ii  libgcc1            1:4.3-20080202-1      GCC support library
ii  libpam0g           0.99.7.1-5            Pluggable Authentication Modules l
ii  libstdc++6         4.3-20080202-1        The GNU Standard C++ Library v3
ii  libtiff-tools      3.8.2-7               TIFF manipulation and conversion t
ii  libtiff4           3.8.2-7               Tag Image File Format (TIFF) libra
ii  lsb-base           3.1-24                Linux Standard Base 3.1 init scrip
ii  mailx              1:20071201-2          Transitional package for mailx ren
ii  psmisc             22.6-1                Utilities that use the proc filesy
ii  sed                4.1.5-5               The GNU sed stream editor
ii  zlib1g             1:1.2.3.3.dfsg-11     compression library - runtime

hylafax-server recommends no packages.

-- debconf information:
* hylafax-server/configure_note:
* hylafax-server/attachment:
  hylafax-server/start_now: true
  hylafax-server/setup_failed:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to