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!

Website down - need assistance ASAP

Discussion in 'General Discussion' started by dzakharov, Jun 24, 2011.

  1. dzakharov

    dzakharov Registered

    Joined:
    Jun 24, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Yesterday my website has gone down and anytime someone accesses my website i get a 403 error.

    The Public HTML folder now appears completely blank. Anytime I try to upload a new file to it, I get the below. Can someone please advise how I can fix this ASAP?

    Can not change into /home2/shantibh/public_html: Permission denied at cpanel line 2821
    Carp::croak('Can not change into /home2/shantibh/public_html: Permission deni...') called at /usr/local/cpanel/Cpanel/Fileman.pm line 152
    Cpanel::Fileman::uploadfiles('dir', '/home2/shantibh/public_html', 'file-index.html-key', 'file1', 'file-index.html', '/home2/shantibh/tmp/Cpanel_Form_file.upload.Pb7J8kMYPDqipjUc', 'file2', '', ...) called at cpanel line 2821
    main::dofileman('uploadfiles', 'ARRAY(0x992f350)') called at cpanel line 1372
    eval {...} called at cpanel line 1372
    main::real_exectag('<cpanel Fileman="uploadfiles()">') called at cpanel line 3876
    main::dotag_finished_headers(0) called at cpanel line 3704
    main::cpanel_parseblock('<html>^J<head>^J<title>cPanel X</title>^J<cpanel relinclude="files/...') called at cpanel line 3612
    main::cpanel_parse('GLOB(0x97cfb14)') called at cpanel line 5121
    main::run_standard_mode() called at cpanel line 424
     
  2. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    DataCenter Provider
    As the error indicates, there seems to be an issue with permissions. Check the permissions on /home2, /home2/shantibh, and /home2/shantibh/public_html, they should be the following:

    /home2
    root:root
    0711

    /home2/shantibh
    shantibh:shantibh
    0711

    /home2/shantibh/public_html
    shantibh:nobody
    0750
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dzakharov

    dzakharov Registered

    Joined:
    Jun 24, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    How do I change the permission for

    /home2
    root:root
    0711

    /home2/shantibh
    shantibh:shantibh
    0711

    I'm not too familiar with Cpanel. I can figure out how to change /home2/shantibh/public_html (within File Manager) but not those top directories.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,518
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might do better to put in a ticket with your host. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dzakharov

    dzakharov Registered

    Joined:
    Jun 24, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    I tried but they haven't responded yet. Trying to get this fixed ASAP.
     
  6. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    DataCenter Provider
    Without root-level access (which it appears you are lacking), there's not much you can do about this error.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice