Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

403 Forbidden and Permission denied

Discussion in 'General Discussion' started by JerichoHours1, Feb 15, 2017.

  1. JerichoHours1

    JerichoHours1 Registered

    Joined:
    Feb 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Philippines
    cPanel Access Level:
    Website Owner
    Greetings!

    I was uploading a .zip file to my website, after it was finished with the upload I returned to my home directory and everything looks like this (.htaccess is also missing for some reason):
    CPANEL ERROR.png

    I checked the error log and it showed this

    Code:
    [Wed Feb 15 21:57:32 2017] [crit] [client 124.106.138.138] (13)Permission denied: /home/count1n/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://counting-hours.com/
    [Wed Feb 15 21:57:32 2017] [crit] [client 124.106.138.138] (13)Permission denied: /home/count1n/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://counting-hours.com/
    [Wed Feb 15 21:57:32 2017] [crit] [client 124.106.138.138] (13)Permission denied: /home/count1n/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    [Wed Feb 15 21:57:32 2017] [crit] [client 124.106.138.138] (13)Permission denied: /home/count1n/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    and;
    A warning occurred while processing this directive.

    Code:
    Failed to save cache file “/home/count1n/.cpanel/nvdata.cache” because of an error: (XID hszkrf) The system failed to create the file “/home/count1n/.cpanel/nvdata.cache.tmp.38947426” with permissions “0640” (EUID: “2089”; EGID: “2089”) because of an error: Permission denied at /usr/local/cpanel/Cpanel/NVData.pm line 119.
     at /usr/local/cpanel/Cpanel/NVData.pm line 119.
        Cpanel::NVData::catch {...} (Cpanel::Exception::IO::FileCreateError=HASH(0x9dc47a0)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 103
        Try::Tiny::try(CODE(0x9daa0c0), Try::Tiny::Catch=REF(0x9ccd978)) called at /usr/local/cpanel/Cpanel/NVData.pm line 121
        Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 235
        Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 259
        Cpanel::NVData::_get("xmaingroupsorder") called at /usr/local/cpanel/Cpanel/API/NVData.pm line 21
        Cpanel::API::NVData::get(Cpanel::Args=HASH(0x9dc4098), Cpanel::Result=HASH(0x9dc3e58)) called at /usr/local/cpanel/Cpanel/API.pm line 284
        Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 356
        eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 356
        Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x9dc3e58), CODE(0x9dc4230)) called at /usr/local/cpanel/Cpanel/API.pm line 284
        Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x9dc4098), Cpanel::Result=HASH(0x9dc3e58), "NVData", "get") called at /usr/local/cpanel/Cpanel/API.pm line 142
        Cpanel::API::execute("NVData", "get", HASH(0x9d580e8)) called at /usr/local/cpanel/Cpanel/Template/Plugin/CPDefault.pm line 59
        Cpanel::Template::Plugin::CPDefault::_execute_or_die("NVData", "get", HASH(0x9d580e8)) called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/get_application_from_available_applications_macro.html.tt line 2
        eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/get_application_from_available_applications_macro.html.tt line 2
        eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/get_application_from_available_applications_macro.html.tt line 5
        Template::Provider::__ANON__(Template::Context=HASH(0x9ccc768)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
        Template::Document::process(Template::Document=HASH(0x9d57f68), Template::Context=HASH(0x9ccc768)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321
        Template::Context::process(Template::Context=HASH(0x9ccc768), "_assets/get_application_from_available_applications_macro.htm"...) called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/master.html.tt line 89
        eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/master.html.tt line 16
        Template::Provider::__ANON__(Template::Context=HASH(0x9ccc768)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
        Template::Document::process(Template::Document=HASH(0x9da9a60), Template::Context=HASH(0x9ccc768)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321
        Template::Context::process(Template::Context=HASH(0x9ccc768), "_assets/master.html.tt", HASH(0x9cce528), "localize me!") called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 409
        Template::Context::include(Template::Context=HASH(0x9ccc768), "_assets/master.html.tt", HASH(0x9cce528)) called at /usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.html.tt line 21
        eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.html.tt line 16
        Template::Provider::__ANON__(Template::Context=HASH(0x9ccc768)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
        Template::Document::process(Template::Document=HASH(0x9ccf1c8), Template::Context=HASH(0x9ccc768)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321
        Template::Context::process(Template::Context=HASH(0x9ccc768), Template::Document=HASH(0x9ccf1c8)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
        Template::Service::process(Template::Service=HASH(0x9ccc228), "/usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.ht"..., HASH(0x8df3540)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
        Template::process(Template=HASH(0x9ccc378), "/usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.ht"..., HASH(0x8df3540), SCALAR(0x21d5240)) called at /usr/local/cpanel/Cpanel/Template.pm line 435
        Cpanel::Template::process_template("cpanel", HASH(0x8df3540), HASH(0x8af8348)) called at cpanel.pl line 1206
        cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/stats/errlog.ht"..., 1) called at cpanel.pl line 5197
        cpanel::cpanel::run_standard_mode() called at cpanel.pl line 862
        cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/stats/errlog.html.tt") called at cpanel.pl line 332
    
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,769
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    While in File Manager, there's a Settings menu, top right corner with an option to "Show Hidden Files" If you select that your .htaccess file may be viewable. Although I suspect it's already enabled.

    You might want to speak with your Hosting Provider about the issue with files. Just uploading a zip file wouldn't make a mess like that. If you unpacked something from that zip that was malicious, maybe.
     
  3. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Its a clean permissions issue and look like you have unzipped a cpanel backup file ? There is a script which fixes the permissions for the files. Your hosting provider should help you out with it.
     
  4. JerichoHours1

    JerichoHours1 Registered

    Joined:
    Feb 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Philippines
    cPanel Access Level:
    Website Owner
    Okay guys, thank you. I've already contacted my hosting's support team, but they really are slow.
     
Loading...

Share This Page