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.

Couldn't locate / mount in /etc/fstab or /etc/mtab Login Error

Discussion in 'General Discussion' started by Cleyton Silva, Nov 19, 2016.

Tags:
  1. Cleyton Silva

    Cleyton Silva Active Member

    Joined:
    Aug 9, 2016
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Suzano, Brazil
    cPanel Access Level:
    Website Owner
    Can anyone help me in this problem?

    When I open CPANEL I receive the following error message:

    Code:
    Template::Exception:
        [TYPE]=[undef]
        [INFO]=[Couldn't locate / mount in /etc/fstab or /etc/mtab at /usr/local/cpanel/Cpanel/Filesys/Root.pm line 58.
    ]
        [TEXT]=[
    
    ]
    at cpanel.pl line 1240.
        cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/index.auto.tmpl", 1) called at cpanel.pl line 5224
        cpanel::cpanel::run_standard_mode() called at cpanel.pl line 847
        cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/index.html") called at cpanel.pl line 306
    
    Does anyone know what it can be and how to solve it?
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    567
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    The error message showing that the "/" partion mount point entry not added in /etc/fstab or /etc/mtab.

    To check those file you have to contact to your hosting provider as you have only cPanel Access Level.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You should be able to reproduce this issue by running the following command:

    Code:
     /usr/local/cpanel/3rdparty/bin/perl -MCpanel::Filesys::Root -le 'print Cpanel::Filesys::Root::get_root_device_path();'
    If so, review your kernel information with the following command:

    Code:
    uname -r
    Assuming this is a VPS, and the kernel is older than 042stab113.12, then it's affected by this bug:

    [OVZ-6661] `quota` is not working on latest kernel if running command not from / on simfs - bugs.openvz.org

    You'd have to contact your VPS hosting provider and ask them to update the kernel on the hardware node to address this issue. Once they do that, you can run the "/scripts/fixquotas" command on your server.

    Thank you.
     
Loading...

Share This Page