[OSM-dev] Getting tirex-batch to run on Ubuntu 16.04.

Jochen Topf jochen at remote.org
Thu Feb 23 21:10:53 UTC 2017


The ubuntu package should have installed init scripts for you. If you
have installed yourself without using the package, look in the "debian"
directory for the *.init files. They should start everything in the
right way. Note that these are for the old init system, since tirex was
created way back when systemd didn't exist.

Jochen

On Thu, Feb 23, 2017 at 02:15:55PM +0100, Emil Tin wrote:
> Date: Thu, 23 Feb 2017 14:15:55 +0100
> From: Emil Tin <emil at ibikecph.dk>
> To: dev at openstreetmap.org
> Subject: [OSM-dev] Getting tirex-batch to run on Ubuntu 16.04.
> 
> Hi,
> I have installed Tirex on Ubuntu 16.04, but are having problems getting tirex-batch to run.
> 
>   osm at worker3:~$ tirex-batch
>   Cannot open connection to master: No such file or directory
> 
>   osm at worker3:~$ tirex-master
>   Cannot open master UNIX domain socket: No such file or directory
> 
> 
> 
> I found out that this is because the folder /var/run/tirex where the PID file is stored is missing. I can create the folder manually:
> 
>   root at worker3:~# mkdir /var/run/tirex
>   root at worker3:~# chown osm:osm /var/run/tirex
> 
> Now tires-master and tirex-batch can run, and I see these processes:
> 
>   root at worker3:~# ps aux | grep tirex
>   osm       1895  0.0  0.1  64160 18056 ?        Ss   14:08   0:00 /usr/bin/perl /usr/bin/tirex-master
>   root      1901  0.0  0.0  14224  1008 pts/2    S+   14:09   0:00 grep --color=auto tirex
> 
> But after a reboot the folder /var/run/tirex/ disappears.What’s supposed to create the folder after reboot?
> 
> 
> As can be seen above, I created a user called ‘osm’ which is supposed to be the user that runs tirex. Not sure this is correct, and where I set the user for tirex?
> 
> I’m also wondering whether tirex is running (or supposed to run) as a systemd service?
> 
> 
> 
> 
> I would be grateful for any help.
> 
> Thanks,
> Emil
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev

-- 
Jochen Topf  jochen at remote.org  https://www.jochentopf.com/  +49-351-31778688



More information about the dev mailing list