LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-11-2006, 10:10 PM   #1
RedLeader
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware
Posts: 12

Rep: Reputation: 0
Unhappy distcc


greetings,

i've been trying to get distcc going on my 2 PC lan. after reading the man pages, i run "distccd --daemon --allow 192.168.1.2" on the box i plan to connect to (running slackware 10.2 w/ 2.6.13 kernel)
and i receive the following error: distccd[17696] (dcc_preferred_user) Warning: no such user as "distcc"

ps aux | grep distcc reveals that distccd is indeed running, though netstat -a | grep distccd comes up blank. i've google'd the error message and checked around on the forums here on LQ and haven't really found anything conclusive. has anyone experienced this problem before, or am i just overlooking something totally obvious?

thanks

Last edited by RedLeader; 11-11-2006 at 10:14 PM.
 
Old 11-12-2006, 04:03 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
I've never used distcc, but no such user as "distcc" seems to indicate that you need to define a user called "distcc". Either you define one, or you change the "dcc_preferred_user" (I guess it's in the config file) to a user that exists on that system.
Pure guessing, though ;-)
 
Old 11-12-2006, 11:12 AM   #3
RedLeader
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware
Posts: 12

Original Poster
Rep: Reputation: 0
thanks for the response uselpa.

can't seem to find any kind of configuration file for distcc(d).
since reading your reply, i've tried running distccd --daemon --user <regular user> --allow 192.168.1.2
without receiving any error messages, though netstat still doesn't show it running. i've read the documentation a few times and everything does seem to be in order, not really sure what i'm doing wrong here.
anywho, if anyone else has any suggestions i'd love to hear them. thanks!
 
Old 11-12-2006, 11:14 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Give the Gentoo docs and wiki a try. I think Gentoo users tend to use distcc a little more than Slackware users ;-)
 
Old 11-12-2006, 12:00 PM   #5
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 294

Rep: Reputation: 32
distcc

On my system this works.

On the box thats helping enter < distccd --daemon --allow 192.168.1.200 >
the 192.168.1.200 is the address of the unit I work at.

On the unit I work at enter < distccd --daemon -allow 192.168.1.254 >
the 192.168.1.254 is the address of the helper unit.

then still on the unit I work from enter < export DISTCC_HOSTS='localhost 192.168.1.254' >

Thats it, other than the compile its'self which to get the boost, use something like
< make bzImage MAKE="make -j8 CC=distcc" >

Hope it works for you too.

Last edited by guzzi; 11-12-2006 at 12:02 PM.
 
Old 11-17-2006, 10:45 PM   #6
lucasrangit
LQ Newbie
 
Registered: Nov 2006
Distribution: Slackware 11.0
Posts: 4

Rep: Reputation: 0
execute the following on each machine:

$ export DISTCC_HOSTS='localhost OTHERHOSTNAME'
$ distccd --daemon --allow 192.168.1.0/24 --user nobody

Last edited by lucasrangit; 11-17-2006 at 11:25 PM.
 
Old 11-18-2006, 09:09 AM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
As a note, the --user option is only used when distccd is run as root,
I don't see the advantage of running it as root for my part...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
distcc apenguinlinux Debian 1 12-18-2005 02:01 PM
Distcc exvor Linux - Software 1 11-17-2005 06:36 PM
distcc linuxhippy Slackware 4 05-05-2005 07:15 AM
distcc hostname zaicheke Linux - Software 0 01-16-2005 12:06 PM
Using distcc...? kleptophobiac Linux - Software 0 09-30-2003 09:32 AM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration