Re: Problem with reading hosts.hfaxd

Andi Topp - Comfine GmbH <[email protected]> Fri, 17 Aug 2018 12:44:15 +0200
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------0B66FBD1F5D5D1A55B700E2B
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

The symlink and the file has 777, owner of the file is adm - hfaxd is=20
running as adm - look:

[root@freepbx etc]# ls -hal /var/spool/hylafax/etc/ | grep hosts.hfaxd
-rwxrwxrwx=C2=A0 1 adm=C2=A0 wheel=C2=A0=C2=A0 34 Jun 25 09:23 hosts.hfax=
d
-rw-r--r--=C2=A0 1 root root=C2=A0=C2=A0=C2=A0 34 Jun 25 09:21 hosts.hfax=
des
[root@freepbx etc]# ls -hal /etc/ | grep hosts.hfaxd
lrwxrwxrwx=C2=A0=C2=A0=C2=A0 1 root=C2=A0=C2=A0=C2=A0=C2=A0 root=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 34 Jun=C2=A0 4 15:27 hosts.hfaxd ->=20
/var/spool/hylafax/etc/hosts.hfaxd

[root@freepbx etc]# ps aux | grep fax
adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 948=C2=A0 0.0=C2=A0 0.0=C2=A0=
 33108=C2=A0=C2=A0 424 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=
=C2=A0 Aug09=C2=A0=C2=A0 0:00=20
/usr/sbin/hfaxd -i hylafax
adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 53956=C2=A0 0.0=C2=A0 0.1=C2=A0 33108=C2=
=A0 1204 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=C2=A0 12:32=
=C2=A0=C2=A0 0:00=20
/usr/sbin/hfaxd -i hylafax
adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 54066=C2=A0 0.0=C2=A0 0.1=C2=A0 33108=C2=
=A0 1204 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=C2=A0 12:32=
=C2=A0=C2=A0 0:00=20
/usr/sbin/hfaxd -i hylafax
adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 54205=C2=A0 0.0=C2=A0 0.2 132704=C2=A0 =
2004 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=C2=A0 12:33=C2=A0=
=C2=A0 0:00=20
/usr/sbin/faxgetty ttyIAX0
adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 55115=C2=A0 0.0=C2=A0 0.1=C2=A0 37336=C2=
=A0 1388 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 S=C2=A0=C2=A0=C2=A0 =
12:39=C2=A0=C2=A0 0:00=20
/usr/sbin/hfaxd -i hylafax
root=C2=A0=C2=A0=C2=A0=C2=A0 55657=C2=A0 0.0=C2=A0 0.0 112704=C2=A0=C2=A0=
 964 pts/0=C2=A0=C2=A0=C2=A0 R+=C2=A0=C2=A0 12:43=C2=A0=C2=A0 0:00 grep=20
--color=3Dauto fax

but i still get:

Aug 17 12:39:51 freepbx HylaFAX[55115]: Unable to open the user access=20
file /etc/hosts.hfaxd: Permission denied

any other idea?

digitale Gr=C3=BC=C3=9Fe / best regards

Andi Topp
Bachelor of Science in Computer Science

Comfine GmbH : fine Computers & More
Gesch=C3=A4ftsf=C3=BChrer: Andreas Telemachos Topp
Amtsgericht Darmstadt, HRB 91709
Rossd=C3=B6rfer Str. 71, 64287 Darmstadt

Tel.: =C2=A0=C2=A0=C2=A0=C2=A0+49 6151 3600 111
Mobil: +49 177 633 792 7
Mail: [email protected]
Web: www.comfine.de
Denken Sie an die Umwelt und pr=C3=BCfen Sie, ob Sie diese eMail wirklich=
=20
ausdrucken m=C3=BCssen!
Wir freuen uns sehr =C3=BCber eine ehrliche Bewertung bei Google!
<https://search.google.com/local/writereview?placeid=3DChIJp5EheRNwvUcRJF=
Wm-Cv5nnI>
<https://search.google.com/local/writereview?placeid=3DChIJp5EheRNwvUcRJF=
Wm-Cv5nnI>
Am 17.08.2018 um 12:24 schrieb Andras Kende:
> Try chmod the hosts.hfaxd file....
>
> Andras
>
>
> On Fri, Aug 17, 2018, 03:12 Andi Topp - Comfine GmbH=20
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Does anybody else has an idea what else i could try/check?
>
>     Thanks
>     Andi
>
>     Am 04.06.2018 um 16:46 schrieb Lee Howard:
>>     On 06/04/2018 07:18 AM, Andi Topp - Comfine GmbH wrote:
>>>     Hello,
>>>
>>>     i installed the newest hylafax-Version on an actual freepbx.
>>>     It's running fine, except, that i got a error in
>>>     /var/log/messages when a user tries to connect:
>>>
>>>         Jun=C2=A0 4 14:04:31 freepbx HylaFAX[2859]: Unable to open th=
e
>>>         user access file /etc/hosts.hfaxd: Permission denied
>>>
>>     ....
>>>     i have no idea what could be the cause or what else i could try.
>>>     any help would be nice!
>>
>>     Is SELinux running?
>
>     [root@freepbx ~]# sestatus
>     SELinux status:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 disabled
>     <https://plus.google.com/105702558006347416678/about?review=3D1>
>     <https://plus.google.com/105702558006347416678/about?review=3D1>
>>
>>     Thanks,
>>
>>     Lee.
>


--------------0B66FBD1F5D5D1A55B700E2B
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <p>The symlink and the file has 777, owner of the file is adm -
      hfaxd is running as adm - look:<br>
    </p>
    <p>[root@freepbx etc]# ls -hal /var/spool/hylafax/etc/ | grep
      hosts.hfaxd<br>
      -rwxrwxrwx=C2=A0 1 adm=C2=A0 wheel=C2=A0=C2=A0 34 Jun 25 09:23 host=
s.hfaxd<br>
      -rw-r--r--=C2=A0 1 root root=C2=A0=C2=A0=C2=A0 34 Jun 25 09:21 host=
s.hfaxdes<br>
      [root@freepbx etc]# ls -hal /etc/ | grep hosts.hfaxd<br>
      lrwxrwxrwx=C2=A0=C2=A0=C2=A0 1 root=C2=A0=C2=A0=C2=A0=C2=A0 root=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 34 Jun=C2=A0 4 15:27 hosts.hfaxd
      -&gt; /var/spool/hylafax/etc/hosts.hfaxd</p>
    <p>[root@freepbx etc]# ps aux | grep fax<br>
      adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 948=C2=A0 0.0=C2=A0 0=
.0=C2=A0 33108=C2=A0=C2=A0 424 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 Ss=C2=A0=C2=A0 Aug09=C2=A0=C2=A0 0:00
      /usr/sbin/hfaxd -i hylafax<br>
      adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 53956=C2=A0 0.0=C2=A0 0.1=C2=A0 3=
3108=C2=A0 1204 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=C2=A0=
 12:32=C2=A0=C2=A0 0:00
      /usr/sbin/hfaxd -i hylafax<br>
      adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 54066=C2=A0 0.0=C2=A0 0.1=C2=A0 3=
3108=C2=A0 1204 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=C2=A0=
 12:32=C2=A0=C2=A0 0:00
      /usr/sbin/hfaxd -i hylafax<br>
      adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 54205=C2=A0 0.0=C2=A0 0.2 132704=C2=
=A0 2004 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ss=C2=A0=C2=A0 12:33=
=C2=A0=C2=A0 0:00
      /usr/sbin/faxgetty ttyIAX0<br>
      adm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 55115=C2=A0 0.0=C2=A0 0.1=C2=A0 3=
7336=C2=A0 1388 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 S=C2=A0=C2=A0=
=C2=A0 12:39=C2=A0=C2=A0 0:00
      /usr/sbin/hfaxd -i hylafax<br>
      root=C2=A0=C2=A0=C2=A0=C2=A0 55657=C2=A0 0.0=C2=A0 0.0 112704=C2=A0=
=C2=A0 964 pts/0=C2=A0=C2=A0=C2=A0 R+=C2=A0=C2=A0 12:43=C2=A0=C2=A0 0:00
      grep --color=3Dauto fax<br>
      <br>
    </p>
    <p>but i still get: <br>
    </p>
    <p>Aug 17 12:39:51 freepbx HylaFAX[55115]: Unable to open the user
      access file /etc/hosts.hfaxd: Permission denied<br>
      <br>
    </p>
    <p>any other idea?<br>
    </p>
    <div class=3D"moz-signature">digitale Gr=C3=BC=C3=9Fe / best regards<=
br>
      <br>
      Andi Topp<br>
      Bachelor of Science in Computer Science<br>
      <br>
      <div style=3D"float:left;"> <img
          src=3D"http://www.comfine.de/comfine_logo.png"
          style=3D"margin-right:25px;" width=3D"80"> </div>
      <div style=3D"float:left; margin-right:45px; font-size:16px;">
        Comfine GmbH : fine Computers &amp; More<br>
        Gesch=C3=A4ftsf=C3=BChrer: Andreas Telemachos Topp<br>
        Amtsgericht Darmstadt, HRB 91709<br>
        Rossd=C3=B6rfer Str. 71, 64287 Darmstadt<br>
        <br>
      </div>
      <div style=3D"float:left; font-size:16px;"> Tel.: =C2=A0=C2=A0=C2=A0=
=C2=A0+49 6151 3600
        111<br>
        Mobil: +49 177 633 792 7<br>
        Mail: =C2=A0=C2=A0<a class=3D"moz-txt-link-abbreviated"
          href=3D"mailto:[email protected]">[email protected]</a><b=
r>
        Web:=C2=A0=C2=A0 <a class=3D"moz-txt-link-abbreviated"
          href=3D"http://www.comfine.de">www.comfine.de</a><br>
      </div>
      <div style=3D"clear:both;"> Denken Sie an die Umwelt und pr=C3=BCfe=
n Sie,
        ob Sie diese eMail wirklich ausdrucken m=C3=BCssen! </div>
      Wir freuen uns sehr =C3=BCber eine ehrliche <a
href=3D"https://search.google.com/local/writereview?placeid=3DChIJp5EheRN=
wvUcRJFWm-Cv5nnI">Bewertung
        bei Google!<br>
      </a><a
href=3D"https://search.google.com/local/writereview?placeid=3DChIJp5EheRN=
wvUcRJFWm-Cv5nnI"><br>
      </a></div>
    <div class=3D"moz-cite-prefix">Am 17.08.2018 um 12:24 schrieb Andras
      Kende:<br>
    </div>
    <blockquote type=3D"cite"
cite=3D"mid:CAHz84=3DUBUdt5ShLuwGCnD6vjWB-gDEJaPBuZvPiiMy=3DXT=3DpgOA@mai=
l.gmail.com">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Du=
tf-8">
      <div dir=3D"auto">
        <div>Try chmod the=C2=A0<span style=3D"font-family:sans-serif">ho=
sts.hfaxd
            file</span>....</div>
        <div dir=3D"auto">
          <div dir=3D"auto"><br>
          </div>
          <div dir=3D"auto">Andras</div>
          <br>
          <br>
          <div class=3D"gmail_quote" dir=3D"auto">
            <div dir=3D"ltr">On Fri, Aug 17, 2018, 03:12 Andi Topp -
              Comfine GmbH &lt;<a href=3D"mailto:[email protected]"
                moz-do-not-send=3D"true">[email protected]</a>&gt;
              wrote:<br>
            </div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text=3D"#000000" bgcolor=3D"#FFFFFF"> Does anybody els=
e
                has an idea what else i could try/check? <br>
                <br>
                Thanks<br>
                Andi<br>
                <br>
                Am 04.06.2018 um 16:46 schrieb Lee Howard:<br>
                <blockquote type=3D"cite">
                  <div class=3D"m_2297479731916998103moz-cite-prefix">On
                    06/04/2018 07:18 AM, Andi Topp - Comfine GmbH wrote:<=
br>
                  </div>
                  <blockquote type=3D"cite"> Hello,<br>
                    <br>
                    i installed the newest hylafax-Version on an actual
                    freepbx. <br>
                    It's running fine, except, that i got a error in
                    /var/log/messages when a user tries to connect:<br>
                    <br>
                    <blockquote>Jun=C2=A0 4 14:04:31 freepbx HylaFAX[2859=
]:
                      Unable to open the user access file
                      /etc/hosts.hfaxd: Permission denied<br>
                    </blockquote>
                  </blockquote>
                  ....<br>
                  <blockquote type=3D"cite">i have no idea what could be
                    the cause or what else i could try. any help would
                    be nice!</blockquote>
                  <br>
                  Is SELinux running?<br>
                </blockquote>
                <br>
                [root@freepbx ~]# sestatus<br>
                SELinux status:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 disabled
                <div class=3D"m_2297479731916998103moz-signature"><a
                    href=3D"https://plus.google.com/105702558006347416678=
/about?review=3D1"
                    target=3D"_blank" rel=3D"noreferrer"
                    moz-do-not-send=3D"true"> </a><a
                    href=3D"https://plus.google.com/105702558006347416678=
/about?review=3D1"
                    target=3D"_blank" rel=3D"noreferrer"
                    moz-do-not-send=3D"true"><br>
                  </a></div>
                <blockquote type=3D"cite"> <br>
                  Thanks,<br>
                  <br>
                  Lee.<br>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------0B66FBD1F5D5D1A55B700E2B--


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*