[Tile-serving] [openstreetmap/mod_tile] send error: Inappropriate ioctl for device (Issue #314)

Hummeltech notifications at github.com
Sat Mar 11 15:10:29 UTC 2023


> > We'll probably need to see your file, the first 50 lines or so of the and the the command you used to start up in order to provide any help.`` renderd.conf``log output``renderd ``
> 
> ![image](https://user-images.githubusercontent.com/118588293/224458541-36d0f0da-d872-4332-a947-86b391303606.png)

It looks like the `postgres` user doesn't have permissions to write into the `/run/renderd` directory and/or it doesn't exist. First check if that directory (`/run/renderd`) exists and is writable.
```shell
$ sudo -u postgres ls -al /run/renderd
ls: cannot access '/run/renderd': No such file or directory
```
If not, you'll need to create it:
```shell
$ sudo mkdir /run/renderd
```
Then, whether it existed or not, grant `postgres` write permissions to it:
```shell
$ sudo chown postgres:postgres /run/renderd
```

You'll probably have a similar issue with the `tile_dir`, so do the same thing for `/var/cache/renderd/tiles`:
```shell
$ sudo -u postgres ls -al /var/cache/renderd/tiles
ls: cannot access '/var/cache/renderd/tiles': No such file or directory
$ sudo mkdir -p /var/cache/renderd/tiles
$ sudo chown postgres:postgres /var/cache/renderd/tiles
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/314#issuecomment-1464931580
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/314/1464931580 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230311/4c6579bf/attachment.htm>


More information about the Tile-serving mailing list