# Amanda Server not responding

**URL:** <https://community.openhab.org/t/amanda-server-not-responding/80021>\
**Category:** Beginners\
**Created:** [August 15, 2019, 5:18pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021 "2019-08-15T17:18:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis\_Pelham](https://community.openhab.org/user_avatar/community.openhab.org/dennis_pelham/32/41292_2.png) [@Dennis\_Pelham](https://community.openhab.org/u/Dennis_Pelham)\
**Post date:** [August 15, 2019, 5:18pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021/1 "2019-08-15T17:18:26Z")

</div>

Sorry if I’m missing key info here, I’m new to openhab and linux and I’ve barely made it past getting a lightswitch to turn on and off.

I’m trying to set up Amanda backups through the openhabian configuration. I’m running the lastest 2.4.0 (I think?) on a Ubuntu 18.04 Dell Optiplex.

I mounted a 32GB USB stick, pretty sure I got the fstab configurations correct, to /media. I made it through the Amanda configuration in openhabian (I elected not to have it back up my SD card, since I’m assuming that means my entire partition which is well over 16GB), and allocated 2GB for the backups. I think everything is configured correctly… I can see the slot directories it created in /media, and I can access them as the backup user, but when I run `amcheck openhab-dir`, I just get the “Amanda Tape Server Host Check” header and it never prints out any other info. I tried `amdump openhab-dir` and let it sit for about 5-10 minutes and it never returned. Not sure what/how to diagnose that?

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 15, 2019, 6:18pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021/2 "2019-08-15T18:18:22Z")

</div>

Check the logs in `/var/log/amanda` if they give any hint.

---

<div class="post-metadata">

**Author:** ![Dennis\_Pelham](https://community.openhab.org/user_avatar/community.openhab.org/dennis_pelham/32/41292_2.png) [@Dennis\_Pelham](https://community.openhab.org/u/Dennis_Pelham)\
**Post date:** [August 15, 2019, 8:16pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021/3 "2019-08-15T20:16:24Z")

</div>

I checked the log files. The `log` file didn’t appear to have anything regarding the `amcheck` run, but I did try an `amdump` and it logged that, as well as logging that I ctrl+C’ed my way out after awhile, but there are no timestamps to indicate if it hung during any particular part of that.

There’s also an `amdump.1` file that appears to report that it’s set up a scheduled backup of my openHAB directories, but I’m not cron savvy enough to figure out when it will run, I’ll probably just need to keep tabs on the slot directories and see if anything shows up.

---

<div class="post-metadata">

**Author:** ![Dennis\_Pelham](https://community.openhab.org/user_avatar/community.openhab.org/dennis_pelham/32/41292_2.png) [@Dennis\_Pelham](https://community.openhab.org/u/Dennis_Pelham)\
**Post date:** [August 15, 2019, 8:40pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021/4 "2019-08-15T20:40:21Z")

</div>

**Update** : I let `amcheck` run for as long as it wanted. I don’t really know when it finally came back, but it finally produced results.

`ERROR: Timeout trying to lock '/media/slots/state': Permission denied`

I don’t even see the state file in the /media/slots folder, not sure how to fix this one?

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 15, 2019, 8:56pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021/5 "2019-08-15T20:56:36Z")

</div>

> [@Dennis\_Pelham](#):
>
> I don’t even see the state file in the /media/slots folder, not sure how to fix this one?

Your storage (i.e. `/media/slots`) has to be at least group-writeable for the backup user/group as written in the [docs](https://github.com/openhab/openhabian/blob/master/docs/openhabian-amanda.md).

> [@Dennis\_Pelham](#):
>
> not cron savvy enough to figure out when it will run

also see docs

---

<div class="post-metadata">

**Author:** ![Dennis\_Pelham](https://community.openhab.org/user_avatar/community.openhab.org/dennis_pelham/32/41292_2.png) [@Dennis\_Pelham](https://community.openhab.org/u/Dennis_Pelham)\
**Post date:** [August 15, 2019, 10:00pm UTC](https://community.openhab.org/t/amanda-server-not-responding/80021/6 "2019-08-15T22:00:35Z")

</div>

Thanks Markus, that’s definitely the issue! I cleared out the files on the USB stick and remounted using the fstab entry for FAT32 (as per the docs), then re-ran the openhabian configuration, but I think I might have missed something. I see a bunch of `chown: changing ownership of '<slot dirs>': Operation not permitted`. I double checked the fstab entry and made sure the drive is mounted correctly, but the backup user still doesn’t have the correct access.

Should I reformat the usb stick for ext4?  
**EDIT:** I reformatted the usb stick for ext4 and used the instructions in the docs for the `usbstick-linux`. Worked like a charm! I’m in business now.
