Re: systemctl status distccd

2020-06-17 Thread Michael J. Baars
On Tue, 2020-06-16 at 15:09 +0200, Tomasz Torcz wrote:
> On Tue, Jun 16, 2020 at 01:59:48PM +0200, Michael J. Baars wrote:
> > Hi,
> > 
> > Since it's awfully quiet on the initscripts-devel mailing list.
> 
>   But why this email?  The log you presented shows:
> 
> a) distccd not starting because of configuration error (configured to
> listen on non-existing 192.168.0.2 address)
> 
> b) distccd service running (listening on different address)
> 
>   Do you mean that you configured distccd to start after
> network-online.target and it did not start after .2 is available?
> Well, first you need also Wants=network-online.target, second you
> need
> something providing this target (like NetworkManager-wait-
> online.service).
> 
>   Anyway, this isall guesswork, why have you posted to -devel list?

Sorry about the ip confusion, the log files were generated on two
different machines.

The drop-in in the attachment works fine for me. I know nothing about a
Wants=network-online.target, only that the configuration files that
come with Fedora do not always work.

I posted it to the devel mailing list because nobody is there at the
initscripts-devel mailing list. I've already tried that for the
postgresql server that didn't want start either.

Best regards,
Mischa.

> 
> 
> > [root@tp02 ~]# systemctl status distccd
> > ● distccd.service - Distccd A Distributed Compilation Server
> > Jun 16 09:35:00 tp02.localdomain distccd[741]: (dcc_listen_by_addr)
> > ERROR: bind of 192.168.0.2:3632 failed: Cannot assign requested
> > address
> > 
> > [root@tp02 mjbaars1977]# systemctl status distccd
> > ● distccd.service - Distccd A Distributed Compilation Server
> >  ├─ 945 /usr/bin/distccd --no-detach --daemon --
> > whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3
> > --allow 192.168.0.0/4
> 
> -- 
> Tomasz   .. oo o.   oo o. .o   .o o. o. oo o.   ..
> Torcz.. .o .o   .o .o oo   oo .o .. .. oo   oo
> o.o.o.   .o .. o.   o. o. o.   o. o. oo .. ..   o.
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: 
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: systemctl status distccd

2020-06-16 Thread Tomasz Torcz
On Tue, Jun 16, 2020 at 01:59:48PM +0200, Michael J. Baars wrote:
> Hi,
> 
> Since it's awfully quiet on the initscripts-devel mailing list.

  But why this email?  The log you presented shows:

a) distccd not starting because of configuration error (configured to
listen on non-existing 192.168.0.2 address)

b) distccd service running (listening on different address)

  Do you mean that you configured distccd to start after
network-online.target and it did not start after .2 is available?
Well, first you need also Wants=network-online.target, second you need
something providing this target (like NetworkManager-wait-online.service).

  Anyway, this isall guesswork, why have you posted to -devel list?


> [root@tp02 ~]# systemctl status distccd
> ● distccd.service - Distccd A Distributed Compilation Server

> Jun 16 09:35:00 tp02.localdomain distccd[741]: (dcc_listen_by_addr) ERROR: 
> bind of 192.168.0.2:3632 failed: Cannot assign requested address
> 

> [root@tp02 mjbaars1977]# systemctl status distccd
> ● distccd.service - Distccd A Distributed Compilation Server
>  ├─ 945 /usr/bin/distccd --no-detach --daemon 
> --whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3 --allow 
> 192.168.0.0/4


-- 
Tomasz   .. oo o.   oo o. .o   .o o. o. oo o.   ..
Torcz.. .o .o   .o .o oo   oo .o .. .. oo   oo
o.o.o.   .o .. o.   o. o. o.   o. o. oo .. ..   o.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


systemctl status distccd

2020-06-16 Thread Michael J. Baars
Hi,

Since it's awfully quiet on the initscripts-devel mailing list.

Best regards,
Mischa.




distccd.service.d.tar.xz
Description: application/xz-compressed-tar
[root@tp02 ~]# systemctl status distccd
● distccd.service - Distccd A Distributed Compilation Server
 Loaded: loaded (/usr/lib/systemd/system/distccd.service; enabled; vendor 
preset: disabled)
 Active: failed (Result: exit-code) since Tue 2020-06-16 09:35:00 CEST; 
21min ago
Process: 741 ExecStart=/usr/bin/distccd --no-detach --daemon 
--whitelist=/etc/distcc/clients.allow $OPTIONS (code=exited, status=102)
   Main PID: 741 (code=exited, status=102)
CPU: 16ms

Jun 16 09:35:00 tp02.localdomain systemd[1]: Started Distccd A Distributed 
Compilation Server.
Jun 16 09:35:00 tp02.localdomain distccd[741]: (dcc_listen_by_addr) ERROR: bind 
of 192.168.0.2:3632 failed: Cannot assign requested address
Jun 16 09:35:00 tp02.localdomain systemd[1]: distccd.service: Main process 
exited, code=exited, status=102/n/a
Jun 16 09:35:00 tp02.localdomain systemd[1]: distccd.service: Failed with 
result 'exit-code'.

[root@tp02 mjbaars1977]# systemctl status distccd
● distccd.service - Distccd A Distributed Compilation Server
 Loaded: loaded (/usr/lib/systemd/system/distccd.service; enabled; vendor 
preset: disabled)
Drop-In: /etc/systemd/system/distccd.service.d
 └─distccd.service.conf
 Active: active (running) since Tue 2020-06-16 12:47:54 CEST; 46s ago
   Main PID: 945 (distccd)
  Tasks: 5 (limit: 4488)
 Memory: 1.7M
CPU: 20ms
 CGroup: /system.slice/distccd.service
 ├─ 945 /usr/bin/distccd --no-detach --daemon 
--whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3 --allow 
192.168.0.0/4
 ├─ 952 /usr/bin/distccd --no-detach --daemon 
--whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3 --allow 
192.168.0.0/4
 ├─ 994 /usr/bin/distccd --no-detach --daemon 
--whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3 --allow 
192.168.0.0/4
 ├─1038 /usr/bin/distccd --no-detach --daemon 
--whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3 --allow 
192.168.0.0/4
 └─1056 /usr/bin/distccd --no-detach --daemon 
--whitelist=/etc/distcc/clients.allow --jobs 4 --listen 192.168.0.3 --allow 
192.168.0.0/4

Jun 16 12:47:54 tp03.localdomain systemd[1]: Started Distccd A Distributed 
Compilation Server.

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org