Linux
奇怪的 Ubuntu 啟動警告
我有一個 VM(基於 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
空間不足絕不是“理想的”,解決方案就在消息本身中。
init:無法創建 pty - 禁用作業的日誌記錄
init:臨時程序生成錯誤:設備上沒有剩餘空間
因為盒子可以啟動、執行
df
並尋找接近或 100% 使用率的磁碟。
如果是 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。
希望這可以幫助。