CentOS6.3下apcupsd自动关机后 ssh登录报电源故障 POWER FAILURE
来源:互联网 发布:中国援助朝鲜 知乎 编辑:程序博客网 时间:2024/05/22 06:13
这个是apcupsd自动关机后引起的,删除/etc/nologin文件即可。
参考:http://grokbase.com/t/centos/centos/13794mw7jx/centos-6-4-login-after-reboot-after-apcupsd-shutdown-shows-power-failure
Hi list,
just putting a new server through its automatic shutdown triggered by
the UPS / apcupsd.
All worked faultlessly, including powering up when power came back on to
the UPS.
So then I go to log in and get "POWER FAILURE" followed by
"Authentication failure" - this is on the console
via SSH I just get "POWER FAILURE" and the ssh connection drops.
So I guess the, log everyone out and stop further logins instruction is
still lurking around somewhere.
How do I regain control of my server??
Does this mean I need to boot with a rescue disk and edit some file
somewhere??
How do I prevent this re-occurring, after a perfect shutdown and
restart, only to get stymied here.
Google has lots of help for dealing with various corruptions due to
power failure - not the case here, the POST, grub, init restart
all look just fine.
TIA
Sounds like /etc/nologin; contents of which are displayed immediately
before the login session terminates. Configured within apcupsd.conf
with a configuration setting of NOLOGINDIR pointing to /etc by default;
I don't believe it can be disabled, however.
is still lurking around somewhere.
How do I regain control of my server??
Remove /etc/nologin.
somewhere??
"ssh root at host rm -f /etc/nologin" will remove it.
restart, only to get stymied here.
apcupsd should be handling this automatically when mains power is
restored. Perhaps check the package documentation / project bugtracker.
- CentOS6.3下apcupsd自动关机后 ssh登录报电源故障 POWER FAILURE
- Android 断开电源10秒后自动关机
- CentOS6.5 下SSH密钥登录详解
- ssh无密码登录报错:Agent admitted failure to sign using the key
- CentOS6.6下配置SSH免密码登录
- 在winxpsp3下用TransEdit3.5.4扫描频道自动关机故障
- 自动关机故障排除方法
- apc smart UPS下使用apcupsd注意事项
- 修复Win8下VS2010安装DevExpress后报devenv.exe assert failure错误的方法
- ssh无密码登录故障解决
- centos6.5配置SSH免密码登录
- centos6.5配置SSH免密码登录
- CentOS6.5 CentOS7 ssh免密码登录
- centos6 ssh 设置免密码登录
- centos6.5 ssh免密码登录配置
- MAC下登录SSH
- centos6.3 开启SSH
- Windows下好玩的CMD指令-----开机后自动关机
- 黑马程序员——配置JDK环境变量
- Linux 标准目录结构
- 数据结构——二叉树的遍历
- IP地址详解
- zookeeper 客户端的实现
- CentOS6.3下apcupsd自动关机后 ssh登录报电源故障 POWER FAILURE
- python实现Stack和Queue
- Java多线程编程总结
- hdoj 1870 愚人节的礼物 【简单的栈应用】
- MyEclipse为选定语句快速添加大括号
- HDU 1698-Just a Hook(线段树 成段更新)
- linux下一个定时器的使用方法
- 类的 非主动使用不会触发类的初始化操作
- 手势在ViewPager上的应用:OnFling MotionEvent e1 == null 的问题解决