LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-22-2014, 03:43 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Rep: Reputation: 36
Hylafax help/recommendations


I have a clean install of Slackware 14.1 64 bit that we intend to use as a fax server. I did an install of the slackbuilds hylafax package, 6.0.6. Install goes fine. Configuration goes without issue. Modem is identified. Modem verified to be working by using minicom to connect to external bbs. Install and config is completed with no apparent problems.

Time to test:

sendfax -n -d 27176 /tmp/faxtest1.tif
request id is 1 (group id 1) for host localhost (1 file)

Check fax queue:

faxstat -s
JID Pri S Owner Number Pages Dials TTS Status
1 127 W root 27176 0:0 0:12

And it just sits there and does nothing. And sits...and sits...and sits....

Fast forward a couple of hours. Sent faxes just sit in queue. There are no errors or messages in any logs that I can find. For reasons unknown to me, it just won't take the faxes in the queue and send them, and I can't find any place where it is telling me why.

So - where do you go from here?

Would I be better off using hylafax plus? Or, is there a different/better fax server package that anyone can recommend?
 
Old 01-22-2014, 04:51 PM   #2
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Original Poster
Rep: Reputation: 36
Update: Some kind soul pointed out that I needed to run faxgetty.... I'm sure this obscure little tidbit was in some documentation somewhere.... <sigh> ...

And having done so, it works.

I switched to hylafax plus, and that fixed the font problem when sending a text file (which is another issue entirely).

NOW I have yet another issue. On reboot, hfaxd does not start. rc.hylafax is chmodded to 755, and I can run it manually and it starts up fine, but on reboot it is not running and faxing is dead until I manually start it. So I don't get it. I have /etc/rc.d/rc.hylafax, chmodded to 755, running it manually starts hfaxd, but rebooting does not. what am I missing?
 
Old 01-23-2014, 09:33 AM   #3
tjallen
LQ Newbie
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Did you add a line to /etc/rc.d/rc.local along the lines of
Code:
if [ -x /etc/rc.d/rc.hylafax ]; then
     /etc/rc.d/rc.hylafax start
fi
?
 
1 members found this post helpful.
Old 01-24-2014, 09:31 AM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by tjallen View Post
Did you add a line to /etc/rc.d/rc.local along the lines of
Code:
if [ -x /etc/rc.d/rc.hylafax ]; then
     /etc/rc.d/rc.hylafax start
fi
?
I did not. I understand what that does, BUT: I can auto start mysql by setting rc.mysqld to chmod 755, I can auto start apache by setting rc.httpd to chmod 755. Why, then, can't I start hfaxd by setting rc.hylafax to chmod 755?

There is something about auto starting programs that I am not understanding. What am I missing?
 
Old 01-24-2014, 09:40 AM   #6
tjallen
LQ Newbie
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
You can start mysqld and apache because in /etc/rc.d/rc.M, the lines
Code:
if [ -x /etc/rc.d/rc.mysqld ]; then
   . /etc/rc.d/rc.mysqld start
fi
and
Code:
if [ -x /etc/rc.d/rc.httpd ]; then
. /etc/rc.d/rc.httpd start
fi
occur. There is no general code that runs any of the rc.* scripts if they're executable, though that could be possible. The script rc.M is run at boot time by init.
 
1 members found this post helpful.
Old 01-24-2014, 09:47 AM   #7
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Original Poster
Rep: Reputation: 36
Smile

Quote:
Originally Posted by tjallen View Post
You can start mysqld and apache because in /etc/rc.d/rc.M, the lines
Code:
if [ -x /etc/rc.d/rc.mysqld ]; then
   . /etc/rc.d/rc.mysqld start
fi
and
Code:
if [ -x /etc/rc.d/rc.httpd ]; then
. /etc/rc.d/rc.httpd start
fi
occur. There is no general code that runs any of the rc.* scripts if they're executable, though that could be possible. The script rc.M is run at boot time by init.
THANK YOU!! That was the missing link in my understanding! Now it makes perfect (or at least better) sense.
 
  


Reply


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
Hylafax white8 Linux - Software 1 07-18-2009 09:44 AM
hylafax pawan_lal Linux - Software 1 01-18-2009 05:16 AM
HylaFax 4.3.0 trailer8713 Linux - Software 1 02-25-2008 11:46 AM
HylaFax help!!!!! sleepytom Linux - Software 4 05-09-2006 11:45 PM
Can anyone help with Hylafax rlkiddjr Linux - Software 0 05-01-2002 11:35 PM


All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
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