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!

How To Recover Deleted Script Folder from the Root

Discussion in 'General Discussion' started by anishgiri, Jun 4, 2015.

  1. anishgiri

    anishgiri Member

    Joined:
    Jun 18, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The root section has a folder named scripts for WHM/Cpanel and other aspects of maintaining your server for your website right? Trying this ssh command,user@domain[~] cd /scripts, it told no such file or directory.

    How can I re install/recover this script directory? Should I contact our web host provider? Or I can recover/re-install/create it easily by myself?

    I am using CENTOS 6.6 x86_64 standard. I tried to restart apache from WHM and it hangs. Now my website and whm are not showing. Maybe it hangs because the script for restarting apache was already deleted.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    1. It's first important to determine how /usr/local/cpanel/scripts (what "/scripts" links to) was deleted so it does not happen again. Did you remove it manually? Or, did you simply notice it was removed?

    2. Do you have any backups of your filesystem available so the /scripts directory can be restored?

    Thank you.
     
    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