حل مشكلة لا يمكن انشاء ايميل Error: Failed to lock and read from file /passwd”
Failed to chown “/home/****/etc/****/passwd” to group “mail”:
Error: Failed to lock and read from file “/passwd”: “Permission denied”
Operation not permitted at /usr/local/cpanel/Cpanel/Email/Perms/User.pm
Could not open “/home/yoursite/etc/yoursite.com/passwd” as “yoursite”: Permission denied
How to fix Error You do not have permission to access - quota does not exist; skipping
Error: Failed to lock and read from file - following error: Permission denied
[uapi] Quota file does not exist; skipping - The system failed to lock the file
Script to Fix Account Permissions - can't create any emails of any of my clients
خطا عند انشاء الايميلات Failed to chown “passwd” to group “mail
/etc/passwd file corrupted
-----------------------------------------------------
المشكلة :
-----------------------------------------------------
Error: Failed to lock and read from file “****/passwd”: “Permission denied”. (XID 6tr2bu) The system failed to lock the file “******/passwd” (as EUID: 1112, EGID: 1114 1114) because of the following error: Permission denied
-----------------------------------------------------
حل المشكلة :
-----------------------------------------------------
عند عمل repair للايميلات Repair Mailbox Permissions Rebuild Mail Databases and Fix Permissions
هيظهر لك خطا Failed to chown ومكتوب بجانبه مسار الملف الى به الخطا لليوزر المحدد
Failed to chown “/home/
clientsite/etc/
clientsite.com/passwd” to group “mail”: Operation not permitted at /usr/local/cpanel/Cpanel/Email/Perms/User.pm line 308
عند الذهاب الى هذا الملف ومحاوله فتحه هيظهر لك خطا فى الصلاحية
Could not open “/home/yoursite/etc/yoursite.com/passwd” as “yoursite”: Permission denied
كل ما عليك فعله هو حذف هذا الملف وهيتولد واحد جديد تلقائيا ولكن ملف سليم بدون مشكلة فى الصلاحيات
والافضل عمل rename له بوضع .bk فى نهايته كما فى الصورة
ثم اذهب وعمل ايميل جديد وهتجد ان المشكلة تم حلها 100 %
ارجع لنفس المسار وهتجد ان ملف جديد تم انشاءه تلقائيا بعد انشاء الايميل الجديد
للمزيد من التفاصيل عن الملف من هنا
https://www.cyberciti.biz/faq/unders...d-file-format/
/etc/passwd file no need to worries as its not having password, the /etc/passwd file
having user name uid,gid and home dir information, the password is stored in the /etc/shadow and its in encrypted format
ملف passwd file لا يحتوى على باسورد ولكن information فقط
لن يحدث شىء للايميلات و لا الباسورد لن يحدث لها شىء ايضا
والباسوردات موجودة فى ملف shadow مشفرة .
الخلاصة :
حذف ملف passwd file امن تماما ولن تواجهك اى مشكلة اطلاقا
ملحوظة :
تم تجربة هذه الطريقة وهى تعمل 100 %
تم تجربة العشرات من الحلول جميعها فشل !!!
فلا تحاول وتضيع وقتك بدون فائدة .
شاهد من هنا
السي بانيل Cpanel | حل مشاكل تغيير اسم Domain و USER و Home Directory
مرجع:
https://www.cyberciti.biz/faq/unders...d-file-format/
https://security.stackexchange.com/q...osting-account
https://docs.cpanel.net/knowledge-ba...eation-errors/
https://docs.cpanel.net/knowledge-ba...est-practices/
https://www.quora.com/Can-my-hosting...Panel-password
https://linuxize.com/post/etc-passwd-file/
المفضلات