pretty frusteating as I had this working and now it does not work. I have a Raspberry Pi3 as my master. I previously distributed it to a desktop running Arch x64 (both are fully updated). I have not tried this in about a year and needed to set it up again. So, the Master is still set up correctly, I have not changed anything and the /etc/makepkg.conf still has distccd unbanged and the slave is listed as a DISTCC_HOST. On the slave, I have installed the package from https://github.com/WarheadsSE/PKGs/tree ... tccd-alarm. It all installs and the service is running when checked with status. In the distccd-armv6h.conf has:
$this->bbcode_second_pass_code('', 'PATH=/usr/local/x-tools-armv6h/x-tools6h/arm-unknown-linux-gnueabihf/bin:$PATH
DISTCC_ARGS="--user nobody --allow 192.168.2.0/24 --port 3633"')
My LAN is 192.168.2.x the master is at 199 and the slave is at 101. How do I allow the Master to connect to the Slave? On the master, I still get:
distcc[3470] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
I can ping the slave from the master.
On the slave, The service is running:
$this->bbcode_second_pass_code('', '~$ systemctl status distccd-armv7h
● distccd-armv7h.service - A distributed C/C++ compiler for armv7h
Loaded: loaded (/usr/lib/systemd/system/distccd-armv7h.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2018-01-19 20:20:39 CST; 6s ago
Docs: man:distccd(1)
Main PID: 8900 (distccd-armv7h)
Tasks: 8 (limit: 4915)
CGroup: /system.slice/distccd-armv7h.service
├─8900 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
├─8902 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
├─8903 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
├─8913 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
├─8914 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
├─8917 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
├─8931 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
└─8932 /usr/bin/distccd-armv7h --daemon --no-detach --user nobody --allow 192.168.2.0/24 --log-file /tmp/distccd-
Jan 19 20:20:39 desktop systemd[1]: Started A distributed C/C++ compiler for armv7h.')
Iptables is not running on the slave. nmap from the master only shows 2 ports open, though
$this->bbcode_second_pass_code('', 'alarm@alarmpi:~$ nmap 192.168.2.101
Starting Nmap 7.60 ( https://nmap.org ) at 2018-01-20 03:25 UTC
Nmap scan report for desktop.griders (192.168.2.101)
Host is up (0.00068s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.40 seconds')
How can I fix this to allow my slave to compile this?
Gearhead