LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-16-2009, 09:17 AM   #1
Carlo1973
LQ Newbie
 
Registered: Mar 2007
Posts: 14

Rep: Reputation: 1
Unhappy Need help with solving issues experienced in Hylafax 4.4.4 on Suse 10.1 (32 bit)


Hi there!

Just started doing my internship at a company where they requested that I fix an issue with the fax server. The issue was at first seemingly rather small and benign. Originally the only issue was that Avantfax 3.1.0 stopped displaying the inbox page - all others worked but not the inbox. Never having used Avantfax, I spent a few days researching on the net trying to get all the information I could before I jumped into messing around with it.

After weighing my options, I decided it was best to upgrade from 3.1.0 to 3.1.6. This did in fact fix the problem with the one webpage not displaying. Everything worked fine for about an hour and fourty-five minutes. After that Hylafax stoped working properly. Checking the logs it said that it couldn't write to the tmp folder. I checked it out it out, and the partition was basically full - all from these temp files in /var/spool/hylafax/tmp. So I did some research and found this page: http://edoceo.com/liber/network-hylafax, which said at the bottom that hylafax could be cleaned up by removing files from various directories.
Quote:
Cleaning Hylafax
After running tests and verifying the install is correct the Hylafax queue can be reset to a prestine state using these commands.

/etc/init.d/hylafax stop
cd /var/spool/hylafax/
rm archive/* docq/* log/* recvq/* sendq/* tmp/*
/etc/init.d/hylafax start
Well that cleared up the errors in the log for that issue. Now the errors are giving permision denied for writing to the recvq/seqf and something about sequence numbers.

I have checked the ownership of faxgetty, and it is set to uucp:uucp. So are all the folders in the /var/spool/hylafax tree. permisions on the folders within the hylafax tree I set to 777 in an offshoot attempt to fixing the permisions issue.

As this is a mission critical service, I needed to disconect the server from the phone line currently, and hook up a standard fax so that faxes can still be recieved and sent.

If anything in here that I've said jives with you and you can reconmend something that would be great! I believe it has to do with the information that I purged from the directories.

[edit]
Okay here is the log information from xferfaxlog. Unfortunatly most of the other logs got purged when I ran the above command and have not been recreated.
Quote:
04/15/09 14:13 CALL ttyS0 "" fax "xxxxxxx" "" 0 0 0:07 0:07 "Unable to create temp file for received data: Unable to open sequence number file recvq/seqf; Permission denied." "" "" "" "" ""
ls-l on hylafax directories
Quote:

prw-rwxrwx 1 uucp uucp 0 Apr 15 16:08 FIFO
prw-rwxrwx 1 uucp uucp 0 Apr 15 09:46 FIFO.ttyS0
drw-rwxrwx 2 uucp uucp 4096 Jan 27 2008 archive
drw-rwxrwx 2 uucp uucp 4096 Apr 15 08:38 bin
drw-rwxrwx 2 uucp uucp 4096 Apr 15 11:24 client
drw-rwxrwx 3 uucp uucp 4096 May 15 2008 config
drw-rwxrwx 2 uucp uucp 4096 May 1 2008 dev
drw-rwxrwx 2 uucp uucp 4096 Apr 15 08:16 docq
drw-rwxrwx 2 uucp uucp 4096 Oct 23 16:15 doneq
drw-rwxrwx 4 uucp uucp 4096 Apr 16 08:29 etc
drw-rwxrwx 2 uucp uucp 4096 Dec 17 12:15 info
drw-rwxrwx 2 uucp uucp 65536 Apr 15 08:16 log
drw-rwxrwx 2 uucp uucp 4096 Jan 27 2008 pollq
drw-rwxrwx 2 uucp uucp 69632 Apr 15 08:16 recvq
drw-rwxrwx 2 uucp uucp 4096 Apr 15 08:16 sendq
drw-rwxrwx 2 uucp uucp 4096 Apr 15 09:57 status
drw-rwxrwx 2 uucp uucp 4096 Jan 16 09:15 tmp
drw-rwxrwx 2 uucp uucp 4096 Apr 15 15:59 trace_logs
ls -ld /var/spool/hylafax/log
Quote:
drw-rwxrwx 2 uucp uucp 65536 Apr 15 08:16 /var/spool/hylafax/log
ls -ld /var/spool/hylafax/log/seqf
Quote:
/bin/ls: /var/spool/hylafax/log/seqf: No such file or directory
ps auxf | grep fax
Quote:
uucp 7675 0.0 0.2 5032 1332 ? Ss Apr15 0:00 /usr/sbin/faxq
uucp 7678 0.0 0.1 4716 1156 ? Ss Apr15 0:00 /usr/sbin/hfaxd -i hylafax
uucp 7683 0.0 0.2 5208 1916 ? Ss Apr15 0:00 /sbin/faxgetty ttyS0
root 14605 0.0 0.0 1864 644 pts/1 S+ 08:42 0:00 | \_ grep fax
When I run faxqclean:
Quote:
/var/spool/hylafax: Can not change directory: Permission denied.

Last edited by Carlo1973; 04-16-2009 at 10:35 AM. Reason: New information
 
Old 04-16-2009, 03:58 PM   #2
Carlo1973
LQ Newbie
 
Registered: Mar 2007
Posts: 14

Original Poster
Rep: Reputation: 1
Okay I fixed hylafax and avantfax. Took me all morning but I got it done with the reinstall of some packages.

However now thumbnail generation in Avantfax is broken. Thankfully - that is the ONLY thing that is broken now (knock on wood). I'm just glad that all the major issues - inbox display, hylafax receiving, and cups printing issues have been resolved.

However if someone can help me now to get the thumbnails to work in Avantfax that would be great hehe

Avantfax takes the tiff from hylafax, and places it within the appropriate directory tree. Once there it does create a pdf from it. It just does not generate the thumbnail. The funny thing is I can force it to generate thumbnails if I manually issue the ./create_thumbnails.php program. However this should be done automatically. Did I miss something when I was reconfiguring Avantfax 3.1.6?

Again any help on this is appreciated
 
  


Reply

Tags
hylafax, suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12 with Avantfax, issue with FileInfo module Cpoc Slackware 1 09-24-2007 10:21 PM
upgrading from 11.0.0 to current somae Slackware 14 06-22-2007 11:22 PM
Got puzzled when upgrading from 11.0 to current. cowyn Slackware 3 05-09-2007 10:35 AM
Any Problem After Upgrading to -current? willysr Slackware 9 04-20-2006 12:50 AM
Upgrading to current Big Al Slackware 4 01-01-2003 01:18 AM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration