HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Debian upgrade broke Hylafax - followup withlog files



Read what you said again:

Jul  9 14:41:25 juicer HylaFAX[26669]: Unable to open the user access 
file /etc/hosts.hfaxd: Permission denied
the file /etc/hylafax/hosts.hfaxd (whole directory is softlinked to 
/var/spool/hylafax/etc/)

Its looking for /etc/hosts.hfaxd!

Try that out.  I hope it helps

-Anthony

Greg Webster wrote:
> Ok, I bet this is related, though I am not 100% sure what it is looking
> for.
> 
> From /var/log/hylafax/hylafax.log:
> Jul  9 14:41:25 juicer HylaFAX[26669]: Unable to open the user access
> file /etc/hosts.hfaxd: Permission denied
> Jul  9 14:41:25 juicer HylaFAX[26669]: HylaFAX LOGIN REFUSED (user
> denied) FROM juicer [127.0.0.1], root
> 
> The hfaxd daemon is running as the uucp user, and the file
> /etc/hylafax/hosts.hfaxd (whole directory is softlinked to
> /var/spool/hylafax/etc/) is chmod 600 and owned by uucp. Very confusing,
> that is.
> 
> Greg
> 
> On Wed, 9 Jul 2003 14:22:29 -0700: Greg Webster skribon:
> 
>>Ok, I've changed hosts and hosts.hfaxd to allow local LAN access with:
>>^.*@192\.168.*$:.*::
>>
>>No change. :(
>>
>>One more thing...I get the following after restarting the hylafax
>>service:
>>
>>Restarting HylaFAX daemons: faxqNo /usr/sbin/faxq found running; none
>>killed.
>> hfaxd faxmodemdev/FIFO: open: No such device or address
>> faxgetty.
>>
>>It's running as uucp:
>>uucp     26634  0.0  0.4  3564 1220 ?        S    14:20   0:00
>>/usr/sbin/hfaxd -i 4559 -o 4557 -s 444
>>
>>Not sure if this is a big deal or not.
>>
>>Thanks!
>>
>>Greg
>>
>>On Wed, 09 Jul 2003 17:02:17 -0400: Anthony Diak skribon:
>>
>>>well, that is telling hylafax that users on localhost should be
>>>allowed to send faxes, so if you go to the command line on the
>>>debian box and run sendfax it should work.  You should also try to
>>>add lines for users that you want to send faxes from.. I'd imagine
>>>that MacFlex has a configuration that asks for a username correct? 
>>>And since the mac is not the same ip as the debian server, localhost
>>>would not work.
>>> I think 
>>>you can specify ranges of IPs.
>>>
>>>check out man hosts.hfaxd
>>>
>>>-Anthony
>>>
>>>Greg Webster wrote:
>>>
>>>
>>>>Mine just (by default) contains:
>>>>localhost:21::
>>>>
>>>>This is not right? One thing to note is that this server is
>>>>supposed to be outgoing only (connected to by Mac's running
>>>>MacFlex).
>>>>
>>>>Thanks,
>>>>
>>>>Greg
>>>>
>>>>On Wed, 09 Jul 2003 16:51:06 -0400: Anthony Diak skribon:
>>>>
>>>>
>>>>>check the faxusers file.  Mine is in
>>>>>/var/spool/hylafax/etc/hosts.hfaxd make sure they are added in
>>>>
>>>>there>and if there is a password set, set it to what you need it to
>>>>be.>
>>>>
>>>>>-Anthony
>>>>>
>>>>>Greg Webster wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Things are never as simple as they seem. :(
>>>>>>
>>>>>>Could anyone help me here? I've upgraded a hylafax server from
>>>>>>Debian Potato to Woody and in the middle of this Hylafax broke.
>>>>>>
>>>>>>Even those who do not use Debian could help though because I
>>>>
>>>>think>>it's a solvable problem outside of that.
>>>>
>>>>>>Here's the problem:
>>>>>>
>>>>>>I tried to run...
>>>>>>cat /home/greg/2603 | faxmail -d -n -v greg@604608XXXX
>>>>>>...where the 2603 file is an email.
>>>>>>
>>>>>>I get a whole bunch of stuff as it processes the file, then:
>>>>>>Font com: /usr/local/lib/ghostscript/fonts/com: Can not open font
>>>>>>metrics file; using fixed widths.
>>>>>>Font Helvetica-Bold:
>>>>>>/usr/local/lib/ghostscript/fonts/Helvetica-Bold: Can not open
>>>>
>>>>font>>metrics file; using fixed widths. Font Helvetica-Oblique:
>>>>
>>>>>>/usr/local/lib/ghostscript/fonts/Helvetica-Oblique: Can not open
>>>>>>font metrics file; using fixed widths.
>>>>>>MIME part (line 31): text/plain charset=us-ascii encoding=7bit
>>>>>>Trying localhost (127.0.0.1) at port 4559...
>>>>>>Connected to juicer.
>>>>>>220 juicer server (HylaFAX (tm) Version 4.1.1) ready.
>>>>>>-> USER greg
>>>>>>530 User greg access denied.
>>>>>>faxmail: Login failed: 530 User greg access denied..
>>>>>>
>>>>>>I've also tried 'sendfax' and got the same 530 error, as root, as
>>>>>>faxmaster and as greg.
>>>>>>
>>>>>>I thought maybe it was a permissions problem, so I made sure the
>>>>>>'faxmaster' user had the name numerical ID as uucp (according to
>>>>>>some posts on this list), and chown'ed all the files in
>>>>>>/var/spool/hylafax/etc to match.
>>>>>>
>>>>>>Can anyone give me an idea of something next to check or try? I'm
>>>>>>tearing my hair out.
>>>>>>
>>>>>>Thanks!
>>>>>>
>>>>>>Greg
>>>>>>
>>>>
>>>>
>>>>
>>>
>>>____________________ 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@hylafax.org <
>>> /dev/null
>>>  *To learn about commercial HylaFAX(tm) support, mail
>>>  sales@hylafax.org.*
>>
>>
>>-- 
>>Greg Webster - greg@intouch.ca
>>In-Touch Software Corporation
>>Ph: (604)278-0515 - Fax: (604)608-3112
>>
>>____________________ 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@hylafax.org <
>> /dev/null
>>  *To learn about commercial HylaFAX(tm) support, mail
>>  sales@hylafax.org.*
> 
> 
> 


____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions