[distcc] Latest distcc on github, can not connect to distccd

chenyu yu.chen.surf at gmail.com
Sat Jul 4 00:53:37 MDT 2015

Hi, all
I've got two machine of linux,  A is fedora 21, B is ubuntu 14.04. After
make install distcc on these two machines, I set both A and B as distccd server,

A : ip=
distccd --daemon --user nobody --allow --listen=
export DISTCC_HOSTS=''

and  B:  ip=
distccd --daemon --user nobody --allow --listen=
export DISTCC_HOSTS=''

 it seems that, B can not connect to A,  here's the log on B with DISTCC_VERBOSE=1:

distcc[29402] (dcc_note_state) note state 2, file "exec_domain.c", host ""
distcc[29402] (dcc_connect_by_addr) started connecting to
distcc[29402] (dcc_select_for_write) select for write on fd5
distcc[29402] ERROR: nonblocking connect to failed: No route to host
distcc[29402] (dcc_unlock) release lock fd4
distcc[29402] (dcc_mark_timefile) mark /home/acpi/.distcc/lock/backoff_tcp_192.168.1.3_3632_0
distcc[29402] (dcc_unlock) release lock fd3
distcc[29402] Warning: failed to distribute kernel/exec_domain.c to, running locally instead
distcc[29402] (dcc_lock_host) /home/acpi/.distcc/lock/cpu_localhost_0 is busy
distcc[29402] (dcc_lock_host) /home/acpi/.distcc/lock/cpu_localhost_1 is busy

and the port of distcc on A is opened:
$ netstat -nlp | grep distcc
tcp        0      0*               LISTEN      5099/distccd

$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=0.449 ms
64 bytes from icmp_seq=2 ttl=64 time=0.335 ms
64 bytes from icmp_seq=3 ttl=64 time=0.390 ms
$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     *        U     1      0        0 eth2

Can anyone please give me some advice on why this happened.


More information about the distcc mailing list