我有一台K370主机,不晓得什么原因根目录满。清理根目录到96%后,可以完成作业。但是无法从本机终端login,从别的远程终端都可以login。显示信息是No utmp entry. You must exec "login" from the lowest level "sh". 请问,我能否在不影响作业运行的前提下面,解决这个问题?
jinhg 回复于:2002-07-17 18:42:19 |
建一个空的utmp文件 |
albert 回复于:2002-07-17 18:44:24 |
从别的远程终端rlogin到你的主机上,然后尝试下面的操作。 # mv /etc/utmp /etc/utmp.bad # touch /etc/utmp # vi /etc/inittab ==> change the line that has cons:123456:respawn .... to cons:123456ff ..... # init q # vi /etc/inittab ==> change the previous line that you've edit back to what it was before .. cons:123456:respawn ... # init q 如果还不行。 你可以到下列网址查找相关信息。 http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xac6d7e990647d4118fee0090279cd0f9,00.html |
eila 回复于:2002-07-18 10:50:39 |
多谢楼上两位指点,现在好了,谢谢。:) |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/