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

Cleyton Silva

Active Member
Aug 9, 2016
26
2
3
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?
 

SysSachin

Well-Known Member
Aug 23, 2015
604
48
28
India
cPanel Access Level
Root Administrator
Twitter
Couldn't locate / mount in /etc/fstab or /etc/mtab at /usr/local/cpanel/Cpanel/Filesys/Root.pm line 58
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.