apc check

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

apc check

Andre Sopczak

Hello,

 

Now it happened that the power failed and the apc started to work.

 

I was wondering if despite the errors/warning messages the apc shutdown on the Linux system worked.

 

Any comment/advice on the log file much appreciated.

 

Regards

Andre

 

May  9 17:21:31 localhost apcupsd[1538]: Power failure.

May  9 17:21:31 localhost apcupsd[12915]: Cannot exec /etc/apcupsd/apccontrol powerout: No such file or directory

May  9 17:21:31 localhost journal: 2016-05-09 17:21:31 +0200

May  9 17:21:31 localhost journal: Cannot exec /etc/apcupsd/apccontrol powerout: No such file or directory

May  9 17:21:37 localhost apcupsd[1538]: Running on UPS batteries.

May  9 17:21:37 localhost apcupsd[12916]: Cannot exec /etc/apcupsd/apccontrol onbattery: No such file or directory

May  9 18:52:07 localhost apcupsd[1538]: Battery power exhausted.

May  9 18:52:07 localhost apcupsd[1538]: Initiating system shutdown!

May  9 18:52:07 localhost apcupsd[18559]: Cannot exec /etc/apcupsd/apccontrol failing: No such file or directory

May  9 18:52:07 localhost journal: 2016-05-09 18:52:07 +0200

May  9 18:52:07 localhost journal: Cannot exec /etc/apcupsd/apccontrol failing: No such file or directory

May  9 18:52:07 localhost apcupsd[1538]: User logins prohibited

May  9 18:52:07 localhost apcupsd[18560]: Cannot exec /etc/apcupsd/apccontrol doshutdown: No such file or directory

May  9 18:58:16 localhost systemd-logind: Delay lock is active (UID 1000/andre, PID 12099/gnome-shell) but inhibitor timeout is reached.

May  9 18:58:16 localhost systemd: Reached target Sleep.

May  9 18:58:16 localhost systemd: Starting Sleep.

May  9 18:58:16 localhost systemd: Starting Hibernate...

May  9 18:58:16 localhost systemd-sleep: Suspending system...

 


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: apc check

Trevor Roydhouse
Andre Sopczak wrote:
> Any comment/advice on the log file much appreciated.

Would you like to share with us the particular Linux distribution you
are using?

 > Cannot exec /etc/apcupsd/apccontrol powerout: No such file
 > or directory

This seems pretty self-explanatory. Does the directory exist? Do the
files exist there? If not, where were they installed?

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: apc check

Andre Sopczak
Thank you.

Centos 7
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
http://linux.web.cern.ch/linux/centos7/

[root@localhost ~]# ls -ltr /etc/apcupsd
total 92
-rwxr--r--. 1 root root  3912 Aug 20  2014 apccontrol.orig
-rw-r--r--. 1 root root 12508 Aug 20  2014 apcupsd.conf~
-rw-r--r--. 1 root root 12506 Aug 20  2014 apcupsd.conf
-rwxr--r--. 1 root root   424 Sep  7  2014 changeme.orig
-rwxr--r--. 1 root root   451 Sep  7  2014 commfailure.orig
-rwxr--r--. 1 root root   452 Sep  7  2014 commok.orig
-rwxr--r--. 1 root root   423 Sep  7  2014 offbattery.orig
-rwxr--r--. 1 root root   388 Sep  7  2014 onbattery.orig
-rw-r--r--. 1 root root 12631 Sep  7  2014 apcupsd.conf.new
-rwxr--r--. 1 root root   424 Sep  7  2014 changeme
-rwxr--r--. 1 root root   451 Sep  7  2014 commfailure
-rwxr--r--. 1 root root   452 Sep  7  2014 commok
-rwxr--r--. 1 root root   423 Sep  7  2014 offbattery
-rwxr--r--. 1 root root   388 Sep  7  2014 onbattery

Cheers
André

-----Urspr√ľngliche Nachricht-----
Von: Trevor Roydhouse [mailto:[hidden email]]
Gesendet: 15 May 2016 03:26
An: Apcupsd Discussion List
Betreff: Re: [Apcupsd-users] apc check

Andre Sopczak wrote:
> Any comment/advice on the log file much appreciated.

Would you like to share with us the particular Linux distribution you are using?

 > Cannot exec /etc/apcupsd/apccontrol powerout: No such file  > or directory

This seems pretty self-explanatory. Does the directory exist? Do the files exist there? If not, where were they installed?



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: apc check

Trevor Roydhouse
Andre Sopczak wrote:
> Centos 7
> [root@localhost ~]# uname -a
> Linux localhost.localdomain 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> http://linux.web.cern.ch/linux/centos7/
>
> [root@localhost ~]# ls -ltr /etc/apcupsd
> total 92
> -rwxr--r--. 1 root root  3912 Aug 20  2014 apccontrol.orig

You are missing the apccontrol script, you only have apccontrol.orig,
hence the file not found :)


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Loading...