1 |
On Fri, 2007-10-19 at 16:11 +0200, Alex Schuster wrote: |
2 |
> Michael Sullivan writes: |
3 |
> |
4 |
> > I have a really old PC that I use as a backup server if our main server |
5 |
> > goes down. (This is a hobbyist network.) I'm trying to update the |
6 |
> > software on it. (It hasn't been updated since last April). I've set up |
7 |
> > distcc following the guide at http://www.gentoo.org/doc/en/distcc.xml |
8 |
> > I tried updating mysql on it and it seemed to distribute correctly, but |
9 |
> > gcc does not. Does gcc not distribute? |
10 |
> |
11 |
> I just tried that, and it distributes fine. I also think it should, unless |
12 |
> there is a MAKEOPTS="${MAKEOPTS} -j1" or something similar in the ebuild. |
13 |
> |
14 |
> Do you have logging activated in /etc/conf.d/distccd on the host providing |
15 |
> the distcc service? Is there something in your syslog? There also is |
16 |
> distcc-mon, but I did not have success with that, so I just look at the |
17 |
> logs to see what's wrong. |
18 |
> |
19 |
> Alex |
20 |
|
21 |
Is this correct? I have three fast machines, 192.168.1.2 through |
22 |
192.168.1.4 and a slow machine I want to distribute for at 192.168.1.5. |
23 |
Here's /etc/conf.d/distccd on the slow one: |
24 |
|
25 |
# /etc/conf.d/distccd: config file for /etc/init.d/distccd |
26 |
|
27 |
DISTCCD_OPTS="" |
28 |
|
29 |
# this is the distccd executable |
30 |
DISTCCD_EXEC="/usr/bin/distccd" |
31 |
|
32 |
# this is where distccd will store its pid file |
33 |
DISTCCD_PIDFILE="/var/run/distccd/distccd.pid" |
34 |
|
35 |
# set this option to run distccd with extra parameters |
36 |
# Default port is 3632. For most people the default is okay. |
37 |
DISTCCD_OPTS="${DISTCCD_OPTS} --port 3632" |
38 |
|
39 |
# Logging |
40 |
# You can change some logging options here: |
41 |
# --log-file FILE |
42 |
# --log-level LEVEL [critical,error,warning, notice, info, debug] |
43 |
# |
44 |
# Leaving --log-file blank will log to syslog |
45 |
# example: --log-file /dev/null --log-level warning |
46 |
# example: --log-level critical |
47 |
|
48 |
DISTCCD_OPTS="${DISTCCD_OPTS} --log-level info |
49 |
--log-file /var/log/distccd" |
50 |
|
51 |
# SECURITY NOTICE: |
52 |
# It is HIGHLY recomended that you use the --listen option |
53 |
# for increased security. You can specify an IP to permit connections |
54 |
# from or a CIDR mask |
55 |
# --listen accepts only a single IP |
56 |
# --allow is now mandatory as of distcc-2.18. |
57 |
# example: --allow 192.168.0.0/24 |
58 |
# example: --allow 192.168.0.5 --allow 192.168.0.150 |
59 |
# example: --listen 192.168.0.2 |
60 |
DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.1.2 --allow 192.168.1.3 |
61 |
--allow 192.168.1.4" |
62 |
#DISTCCD_OPTS="${DISTCCD_OPTS} --listen 192.168.0.2" |
63 |
|
64 |
# set this for niceness |
65 |
# Default is 15 |
66 |
DISTCCD_NICE="15" |
67 |
|
68 |
And here's what it says on the faster machines: |
69 |
|
70 |
# /etc/conf.d/distccd: config file for /etc/init.d/distccd |
71 |
|
72 |
DISTCCD_OPTS="" |
73 |
|
74 |
# this is the distccd executable |
75 |
DISTCCD_EXEC="/usr/bin/distccd" |
76 |
|
77 |
# this is where distccd will store its pid file |
78 |
DISTCCD_PIDFILE="/var/run/distccd/distccd.pid" |
79 |
|
80 |
# set this option to run distccd with extra parameters |
81 |
# Default port is 3632. For most people the default is okay. |
82 |
DISTCCD_OPTS="${DISTCCD_OPTS} --port 3632" |
83 |
|
84 |
# Logging |
85 |
# You can change some logging options here: |
86 |
# --log-file FILE |
87 |
# --log-level LEVEL [critical,error,warning, notice, info, debug] |
88 |
# |
89 |
# Leaving --log-file blank will log to syslog |
90 |
# example: --log-file /dev/null --log-level warning |
91 |
# example: --log-level critical |
92 |
|
93 |
DISTCCD_OPTS="${DISTCCD_OPTS} --log-level info |
94 |
--log-file /var/log/distccd" |
95 |
|
96 |
# SECURITY NOTICE: |
97 |
# It is HIGHLY recomended that you use the --listen option |
98 |
# for increased security. You can specify an IP to permit connections |
99 |
# from or a CIDR mask |
100 |
# --listen accepts only a single IP |
101 |
# --allow is now mandatory as of distcc-2.18. |
102 |
# example: --allow 192.168.0.0/24 |
103 |
# example: --allow 192.168.0.5 --allow 192.168.0.150 |
104 |
DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.1.5" |
105 |
#DISTCCD_OPTS="${DISTCCD_OPTS} --listen 192.168.0.2" |
106 |
|
107 |
# set this for niceness |
108 |
# Default is 15 |
109 |
DISTCCD_NICE="15" |
110 |
|
111 |
|
112 |
-- |
113 |
gentoo-user@g.o mailing list |