奇怪的 Ubuntu 启动警告

奇怪的 Ubuntu 启动警告

我有一台虚拟机(基于 Xen),我可以启动启动机器,但启动过程中出现一些警告。

正常吗?如果不正常,如何解决?

md: Scanned 0 and added 0 devices.                                                                                
md: autorun ...                                                                                                   
md: ... autorun DONE.                                                                                             
EXT3-fs: barriers not enabled                                                                                     
kjournald starting.  Commit interval 5 seconds                                                                    
EXT3-fs (xvda): mounted filesystem with writeback data mode                                                       
VFS: Mounted root (ext3 filesystem) readonly on device 202:0.                                                     
devtmpfs: mounted                                                                                                 
Freeing unused kernel memory: 688k freed                                                                          
Write protecting the kernel read-only data: 12288k                                                                
Freeing unused kernel memory: 560k freed                                                                          
Freeing unused kernel memory: 780k freed                                                                          
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
init: ureadahead main process (1331) terminated with status 5                                                     
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
init: Failed to create pty - disabling logging for job                                                            
init: Temporary process spawn error: No space left on device                                                      
FATAL: Module nf_conntrack_ftp not found.                                                                         
FATAL: Module nf_nat_ftp not found.                                                                               
FATAL: Module nf_conntrack_netbios_ns not found.                                                                  
fsck from util-linux 2.20.1                                                                                       
mountall: Disconnected from Plymouth                                                                              
/dev/xvda: clean, 195668/2653056 files, 1402362/6160384 blocks               

当我df -h启动后运行时,它是

DF-H

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda        24G  6.0G   17G  27% /
devtmpfs        493M  4.0K  493M   1% /dev
none             99M  180K   99M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            494M     0  494M   0% /run/shm

答案1

空间耗尽永远不是“理想的”情况,解决方案就在消息本身中。

init:无法创建 pty - 禁用作业
init 的日志记录:临时进程生成错误:设备上没有剩余空间

因为该盒子可以启动、运行df并查找接近或达到 100% 利用率的磁盘。

答案2

如果是Ubuntu,那么可以全部忽略。

"init: Failed to create pty - disabling logging for job"

这是 Ubuntu 12.04 的一个已知错误

这个:

FATAL: Module nf_conntrack_ftp not found.                                                                         
FATAL: Module nf_nat_ftp not found.                                                                                
FATAL: Module nf_conntrack_netbios_ns not found. 

我假设您正在使用自定义 Xen 自定义 domU 或类似的内核,要解决此问题,您可以删除 uwf,重新编译内核或调整 /etc/default/ufw 中的 IPT_MODULES。

希望这可以帮助。

相关内容