# NUT: No PIPEFN or LOCKFN

**URL:** <https://community.ipfire.org/t/nut-no-pipefn-or-lockfn/15768>\
**Category:** Add-Ons\
**Created:** [9 May 2026 07:35 UTC](https://community.ipfire.org/t/nut-no-pipefn-or-lockfn/15768 "2026-05-09T07:35:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![firewire](https://community.ipfire.org/user_avatar/community.ipfire.org/firewire/32/16590_2.png) [@firewire](https://community.ipfire.org/u/firewire)\
**Post date:** [9 May 2026 07:35 UTC](https://community.ipfire.org/t/nut-no-pipefn-or-lockfn/15768/1 "2026-05-09T07:35:53Z")

</div>

I just did a clean install by using the Core 201 image and discovered a problem when initiating an alert (eg by disconnecting the USB data cable).

`upssched[5141]: Failed to connect to parent and failed to create parent: No such file or directory`

upssched.conf looks like this:

```auto
PIPEFN /var/state/ups/upssched.pipe
LOCKFN /var/state/ups/upssched.lock

```

and ls -la /var/state/ups shows this:

```auto
drwxr-x--- 2 root nut 4096 May 9 09:29 .
drwxr-xr-x 4 root root 4096 Apr 21 15:14 ..
-rw-r--r-- 1 root root 5 May 9 09:29 upsd.pid
srw-rw---- 1 root root 0 May 9 09:29 usbhid-ups-eaton5px
-rw-r--r-- 1 root root 5 May 9 09:29 usbhid-ups-eaton5px.pid

```

I suspect there’s a problem with the directory permissions but I don’t get it.

What could I do here, please?

---

<div class="post-metadata">

**Author:** ![firewire](https://community.ipfire.org/user_avatar/community.ipfire.org/firewire/32/16590_2.png) [@firewire](https://community.ipfire.org/u/firewire)\
**Post date:** [9 May 2026 08:33 UTC](https://community.ipfire.org/t/nut-no-pipefn-or-lockfn/15768/2 "2026-05-09T08:33:11Z")

</div>

This did the job:

```auto
chmod 0770 /var/state/ups

```

```auto
drwxrwx--- 2 root nut 4096 May 9 10:28 .
drwxr-xr-x 4 root root 4096 Apr 21 15:14 ..
-rw-r--r-- 1 root root 5 May 9 10:26 upsd.pid
-rw-r--r-- 1 nutmon nut 5 May 9 10:27 upssched.pid
srw-rw---- 1 root root 0 May 9 10:26 usbhid-ups-eaton5px
-rw-r--r-- 1 root root 5 May 9 10:26 usbhid-ups-eaton5px.pid

```

But, after replugging the data cable, this message keeps going:

`May 9 10:31:30 fw upsmon[4975]: Poll UPS [eaton5px@localhost] failed - Data stale`

It doesn’t seem to recover.
