Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

apcupsd error

Featured Replies

Can anyone help me with this error showing up my my syslog about apcupsd?  How do I fix it?

 

Jul 29 04:40:01 TODD-Svr apcupsd[15726]: Valid lock file for pid=1466, but not ours pid=15726

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: Valid lock file for pid=1466, but not ours pid=15727

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: apcupsd FATAL ERROR in device.c at line 71 Unable to create UPS lock file.  If apcupsd or apctest is already running,  please stop it and run this program again.  (Errors)

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: Valid lock file for pid=1466, but not ours pid=15727

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: apcupsd error shutdown completed (Errors)

 

One thing I noticed is we had a few minute long power failure before this error appeared in the syslog.  I've been out of town since then, but my wife tells me we had several power failures while I was gone due to storms.  The system never shut down so it wasn't off long enough to drain the battery.  However I don't see the power failures recorded in the syslog like I did before the error first occurred.  I'm guessing this is connected?

 

Also, while I am asking what does this mean?

Jul 19 23:39:42 TODD-Svr unmenu[2249]: Precleared disk sdd not found in drivedb[] (Drive related)

Seems to pop up now and then in my syslog recently.  sdd is my parity drive.

 

Info about my system is accurate and up to date in my signature.

 

I attached the full syslog but don't see anything else related other than a similar instance of the same error.

 

 

 

 

Thanks for any help.

syslog-2012-08-03_1.txt

  • Author

2nd half of syslog.  I havne't rebooted in a while so it's pretty big.

 

syslog-2012-08-03_2.txt

  • 3 weeks later...
  • Author

Any help with this error?

Any help with this error?

it is pretty clear.  You have several instances of apcupsd running.  (or rather, it appears one is running and you are attempting to start another)

 

Jul 29 04:40:01 TODD-Svr apcupsd[15726]: Valid lock file for pid=1466, but not ours pid=15726

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: Valid lock file for pid=1466, but not ours pid=15727

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: apcupsd FATAL ERROR in device.c at line 71 Unable to create UPS lock file.  If apcupsd or apctest is already running,  please stop it and run this program again.

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: Valid lock file for pid=1466, but not ours pid=15727

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: apcupsd error shutdown completed

 

Stop apcupsd, then re-start it.  (apparently you tried starting it, and it complained it is already running) Or just stop the array and reboot

As far as unmenu complaining, it was not coded to deal with you swapping out disks.  Simply re-start it. (there is a button on the user-scripts page)

  • Author

Any help with this error?

it is pretty clear.  You have several instances of apcupsd running.  (or rather, it appears one is running and you are attempting to start another)

 

Jul 29 04:40:01 TODD-Svr apcupsd[15726]: Valid lock file for pid=1466, but not ours pid=15726

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: Valid lock file for pid=1466, but not ours pid=15727

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: apcupsd FATAL ERROR in device.c at line 71 Unable to create UPS lock file.  If apcupsd or apctest is already running,  please stop it and run this program again.

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: Valid lock file for pid=1466, but not ours pid=15727

Jul 29 04:40:01 TODD-Svr apcupsd[15727]: apcupsd error shutdown completed

 

Stop apcupsd, then re-start it.  (apparently you tried starting it, and it complained it is already running) Or just stop the array and reboot

 

Unsure how I could have ended up with several instances of apcupsd running, but I did remove it, reboot, and reinstall it.  No errors since. 

 

I am unclear about your comment on me "swapping out discs" in the next response.  I have never made disc changes with the server running.  There would always be a shut down/start up involved. Can you explain further?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.