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.

public_html not accessible

Discussion in 'General Discussion' started by erobs, Dec 3, 2003.

  1. erobs

    erobs Well-Known Member

    Nov 24, 2002
    Likes Received:
    Trophy Points:
    The public_html file turned up missing on one of the domains on my server. It seems to just be locked or something of the sort. If you do a ls from the /home/domain directory you it shows, but it does not show with a ls -l.

    If you try and access it you get:
    root@srv [/home/domain]# cd public_html
    bash: cd: public_html: Input/output error
    root@srv [/home/domain]#

    The dir does seem to exist, if I try to recreated it gives the following error:

    root@srv [/home/domain]# mkdir public_html
    mkdir: cannot create directory `public_html': File exists
    root@srv [/home/domain]#

    Seems it might have happened during a reboot last evening.

    I can restore a backup of the domain, but would like to know what happend and not have to lose 24 hours of info.

    Thanks for any thoughts.
  2. GOT

    GOT Get Proactive!

    Apr 8, 2003
    Likes Received:
    Trophy Points:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Try chowning it back to the user. Try chmodding it to 777.

Share This Page