Please fix your settings in config.php:

You have:

$CFG->dirroot = "/var/www/lms/km/mr";

but it should be:

$CFG->dirroot = "/var/www/lms/km_root";