Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132366 - Distcc-2.18.3 doesn't start
Summary: Distcc-2.18.3 doesn't start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 11:41 UTC by Marçal Juan Llaó
Modified: 2006-08-06 15:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marçal Juan Llaó 2006-05-05 11:41:56 UTC
* Starting distccd ...                 [!!]

No log information is available.
Compilation in localhost it's ok, it's just for compiling throw the net, betwen two computers.

emerge --info
--------------------------------
Portage 2203-svn (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ca_ES@euro"
LC_ALL="ca_ES@euro"
LINGUAS="ca"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://10.34.216.103/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 Xaw3d a52 aac accessibility acl acpi adns alsa aotuv apache2 apm arts artswrappersuid asf asterisk audiofile avalon avi bash-completion bcmath bcp bdf berkdb bitmap-fonts bjam bluetooth browserplugin bzip2 cairo caps ccache cddb cdparanoia cdr cgi chroot clamav cli cpudetection crypt css ctype cups curl curlwrappers custom-cflags dba discard-path divx4linux dmx double-precision dri dts dv dvb dvd dvdr dvdread dxr3 ecc eds elf emboss encode erandom esd ethereal exif expat extras fam fame ffmpeg fftw flac font-server fontconfig foomaticdb force-cgi-redirect fortran freetype ftp gd gdbm gif gimpprint glibc-compat20 glibc-omitfp glitz glut gmp gnokii gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal howl hpn iconv icu idn ieee1394 imagemagick imlib innodb inode ipv6 isdnlog ithreads java javascript jbig jikes jpeg jpeg2k junit justify jython kcal kde kdeenablefinal kdepim kerberos kig-scripting krb4 lcms libclamav libedit libg++ libwww lm_sensors logitech-mouse lzo mad mailwrapper mcal md5sum memlimit mhash mikmod ming mjpeg mmx mmxext mng mono motif mozaccess mozcalendar mozctl mozdevelop mozilla mozxmlterm mp3 mpeg mpeg4 mpi mplayer mudflap multislot musepack musicbrainz mysql mysqli ncurses network nls nodrm nptl nptlonly nsplugin numeric nvidia oav objc odbc offensive ofx ogg oggvorbis on-the-fly-crypt openal openexr opengl oss pam pccts pcre pda pdf pdflib perforce perl php pic png posix povray ppds pppd profile pvm pyste python qt quicktime rar rdesktop readline real reflection rhino rle rpm rtc ruby samba savedconfig sdl sensord session sftplogging simplexml slang slp smp sms smux sndfile snmp spamassassin spell spl sql sse ssl subversion svg tcltk tcpd tetex threads threadsonly tidy tiff toolbar tools truetype truetype-fonts type1-fonts ucs2 udev unicode usb v4l v4l2 vcd vcdimager vidix virus-scan visualization vnc vorbis wifi win32codecs winbind wmf xanim xine xinerama xml xml2 xmms xorg xprint xrandr xscreensaver xv xvid xvmc yaz yv12 zeroconf zip zlib zvbi linguas_ca userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTDIR_OVERLAY
Comment 1 James 2006-05-05 13:09:31 UTC
this dosent seem like a bug but a configuration problem

paste /etc/conf.d/distcc

add 
DISTCCD_OPTS="--log-file /var/log/distcc/distcc" (may have to mkdir /var/log/distcc/"

for logging
Comment 2 Marçal Juan Llaó 2006-05-05 17:14:24 UTC
The version installed is the last stable:
sys-devel/distcc-2.18.3-r10  -gnome +gtk +ipv6 (-selinux)

distccmon-gnome works perfect It shows the current process and a graph.
I made some combinations of --listen and --allow but doesn't work again.
Always show me [!!] starting. And no debug info or log.

--------------------------------
# /etc/conf.d/distccd: config file for /etc/init.d/distccd

DISTCCD_OPTS=""

# this is the distccd executable
DISTCCD_EXEC="/usr/bin/distccd"

# this is where distccd will store its pid file
DISTCCD_PIDFILE="/var/run/distccd/distccd.pid"

# set this option to run distccd with extra parameters
# Default port is 3632.  For most people the default is okay.
DISTCCD_OPTS="${DISTCCD_OPTS} --port 3632"

# Logging
# You can change some logging options here:
# --log-file FILE
# --log-level LEVEL  [critical,error,warning, notice, info, debug]
#
# Leaving --log-file blank will log to syslog
# example: --log-file /dev/null --log-level warning
# example: --log-level critical

DISTCCD_OPTS="${DISTCCD_OPTS} --log-file /var/log/distcc/distcc"
DISTCCD_OPTS="${DISTCCD_OPTS} --log-level critical"

# SECURITY NOTICE:
# It is HIGHLY recomended that you use the --listen option
# for increased security. You can specify an IP to permit connections
# from or a CIDR mask
# --listen accepts only a single IP
# --allow is now mandatory as of distcc-2.18.
# example:  --allow 192.168.0.0/24
# example:  --allow 192.168.0.5 --allow 192.168.0.150
# example:  --listen 192.168.0.2
#DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.0.0/24"
DISTCCD_OPTS="${DISTCCD_OPTS} --allow 10.34.216.103"
DISTCCD_OPTS="${DISTCCD_OPTS} --listen 10.34.216.103"

# set this for niceness
# Default is 15
DISTCCD_NICE="15"
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2006-05-06 07:48:31 UTC
The problem is:
DISTCCD_OPTS="${DISTCCD_OPTS} --allow 10.34.216.103"
DISTCCD_OPTS="${DISTCCD_OPTS} --listen 10.34.216.103"

Change to:

DISTCCD_OPTS="${DISTCCD_OPTS} --allow 10.34.216.103 "
DISTCCD_OPTS="${DISTCCD_OPTS} --listen 10.34.216.103"

Note the extra space on the --allow line.  Changing this will fix it and I will close it now.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-06 12:43:54 UTC
That is very strange, that it would require two spaces (one on the end of the first line, another before the --listen in the second line).
Comment 5 Marçal Juan Llaó 2006-05-06 19:16:38 UTC
This is very strange.
If I just put the --allow option it will start correctly ( [ ok ] ), but with the --listen option it doesn't start at all.
I've tried a lot of combinations with spaces but it doesn't start when I put --listen option... (also changing the IP)

Now it's working throw the net "fine" (I suppose). I compile media-libs/tiff and ditccmon-gnome shows me that the remote host is compiling some code. Fine.

But there's no --listen option in the config... it's a problem or a feature? ;)

thanks.
Comment 6 Ulf Bartelt (RETIRED) gentoo-dev 2006-07-31 22:31:07 UTC
(In reply to comment #5)
> But there's no --listen option in the config... it's a problem or a feature? ;)

--listen is needed to select on which interface distccd shall listen. imagine having multiple networks or VPNs and only wanting to allow distcc-ing in your local network...

No --listen should be ok, as far as I experimented with distcc and read in the manpage.

Imo the config file's comments are not clear enough.
Comment 7 Marçal Juan Llaó 2006-08-01 14:32:22 UTC
Ok, thanks. But nevertheless it have to start the service normally I suppose.

I have only one ethernet card, and distcc is working perfectly right now (with the same version of config in #3).

Bye.
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2006-08-06 15:21:23 UTC
closed