ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] distcc wonders
@ 2006-12-15  9:01 Andrey Khavryuchenko
  0 siblings, 0 replies; only message in thread
From: Andrey Khavryuchenko @ 2006-12-15  9:01 UTC (permalink / raw)
  To: sisyphus

Hi!

Что-то у меня с утра несварение мозгов.  

Поставил distcc.  Запускаю его с консоли:

sudo /usr/bin/distccd --user nobody --allow 127.0.0.0/24 --allow 192.168.1.0/24 --allow 10.0.0.0/24 --allow 10.0.2.0/24 --listen 192.168.1.4 --port 3632 --log-stderr --no-detach

Получаю процессы типа

akhavr@devel ~ $ ps xau | grep dist
nobody   29072  0.0  0.0   7232   392 ?        SNs  09:31   0:00 /usr/bin/distccd --daemon --user nobody --allow 127.0.0.0/24 --allow 192.168.1.0/24 --allow 10.0.0.0/24 --allow 10.0.2.0/24 --listen 192.168.1.4 --port 3632

Комиляция проходит (выдержка из /var/log/messages):

Dec 15 09:55:31 devel distccd[29282]: (dcc_r_file_timed) 293533 bytes received i
n 0.119176s, rate 2405kB/s
Dec 15 09:55:31 devel distccd[29282]: (dcc_collect_child) cc times: user 0.00400
0s, system 0.000000s, 921 minflt, 0 majflt
Dec 15 09:55:31 devel distccd[29282]: cc arch/i386/kernel/asm-offsets.c on local
host failed
Dec 15 09:55:31 devel distccd[29282]: job complete


Останавливаю, запускаю как сервис с точно такой же конфигурацией:

$ cat /etc/distccd/distccd.conf
#config file for distccd daemon
DISTCCD_PATH="/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
TMPDIR=/tmp
ADDRESS=192.168.1.4
PORT=3632
ALLOW="127.0.0.0/24 192.168.1.0/24 10.0.0.0/24 10.0.2.0/24"
RUNUSER="nobody --verbose"

$ ps xau | grep dist
nobody   29129  0.0  0.0   7236   388 ?        SNs  09:32   0:00 /usr/bin/distccd --daemon --user nobody --verbose --allow 127.0.0.0/24 --allow 192.168.1.0/24 --allow 10.0.0.0/24 --allow 10.0.2.0/24 --listen 192.168.1.4 --port 3632


В логах получаю:

Dec 15 11:01:07 devel distccd[31403]: compile from main.c to .tmp_main.o
Dec 15 11:01:16 devel distccd[31403]: (dcc_r_file_timed) 565342 bytes received in 0.084155s, rate 6560kB/s
Dec 15 11:01:16 devel distccd[31403]: (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 284 minflt, 0 majflt
Dec 15 11:01:16 devel distccd[31403]: cc init/main.c on localhost failed
Dec 15 11:01:16 devel distccd[31403]: job complete

Т.е. без всяких видимых причин он 
 1. не отрабатывает --verbose
 2. не компилирует

Что я делаю не так?

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-15  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15  9:01 [sisyphus] distcc wonders Andrey Khavryuchenko

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git