HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Upgrade of Debian hylafax breaks server.



Please help!  

I have not had a working installation of hylafax since late June.  
Today, I forcefully and recursively removed the /etc/hylafax and
/var/spool/hylafax directories.  And used apt-get remove to uninstall
hylafax, both -client and -server.  

Then I reinstalled hylafax, again using apt-get.  

Now when I try to run faxsetup, I get this error:  
FATAL ERROR: /etc/hylafax/pagesizes does not exist!  

So I commented out the line which kills that bash script so I could get
past that error and install it anyway (restoring the line when I was
through).  

I ran faxaddmodem for ttyS0 and ttyS1 

I ran faxadduser -p <password> hesco 

Then:  

biko:~# ps aux | grep fax

uucp     10891  0.0  0.6  3632 1640 ?        Ss   17:45   0:00
/usr/sbin/faxq 

uucp     10897  0.0  0.5  3624 1352 ?        Ss   17:45  
0:00 /usr/sbin/hfaxd -i 4559 -s 444 

root       397  0.0  0.1  1536  456 ttyp1    S+   19:06   0:00 grep fax

biko:~# /etc/init.d/hylafax stop Stopping HylaFAX daemons: faxqNo
/usr/sbin/faxq found running; none killed. hfaxdNo /usr/sbin/hfaxd found
running; none killed. faxgetty.

biko:~# ps aux | grep fax

uucp     10891  0.0  0.6  3632 1640 ?        Ss   17:45   0:00
/usr/sbin/faxq 

uucp     10897  0.0  0.5  3624 1352 ?        Ss   17:45  
0:00 /usr/sbin/hfaxd -i 4559 -s 444 

root      1422  0.0  0.1  1536  456 ttyp1    S+   19:07   0:00 grep fax

biko:~# kill 10891 10897 

biko:~# ps aux | grep fax
root      1424  0.0  0.1  1536  456 ttyp1    S+   19:07   0:00 grep fax

biko:~# /etc/init.d/hylafax start
+ /bin/cp -a "/etc/hylafax/bin/*" "/var/spool/hylafax/etc/bin/*"
/bin/cp: cannot stat `/etc/hylafax/bin/*': No such file or directory
Starting HylaFAX daemons: faxq hfaxd faxgetty.

biko:~# ps aux | grep fax

uucp      1463  0.0  0.6  3632 1620 ?        Ss   19:07   0:00
/usr/sbin/faxq 

uucp      1465  0.2  0.5  3624 1340 ?        Ss   19:07  
0:00 /usr/sbin/hfaxd -i 4559 

root      1467  1.7  0.6  3776 1688 ttyp1  S    19:07   0:00
/usr/sbin/faxgetty ttyS0 

root      1468  0.7  0.6  3776 1696 ttyp1  S   19:07   0:00
/usr/sbin/faxgetty ttyS1 

root     1476  0.0  0.1  1536  456 ttyp1    S+  19:08   0:00 grep fax 

biko:~#

in another shell, as the hesco user, I get this:  

hesco@biko:~$ faxstat
Password:
Login failed: 530 Login incorrect.
hesco@biko:~$  

I'm at a loss as to how to proceed and the frustration levels are
getting pretty high here.  Any clues would be appreciated.  Thanks.  

-- Hugh Esco 

Back in late June I wrote to this list:  
> Yesterday I performed an apt-get upgrade on this Debian (testing)
> server, which brought in a new version of hylafax-server, -common and
> -client. Now I am getting the below errors when attempting to submit a
> job. Below the error messages are the server's response to faxstat and
> to the init restart I did immediately before running this failed job. 
> I would appreciate any clues anyone can offer as to why this is
> bombing out and what I can do about it short of removing and
> re-installing from scratch.

and Giuseppe responded:  
Hi,
from your report it seems that the server doesn't start, while faxgetty
is correctly workimg.

This is most probably due to some fundamental changes in the package
structure I did in order to completely put hylafax in a chroot
environment.

I would like to have a look at the /var/log/syslog lines added by
hylafax when you run '/etc/init.d/hylafax restart' and I would like
to have the output of 'ls -la /var/spool/hylafax'.

Could you please provide this information?

Thanks,
Giuseppe  


-- 
+---------------------------------------------  
|  Hugh Esco, <hesco@xxxxxxxxxx> 404-806-0480
|  Political Coordinator, Georgia Green Party 
|  Post Office Box 5332; Atlanta GA 31107 
|  http://www.greens.org/georgia/ 
+---------------------------------------------  

____________________ 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