# bind9 failing to create jnl: netsh.xyz.zone.jnl: create: permission denied


While testing bind9 replication and the notify / ixfr / axfr machinery, I ran `rndc reload zone` on the secondary and captured traffic — no notify or ixfr packets at all. The `named.run` log explained why:

```text
netsh.xyz.zone.jnl: create: permission denied
```

My first guess was file permissions or SELinux; neither turned out to be the cause. A search led to a thread on centos.org, where the fix is to move the zone files into named's data directory and reference them with a relative path in `named.conf`.

1. Stop the service:

    ```bash
    service named stop
    ```

2. Move the zone from `/var/named/example.com` to `/var/named/data/example.com`.

3. Point `named.conf` at the new location with a relative path:

    ```text
    file "data/example.com";
    ```

4. Start the service again:

    ```bash
    service named start
    ```

The transfer worked after that. Original thread: <https://www.centos.org/forums/viewtopic.php?t=5543>

