Re: server blocked when using distcc

JCX <[email protected]>
Newsgroups gmane.comp.compilers.distcc
Message-ID <[email protected]>
I use the command "distccd --log-file /tmp/distccd.log --daemon
--allow 10.1.4.0/22". And the distccd.log is:

distccd[26703] (dcc_setup_daemon_path) daemon's PATH is
/opt/trango/gnu-gcc_4.1.1_codesourcery-arm-2006q3-linux/bin:/build/toolchain/lin32/perforce-r09.1/:/build/trees/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
distccd[26703] (dcc_listen_by_addr) ERROR: bind of :::3632 failed:
Address already in use
distccd[26703] (dcc_exit) exit: code 102; self: 0.000000 user 0.000000
sys; children: 0.000000 user 0.000000 sys
distccd[26706] (dcc_setup_daemon_path) daemon's PATH is
/opt/trango/gnu-gcc_4.1.1_codesourcery-arm-2006q3-linux/bin:/build/toolchain/lin32/perforce-r09.1/:/build/trees/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
distccd[26706] (dcc_listen_by_addr) ERROR: bind of :::3632 failed:
Address already in use
distccd[26706] (dcc_exit) exit: code 102; self: 0.000000 user 0.000000
sys; children: 0.000000 user 0.000000 sys
distccd[26707] (dcc_setup_daemon_path) daemon's PATH is
/opt/trango/gnu-gcc_4.1.1_codesourcery-arm-2006q3-linux/bin:/build/toolchain/lin32/perforce-r09.1/:/build/trees/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
distccd[26707] (dcc_listen_by_addr) ERROR: bind of :::3632 failed:
Address already in use
distccd[26707] (dcc_exit) exit: code 102; self: 0.000000 user 0.000000
sys; children: 0.000000 user 0.000000 sys

I don't know why this error happens. Can you give me some suggestions?

Thanks,
Caixia


2009/8/20 Martin Pool <[email protected]>:
> 2009/8/20 JCX <[email protected]>:
>> Hi all,
>>
>> I compile code using distcc in two eight core machines. In the server
>> machine, i use the command "distccd --daemon --allow 10.1.4.0/22" and
>> see the distccd process when i use "ps -ax | grep distccd". In the
>> host machine, i set the environment variable DISTCC_HOSTS="localhost/8
>> pek-office/8". However, when i use the "distccmon-text 2" to see the
>> compile process, i got the result:
>>
>>  22723  Connect     pngpread.c                     pek-office[0]
>>  22747  Connect     pngrio.c                         pek-office[1]
>>  22763  Connect     pngrutil.c                        pek-office[2]
>>  4304  Compile     RenderTableSection.cpp   localhost[0]
>>  27914  Compile     pvmf_protocol_engine_common.cp                localhost[1]
>>  4291  Compile     RenderTableRow.cpp        localhost[2]
>>
>>  22723  Blocked     pngpread.c                     pek-office[0]
>>  22763  Blocked     pngrutil.c                        pek-office[2]
>>
>> It seems all the files are compiled on localhost. pek-office server is
>> in either "connect" or "blocked" status.
>>
>> So, can someone explain what could be happening here? What can i do to
>> sort this problem out?
>
> Have a look in the server's log file.
> --
> Martin <http://launchpad.net/~mbp/>
>
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.