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!

x / x2 theme disappear after upcp

Discussion in 'General Discussion' started by hostmedic, Oct 24, 2006.

  1. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    Every night the x theme disappears.

    I end up having to pull it from another server and then untarring it
    ready to setup a cron for this untar

    kinda stinks - any suggestions ?

    stable build
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    404 not found

    Not Found

    The server was not able to find the document (./frontend/x2/index.html) you requested
    Please check the url and try again. You might also want to report
    this error to your webhost.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    x theme disappearing... recovery method

    It appears that part of the problem was the level of simlinks in the 'x' directory:

    root@ [/usr/local/cpanel/base/frontend/x]# ls -la
    total 204
    drwxr-xr-x 45 root wheel 4096 Oct 24 12:24 ./
    drwxr-xr-x 4 root root 4096 Oct 3 13:02 ../
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 acart/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 addon/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 addoncgi/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 backup/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 branding/
    -rw-r--r-- 1 root wheel 1206 Oct 24 12:24 branding.conf
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 cart/
    drwxr-xr-x 2 root wheel 4096 Oct 24 02:56 cells/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 cgi/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 chat/
    lrwxrwxrwx 1 root wheel 24 Oct 6 01:26 confmail.jpg -> ../x/ima ges/confmail.jpg
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 contact/
    drwxr-xr-x 4 root wheel 4096 Aug 13 2005 cpanelpro/
    -rw-r--r-- 1 root wheel 2146 Oct 24 12:24 .cpanelsync
    -rw-r--r-- 1 root wheel 215 Oct 24 12:24 .cpanelsync.md5s
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 cron/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 denyip/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 diskusage/
    -rw-r--r-- 1 root wheel 0 Oct 24 12:24 dynamicbranding
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 err/
    lrwxrwxrwx 1 root wheel 8 Oct 24 12:24 fan -> ../x/fan
    lrwxrwxrwx 1 root wheel 38 Oct 24 02:56 fantastico -> /usr/local /cpanel/3rdparty/fantastico//
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 files/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 fp/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 ftp/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 gpg/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 htaccess/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 images/
    lrwxrwxrwx 1 root wheel 15 Oct 24 12:24 index.html -> ../x/index .html
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 indexmanager/
    lrwxrwxrwx 1 root wheel 21 Oct 24 12:24 interchange.html -> ../x /interchange.html
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 js/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 logmanager/
    lrwxrwxrwx 1 root wheel 16 Oct 24 12:24 logout.html -> ../x/logo ut.html
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 mail/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 mainicons/
    lrwxrwxrwx 1 root wheel 17 Oct 24 12:24 manpage.html -> ../x/man page.html
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 mime/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 net/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 park/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 passwd/
    lrwxrwxrwx 1 root wheel 21 Oct 24 12:24 perlmodules.html -> ../x /perlmodules.html
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 psql/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 raw/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 resellers/
    drwxr-xr-x 2 root wheel 4096 Oct 24 02:56 rvskin/
    lrwxrwxrwx 1 root wheel 12 Oct 24 02:31 search -> ../x/search/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 setlang/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 sql/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 ssl/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 statmanager/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:25 stats/
    drwxr-xr-x 2 root wheel 4096 Aug 23 2005 statselect/
    lrwxrwxrwx 1 root wheel 16 Oct 24 12:24 status.html -> ../x/stat us.html
    -rw-r--r-- 1 root wheel 1344 Oct 24 12:24 stdfooter.html
    -rw-r--r-- 1 root wheel 6236 Oct 24 12:24 stdheader.html
    lrwxrwxrwx 1 root wheel 14 Oct 24 12:24 style.css -> ../x/style. css
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 subdomain/
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 submit/
    lrwxrwxrwx 1 root wheel 23 Oct 24 12:24 switchaccount.html -> .. /x/switchaccount.html
    lrwxrwxrwx 1 root wheel 21 Oct 24 12:24 switchtheme.html -> ../x /switchtheme.html
    drwxr-xr-x 2 root wheel 4096 Oct 24 12:24 telnet/
    lrwxrwxrwx 1 root wheel 22 Oct 24 12:24 webmaillogin.html -> ../ x/webmaillogin.html
    lrwxrwxrwx 1 root wheel 9 Oct 24 12:24 Xver -> ../x/Xver
    root@ [/usr/local/cpanel/base/frontend/x]#

    We have corrected this issue by using the following commands:
    PHP:
    /scripts/updatenow
    cd 
    /root/
    mkdir theplanet
    cd theplanet
    /
    wget http://layer2.cpanel.net/perl587installer.tar.gz
    tar -zxvf perl587installer.tar.gz
    cd perl587installer
    ./install
    /scripts/perlinstaller --force Mail::SpamAssassin
    /scripts/perlinstaller --force Net::DNS
    /scripts/perlinstaller --force List::Util
    /usr/local/cpanel/bin/checkperlmodules
    /usr/local/cpanel/bin/rrdtoolinstall --force
    /scripts/upcp --force
    /scripts/fixeverything
    cd 
    /usr/local/cpanel/base/frontend/
    mv x x.old
    Then we copied over the correct 'x' structure from a cpanel test server. Once the issue was corrected we reran '/scripts/upcp' to make sure that the issue would not reoccur.
     
    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