sco unix No utmp entry. You must exec "LOGIN" from the lowest level "sh"
2007-05-01 12:47
981 查看
when i use a user telnet the sco unix server,with the error is No utmp entry. You must exec "LOGIN" from the lowest level "sh".just do this can solution this error
The problem comes if utmp or wtmp file becomes corrupted . You need to initialize these and reboot the system to correct the error.
These files are log files and can be initialized without affecting the system, as long as you reboot the system after truncating the files. Perform these steps:
1. Bring the system into System Maintenance mode.
2. Make copies of the files /etc/utmp, /etc/utmpx, /etc/wtmp, and
/etc/wtmpx before proceeding with the next step.
3. Delete the contents of these files by executing the following
commands:
# >; /etc/utmp
# >; /etc/wtmp
# >; /etc/utmpx
# >; /etc/wtmpx
4. Shutdown the system:
# shutdown -y -g0
Restart the system
The problem comes if utmp or wtmp file becomes corrupted . You need to initialize these and reboot the system to correct the error.
These files are log files and can be initialized without affecting the system, as long as you reboot the system after truncating the files. Perform these steps:
1. Bring the system into System Maintenance mode.
2. Make copies of the files /etc/utmp, /etc/utmpx, /etc/wtmp, and
/etc/wtmpx before proceeding with the next step.
3. Delete the contents of these files by executing the following
commands:
# >; /etc/utmp
# >; /etc/wtmp
# >; /etc/utmpx
# >; /etc/wtmpx
4. Shutdown the system:
# shutdown -y -g0
Restart the system
相关文章推荐
- 解决 No utmpx entry. You must exec "login" from the lowest level "shell".
- 关于异常“The specified child already has a parent. You must call removeView"的解决(举例说明,附源码)
- Ubuntu 中Codelite出现No executable file specified. Use the "file" or "exec-file" command
- 安卓开发——报错:You must specifiy a layout in the include tag: <include layout="@layout/layoutID" />
- 关于异常“The specified child already has a parent. You must call removeView"的解决(举例说明,附源码)
- 关于异常“The specified child already has a parent. You must call removeView"的解决(举例说明,附源码)
- CodeIgniter报错: You must use the "set" method to update an entry
- 关于异常“The specified child already has a parent. You must call removeView"的解决
- 错误 the type "xxxx" is defined in an assembly that is not refernced.You must add a reference to assem
- The Contents.json describing the image set "BG_Email_Textfield.imageset" must start with a top level
- Logon: "You must be granted the Allow log on through the Terminal (or Remote Desktop) Services Right
- viewpage:The specified child already has a parent. " + "You must call removeView() on the child's pa
- cxf 异常: No namespace on "html" element. You must send a SOAP request
- No entry for terminal type "unknown"的解决方法
- How to avoid Excel from prompting "The file you are trying to open, , is in a different format than specified by the file extension"? (转)
- Android中String.xml: The reference to entity "timestamp" must end with the ';' delimiter
- The "Exec" task needs a command to execute,[小问题,大麻烦,vs2005的貌似BUG的设定]
- struts2—from标签中 theme="simple" 用法
- The reference to entity "characterEncoding" must end with the ';' delimiter
- Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>