+ ÅäÔÇÁ ãæÖæÚ ÌÏíÏ
ÇáäÊÇÆÌ 1 Åáì 2 ãä 2
  1. #1
    Status
    Offline
    ÇáÕæÑÉ ÇáÑãÒíÉ Rise Company
    Engineering and Technology
    ÊÇÑíÎ ÇáÊÓÌíá
    Apr 2014
    ÇáÏæáÉ
    Egypt
    ÇáãÔÇÑßÇÊ
    4,663
    ãÚÏá ÊÞííã ÇáãÓÊæì
    10

    ÇÝÊÑÇÖí ÇáÓí ÈÇäíá Cpanel | Íá ãÔÇßá ÊÛííÑ ÇÓã Domain æ USER æ Home Directory


    ÇáÓí ÈÇäíá Cpanel | Íá ãÔÇßá ÊÛííÑ ÇÓã USER æ ÇáÕáÇÍíÇÊ Ýì Home Directory
    The directory public_html does not exist. at /usr/local/cpanel/Cpanel/EventHandler.pm
    cpanel This directory is empty. - This server has an XFS® filesystem
    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 “/home/****/etc/****/passwd” to group “mail”:
    Operation not permitted at /usr/local/cpanel/Cpanel/Email/Perms/User.pm
    Failed to chown “passwd” to group “mail



    ÇáãÔßáÉ :
    ÚäÏ ÊÛííÑ ÇáÏæãíä Çáì ÇÎÑí áäÝÓ ÍÓÇÈ cpanel ÊÍÏË ãÔßáÉ ÇÍíÇäÇ
    Çä ÚäÏ ÝÊÍ filemanager íÝÊÍ Úáì ãÓÇÑ user ÇáÏæãíä ÇáÞÏíã æáíÓ ÇáÌÏíÏ ßæÖÚ ÇÝÊÑÇÖì


    ÞÏ ÊÍÏË ÇíÖÇ ÚäÏ ÇáäÞá

    ÚäÏ äÞá ãæÞÚ ãä ßáÇæÏ áíäßÓ cloud Linux Çáì áíäßÓ Linux
    æáÇ íÍÏË ãÚ ÇáÚßÓ ! ãä áíäßÓ Çáì ßáÇæÏ !

    ÊÙåÑ åÐå ÇáãÔßáÉ ÈÓÈÈ ÇÎÊáÇÝ äÙÇã ÇáÚãá Ýì ÇáßáÇæÏ ÇáÕÇÑãÉ cage
    æÈÇáÊÇáì ÊÌÏ åÐå ÇáãæÇÞÚ áÇ ÊÝÊÍ Çæ ÊÝÊÍ Úáì ãæÇÞÚ ÇÎÑí
    ÈÓÈÈ ÇäåÇ ÊÇÎÐ username ãæÞÚ ÇÎÑ ÚäÏ äÞáåÇ Çáì ÇááíäßÓ.

    Íá ÇáãÔßáÉ :

    Íá ãÔßáÉ cpanel This directory is empty Ýì ÇáÕæÑÉ Ýì ÇáÇÚáì
    ßá ãÇ Úáíß ÝÚáå åæ ÇáÖÛØ Úáì settings Ëã ÇÎÊÑ Home Directory æÇÚãá save
    Ëã ÇÏÎá ãÑÉ ÇÎÑí æÇÎÊÑ web root æÇÚãá save
    æåÊÌÏ Çä ÇáãÔßáÉ ÇÊÍáÊ ÚäÏ ÝÊÍ file manager åíÝÊÍ Úáì public ÇáÕÍíÍ.

    -----------------------------------------------------------
    ãÈÑæß Íá ÇáãÔßáÉ :)
    -----------------------------------------------------------

    ################################

    ----------------------------------------------------------------
    ãÔßáÉ Quote æ ÇáÕáÇÍíÉ Permissions
    ----------------------------------------------------------------

    ßíÝíÉ ãÚÑÝÉ æÌæÏ ÎØÇ Çã áÇ Ýì cpanel

    * Íá ãÔßáÉ ÇáÇíãíá Ýì ÇÎÑ ÕæÑÉ Ýì ãäÊåì ÇáÓåæáÉ !!!





    ÇáãÔßáÉ :

    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


    Íá ÇáãÔßáÉ :



    ãáÍæÙÉ :
    íÌÈ Úãá ÑíÓÊÇÑÊ ááÓíÑÝÑ








    ÔÇåÏ ÇíÖÇ
    ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ Error: Failed to lock and read from file /passwd

    ÇáÓí ÈÇäÇá WHM/CPanel Íá ãÔßáÉ Warning: quota file /path/to/quota does not exist

    ÇáÓí ÈÇäÇá WHM/cPanel Íá ãÔßáÉ Filemanager íÙåÑ ÝÇÑÛ Çæ íæÒÑ ÎØÇ Wrong Username


    ÇáãÑÌÚ:
    https://www.namecheap.com/support/kn...ion-to-access/
    https://forums.cpanel.net/threads/pr...counts.525311/
    https://forums.cpanel.net/threads/ca...ccount.655947/
    https://www.thecpaneladmin.com/fix-account-permissions/

    ------------------------------------------------------------------------
    ÔÑßÉ ÑÇíÒ ááåäÏÓÉ æ ÇáÊßäæáæÌíÇ Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    ÑÞã # 1 Ýì ÎÏãÇÊ ÇáÔÑßÇÊ Business Services

    ÇÓÊÖÇÝÉ ãæÇÞÚ Web Hosting - Úãá Çíãíá ÔÑßÉ Business Emails

    ÊÕãíã ãæÞÚ ÔÑßÉ Web Design - ÊÓæíÞ ÇáßÊÑæäì Úáì ÌæÌá Google Adwords

    www.rise.company | www.rise.company/emails

    ãáÍæÙÉ : ÌãíÚ ÎÏãÇÊäÇ ãÎÕÕÉ ááÔÑßÇÊ ÝÞØ æÛíÑ ãÊÇÍÉ ááÇÝÑÇÏ
    æáíÓ áäÇ Çì ãäÊÌÇÊ Çæ ÕíÇäÉ äåÇÆíÇ! íÑÌì ÇáÇäÊÈÇå Çáì Ðáß.



  2. #2
    Status
    Offline
    ÇáÕæÑÉ ÇáÑãÒíÉ Rise Company
    Engineering and Technology
    ÊÇÑíÎ ÇáÊÓÌíá
    Apr 2014
    ÇáÏæáÉ
    Egypt
    ÇáãÔÇÑßÇÊ
    4,663
    ãÚÏá ÊÞííã ÇáãÓÊæì
    10

    ÇÝÊÑÇÖí ÑÏ: ÇáÓí ÈÇäíá Cpanel | Íá ãÔÇßá ÊÛííÑ ÇÓã Domain æ USER æ Home Directory

    This is a simple bash script I wrote to fix the permissions and ownership of files within a cpanel account. To use, simply copy the script your server, chmod 755, and pass the usernames as arguments:
    ./fixperms user1 user2 user3
    You can also run a server-wide loop like this:
    for i in `ls -A /var/cpanel/users` ; do ./fixperms $i ; done
    Below is the script, but I recommend downloading it from here to ensure that the formatting is correct.


    ßæÏ:
    #!/bin/bash
    # Script to fix permissions of accounts
    # Written by: Vanessa Vasile 5/13/10
    # http://thecpaneladmin.com
    
    if [ "$#" -lt "1" ];then
            echo "Must specify user"
            exit;
    fi
    
    USER=$@
    
    for user in $USER
    do
    
        HOMEDIR=$(egrep "^${user}:" /etc/passwd | cut -d: -f6)
    
        if [ ! -f /var/cpanel/users/$user ]; then
            echo "$user user file missing, likely an invalid user"
    
        elif [ "$HOMEDIR" == "" ];then
            echo "Couldn't determine home directory for $user"
    
    
        else
    
            echo "Setting ownership for user $user"
    
            chown -R $user:$user $HOMEDIR
            chmod 711 $HOMEDIR
            chown $user:nobody $HOMEDIR/public_html $HOMEDIR/.htpasswds
            chown $user:mail $HOMEDIR/etc $HOMEDIR/etc/*/shadow $HOMEDIR/etc/*/passwd
    
            echo "Setting permissions for user $USER"
    
            find $HOMEDIR -type f -exec chmod 644 {} \; -print
            find $HOMEDIR -type d -exec chmod 755 {} \; -print
            find $HOMEDIR -type d -name cgi-bin -exec chmod 755 {} \; -print
            find $HOMEDIR -type f \( -name "*.pl" -o -name "*.perl" \) -exec chmod 755 {} \; -print
    
            chmod 750 $HOMEDIR/public_html
    
            if [ -d "$HOMEDIR/.cagefs" ]; then
                chmod 775 $HOMEDIR/.cagefs
                chmod 700 $HOMEDIR/.cagefs/tmp
                chmod 700 $HOMEDIR/.cagefs/var
                chmod 777 $HOMEDIR/.cagefs/cache
                chmod 777 $HOMEDIR/.cagefs/run
            fi
        fi
    done
    ------------------------------------------------------------------------
    ÔÑßÉ ÑÇíÒ ááåäÏÓÉ æ ÇáÊßäæáæÌíÇ Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    ÑÞã # 1 Ýì ÎÏãÇÊ ÇáÔÑßÇÊ Business Services

    ÇÓÊÖÇÝÉ ãæÇÞÚ Web Hosting - Úãá Çíãíá ÔÑßÉ Business Emails

    ÊÕãíã ãæÞÚ ÔÑßÉ Web Design - ÊÓæíÞ ÇáßÊÑæäì Úáì ÌæÌá Google Adwords

    www.rise.company | www.rise.company/emails

    ãáÍæÙÉ : ÌãíÚ ÎÏãÇÊäÇ ãÎÕÕÉ ááÔÑßÇÊ ÝÞØ æÛíÑ ãÊÇÍÉ ááÇÝÑÇÏ
    æáíÓ áäÇ Çì ãäÊÌÇÊ Çæ ÕíÇäÉ äåÇÆíÇ! íÑÌì ÇáÇäÊÈÇå Çáì Ðáß.



ÇáãæÇÖíÚ ÇáãÊÔÇÈåå

  1. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ ÊÇÎÑ / ÈØÁ áæÍÉ ÇáÊÍßã cpanel áÏæãíä ãÍÏÏ ÝÞØ
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 14-03-2022, 17:36
  2. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ Partial Backups - home backup failed network error
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 21-12-2021, 19:59
  3. ÇáÓí ÈÇäíá Cpanel | äÞá ãæÞÚ ÈÏæä ÈÇß ÇÈ Move cPanel with out backup
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 21-12-2021, 18:09
  4. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ ÈØÆ Delay / Slow ÝÊÍ ÇáÓí ÈÇäíá cPanel® is connecting
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 03-12-2021, 04:35
  5. Óí ÈÇäíá cPanel | åá íãßä ÊÛííÑ ÑÇÈØ ÇáÏÎæá Can I change cPanel login url
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÞÓã ÍãÇíÉ Whm / Cpanel
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 03-03-2021, 23:14

ÇáãÝÖáÇÊ

ÇáãÝÖáÇÊ

ÖæÇÈØ ÇáãÔÇÑßÉ

  • áÇ ÊÓÊØíÚ ÅÖÇÝÉ ãæÇÖíÚ ÌÏíÏÉ
  • áÇ ÊÓÊØíÚ ÇáÑÏ Úáì ÇáãæÇÖíÚ
  • áÇ ÊÓÊØíÚ ÅÑÝÇÞ ãáÝÇÊ
  • áÇ ÊÓÊØíÚ ÊÚÏíá ãÔÇÑßÇÊß
  •