Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-22-2014, 03:43 PM
|
#1
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700
Rep:
|
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?
|
|
|
01-22-2014, 04:51 PM
|
#2
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700
Original Poster
Rep:
|
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?
|
|
|
01-23-2014, 09:33 AM
|
#3
|
Member
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 97
Rep:
|
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.
|
01-23-2014, 09:41 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
|
|
|
01-24-2014, 09:31 AM
|
#5
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700
Original Poster
Rep:
|
Quote:
Originally Posted by tjallen
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?
|
|
|
01-24-2014, 09:40 AM
|
#6
|
Member
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 97
Rep:
|
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.
|
01-24-2014, 09:47 AM
|
#7
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700
Original Poster
Rep:
|
Quote:
Originally Posted by tjallen
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.
|
|
|
All times are GMT -5. The time now is 10:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|