AIX wall message: WARNING!!! The system is now operating with a power problem. This message will be walled every 12 hours. Remove this crontab entry after the problem is resolved

An AIX system displayed this message

Broadcast message from root@aix (tty) at 12:00:01 … rc.powerfail:2::WARNING!!! The system is now operating with a power problem. This message will be walled every 12 hours. Remove this crontab entry after the problem is resolved.

This message is called from cron at 12:00PM everyday

root@aix:/ # crontab -l
0 00,12 * * * wall%rc.powerfail:2::WARNING!!! The system is now operating with a power problem. This message will be walled every 12 hours. Remove this crontab entry after the problem is resolved.

I did this to check if there is still a problem

root@aix:/ # sh /etc/rc.powerfail > /dev/console 2>&1

Broadcast message from root@aix (pts/1) at 12:18:49 … rc.powerfail: init has received a SIGPWR signal. The system currently running under normal power conditions. Execute rc.powerfail -h as the root user for more information. ^G^G^G^G

According to the response shown above. My system is running under normal power conditions. Here is the help for the script

root@aix:/ # sh /etc/rc.powerfail -h
rc.powerfail:
This command is used to handle power problems with the system.
There are several different states that the system can be in when
the signal SIGPWR is received by init. The action taken will be
determined by the value of the power status. The following table
shows the values of the power status and action taken.
Power
Status Indication
—— —————————————————————-
0 System is running normally, there is no action taken.
1 A non-critical cooling problem exists.
2 A non-critical power problem exists.
3 System facing a critical condition. Will start shutdown in 10 minutes.
4 System facing a severe condition. Will be halted in the next 20 seconds.
255 ERROR with the machstat command, system shutdown starts immediately. ^G^G^G^G

Other codes

root@aix:/ # sh /etc/rc.powerfail > /dev/console 2>&1

Broadcast message from root@aix (pts/1) at 14:58:56 …

rc.powerfail: init has received a SIGPWR signal.
The system is now operating with a non-critical power problem.
Execute rc.powerfail -h as the root user for more information. ^G^G^G^G

Advertisement