[distcc] dcc_mkdir problem

Larry Crouch lcrouch at digitalsynergistics.net
Mon Dec 10 09:53:02 GMT 2007


Hello,

Could someone explain what I need to do to fix this problem?
I am using two computers with the same kernel (2.6.23.9) with KDE.

distccd[3331] (dcc_check_compiler_masq) Warning: gcc on distccd's path is /usr/lib/distcc/gcc and really a link to ../../bin/distcc
distcc[3336] (dcc_mkdir) ERROR: mkdir //.distcc failed: Permission denied
distcc[3336] (dcc_mkdir) ERROR: mkdir //.distcc failed: Permission denied


cat /etc/defaul/distcc
STARTDISTCC="true"
ALLOWEDNETS="192.168.10.0/24"
LISTENER="192.168.10.7"
DISTCC_DIR="/home/distccd/"

Excerpt from /etc/init.d/distcc
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/distccd
NAME=distccd
DESC="Distributed Compiler Daemon"
DAEMON_ARGS="--pid-file=/var/run/$NAME.pid --log-file=/var/log/$NAME.log --daemon"
DISTCC_DIR="/home/distccd/"
ALLOWEDNETS="192.168.10.0/24"
LISTENER="192.168.10.7"

Excerpt from /root/.bashrc
export DISTCC_HOSTS='orion libra'
export DISTCC_DIR="/home/distccd/"
export PATH='/usr/lib/distcc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'

I created /home/distccd and chown to distccd:adm.

Both computers have similar files.
Orion is 192.168.10.7 while Libra is ...8.


-- 
Larry Crouch
lcrouch at digitalsynergistics.net



More information about the distcc mailing list