[initandlisten] ERROR: Insufficient free space for journal files
[initandlisten] Please make at least 3379MB available in /var/lib/mongo/journal or use --smallfiles
[initandlisten]
[initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating
dbexit:
[initandlisten] shutdown: going to close listening sockets...
[initandlisten] shutdown: going to flush diaglog...
[initandlisten] shutdown: going to close sockets...
[initandlisten] shutdown: waiting for fs preallocator...
[initandlisten] shutdown: lock for final commit...
[initandlisten] shutdown: final commit...
[initandlisten] shutdown: closing all files...
[initandlisten] closeAllFiles() finished
[initandlisten] journalCleanup...
[initandlisten] removeJournalFiles
[initandlisten] shutdown: removing fs lock...
dbexit: really exiting now
ثم عندما أقوم بتنفيذ الأمر التالي:
service mongod status
تظهر هذه الرسالة:
mongod dead but subsys locked
كيف يمكنني معالجة مشاكل mongod dead but subsys locked و Insufficient free space for journals, terminating ؟
السؤال
Tamim Fahed
قمت بتحميل mongodb على الخادم بنظام CentOS وقمت بإنشاء الإعدادات ضمن ملف mongod.conf كالتالي:
logpath=/var/log/mongo/mongod.log port=27017 dbpath=/var/lib/mongo
وقمت بتشغيلها من خلال الأوامر:
service mongod start mongo
لكن بعد بضعة أيام ظهر الخطأ التالي:
[initandlisten] ERROR: Insufficient free space for journal files [initandlisten] Please make at least 3379MB available in /var/lib/mongo/journal or use --smallfiles [initandlisten] [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating dbexit: [initandlisten] shutdown: going to close listening sockets... [initandlisten] shutdown: going to flush diaglog... [initandlisten] shutdown: going to close sockets... [initandlisten] shutdown: waiting for fs preallocator... [initandlisten] shutdown: lock for final commit... [initandlisten] shutdown: final commit... [initandlisten] shutdown: closing all files... [initandlisten] closeAllFiles() finished [initandlisten] journalCleanup... [initandlisten] removeJournalFiles [initandlisten] shutdown: removing fs lock... dbexit: really exiting now
ثم عندما أقوم بتنفيذ الأمر التالي:
service mongod status
تظهر هذه الرسالة:
mongod dead but subsys locked
كيف يمكنني معالجة مشاكل mongod dead but subsys locked و Insufficient free space for journals, terminating ؟
2 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.