Re: 550 Cannot set privileges

Max Mothwurf <[email protected]> Mon, 14 May 2018 13:46:58 +0200
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <5436394.KhCRr5yzLT@southpole>
Am Freitag, 11. Mai 2018, 13:00:35 CEST schrieb Max Mothwurf:
> Am Mittwoch, 9. Mai 2018, 13:21:12 CEST schrieben Sie:
> > I'm currently testing the Leap 15 packages, and suddenly (did not app=
ear
> > on
> > the Leap 42.3 installation!) ran into the above error message:
> >=20
> > After increasing the server trace the log shows the following:
> >=20
> > Mai 09 11:20:54 southpole HylaFAX[4217]: servertracing =3D 0xFFF (lin=
e 14)
> > Mai 09 11:20:54 southpole HylaFAX[4217]: <--- 220 southpole.fritz.box
> > server (HylaFAX (tm) Version 5.5.9) ready.
> > Mai 09 11:20:54 southpole HylaFAX[4217]: HylaFAX INET connection from
> > localhost [127.0.0.1]
> > Mai 09 11:20:54 southpole HylaFAX[4217]: command: user max
> > Mai 09 11:20:54 southpole HylaFAX[4217]: USER max
> > Mai 09 11:20:54 southpole HylaFAX[4217]: <--- 550 Cannot set privileg=
es.
> > Mai 09 11:20:59 southpole HylaFAX[4217]: command: quit
> > Mai 09 11:20:59 southpole HylaFAX[4217]: QUIT
> >=20
> > Firewall is disabled, so this is not the issue. /var/spool/hylafax/et=
c/
> > hosts.hfaxd allows connections from localhost (and local network).
>=20
> Following up: After adding the local network
> 192.168.1.[0-9]+
> to /var/spool/hylafax/etc/hosts.hfaxd the error message has changed:
>=20
> uucp@southpole:/var/spool/hylafax/etc> faxstat -vs
> Trying localhost [10] (::1) at port 4559...
> Trying localhost [2] (127.0.0.1) at port 4559...
> Connected to (null).
> 420 southpole.fritz.box server cannot initialize: Could not create clie=
nt/
> 6287: No such file or directory
>=20
> I searched google and found a couple of entries, which mostly ended up =
with
> 'uninstall and reinstall' - can't be the solution IMHO.
>=20
> So where is the client directory expected? Under /var/spool/hylafax?
>=20
> Status of services reflects this issue:
>=20
> southpole:/home/max # systemctl status hylafax-hfaxd
> =E2=97=8F hylafax-hfaxd.service - HylaFAX hfaxd (client service)
>    Loaded: loaded (/usr/lib/systemd/system/hylafax-hfaxd.service; enabl=
ed;
> vendor preset: disabled)
>   Drop-In: /etc/systemd/system/hylafax-hfaxd.service.d
>            =E2=94=94=E2=94=80sendonly.conf
>    Active: active (running) since Fri 2018-05-11 12:22:21 CEST; 35min a=
go
>  Main PID: 1187 (hfaxd)
>     Tasks: 1 (limit: 4915)
>    CGroup: /system.slice/hylafax-hfaxd.service
>            =E2=94=94=E2=94=801187 /usr/sbin/hfaxd -d -i hylafax
>=20
> Mai 11 12:22:22 southpole HylaFAX[1187]: Listening to 0.0.0.0:4559
> Mai 11 12:22:22 southpole HylaFAX[1187]: HylaFAX INET Protocol Server:
> restarted.
> Mai 11 12:23:35 southpole HylaFAX[2765]: connection refused (Could not
> create client/2765: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:25:07 southpole HylaFAX[3040]: connection refused (Could not
> create client/3040: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:25:37 southpole HylaFAX[3140]: connection refused (Could not
> create client/3140: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:25:39 southpole HylaFAX[3141]: connection refused (Could not
> create client/3141: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:49:13 southpole HylaFAX[6055]: connection refused (Could not
> create client/6055: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:49:33 southpole HylaFAX[6082]: connection refused (Could not
> create client/6082: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:49:43 southpole HylaFAX[6100]: connection refused (Could not
> create client/6100: No such file or directory) from localhost [127.0.0.=
1]
> Mai 11 12:56:16 southpole HylaFAX[6287]: connection refused (Could not
> create client/6287: No such file or directory) from localhost [127.0.0.=
1]
>=20
>=20
> southpole:/home/max # systemctl status hylafax-faxq
> =E2=97=8F hylafax-faxq.service - HylaFAX faxq (job scheduler service)
>    Loaded: loaded (/usr/lib/systemd/system/hylafax-faxq.service; enable=
d;
> vendor preset: disabled)
>    Active: active (running) since Fri 2018-05-11 12:22:21 CEST; 36min a=
go
>  Main PID: 1131 (faxq)
>     Tasks: 1 (limit: 4915)
>    CGroup: /system.slice/hylafax-faxq.service
>            =E2=94=94=E2=94=801131 /usr/sbin/faxq -D
>=20
> Mai 11 12:22:21 southpole systemd[1]: Started HylaFAX faxq (job schedul=
er
> service).
> Mai 11 12:22:21 southpole FaxQueuer[1131]: HylaFAX (tm) Version 5.5.9
> Mai 11 12:22:21 southpole FaxQueuer[1131]: Copyright (c) 1990-1996 Sam
> Leffler Mai 11 12:22:21 southpole FaxQueuer[1131]: Copyright (c) 1991-1=
996
> Silicon Graphics, Inc.
> Mai 11 12:22:21 southpole FaxQueuer[1131]: Could not scan client direct=
ory
> for clients

...after manually adding the client directory to /var/spool/hylafax the e=
rror=20
message is back to 550 Cannot set privileges

As the only workable solution that google offers was reinstallation I fol=
lowed=20
this path, and manually copied over the needed config files etc.

Now everything is back to normal.=20
Not a solution, but a workaround
Mx



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