filemanager cannot open

mamadletsgo

Verified User
Joined
Mar 2, 2015
Messages
69
Location
iran,tehran
hello

My server filemanager can not be opened

This Error is displayed in the Error Log

2017:09:02-04:39:48: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:49: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:49: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:50: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:50: FileManager::doChroot(): cannot find /admin for user admin

Probably this server has been hacked and changed perimission by the hacker

What can I do to solve the problem?

thanks
 
Last edited:
hello

My server filemanager can not be opened

This Error is displayed in the Error Log



Probably this server has been hacked and changed perimission by the hacker

What can I do to solve the problem?

thanks

Does not anyone help me with this problem? :(
 
You should login via SSH to console and check your logfiles. Also check /root/.bash_history (mind the dot in front) if you see commands you did not make.

Also check if /home/admin still exists. If not, check if other /home/xxxx directory still exist and are reachable.

If /home/admin does not exist anymore, you have a problem. If it's really done by a hacker, it's a choice of either try to find everything changed and fix it or better, reinstalll the complete server if a hacker had root access.

But maybe only the /home/admin directory is deleted via the file manager by accident. Hope you have a backup too of your and your customers account.
 
You should login via SSH to console and check your logfiles. Also check /root/.bash_history (mind the dot in front) if you see commands you did not make.

Also check if /home/admin still exists. If not, check if other /home/xxxx directory still exist and are reachable.

If /home/admin does not exist anymore, you have a problem. If it's really done by a hacker, it's a choice of either try to find everything changed and fix it or better, reinstalll the complete server if a hacker had root access.

But maybe only the /home/admin directory is deleted via the file manager by accident. Hope you have a backup too of your and your customers account.

There is an admin folder
But only the file manager can not be opened and this error is logged in the server log file

2017:09:02-04:39:48: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:49: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:49: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:50: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-04:39:50: FileManager::doChroot(): cannot find /admin for user admin

What needs to be done to solve this problem?

Thanks
 
There is an admin folder
A /home/admin folder? If yes then it might also be only the file manager is giving issues. Can you reach the admin account via FTP and place files in it etc.?

You can also try this as root via SSH, can't hurt:
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh
after that, try if filemanager can access again.
 
A /home/admin folder? If yes then it might also be only the file manager is giving issues. Can you reach the admin account via FTP and place files in it etc.?

You can also try this as root via SSH, can't hurt:
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh
after that, try if filemanager can access again.

I did not solve the problem
File management does not open :(
 
an you reach the admin account via FTP and place files in it etc.?
If yes, I can't help you further, hopefully somebody else can give you a fix for this. It would also be wise to state if the problem suddenly started or if you changed anything or if this is a new installation.
 
If yes, I can't help you further, hopefully somebody else can give you a fix for this. It would also be wise to state if the problem suddenly started or if you changed anything or if this is a new installation.

Yes, I can access files via FTP

Only filemanager in admin does not open
 
File manager it is saying /admin and not /home/admin which is werid.

You should check directadmin logs in /var/logs/directadmin

Best regards
 
File manager it is saying /admin and not /home/admin which is werid.

You should check directadmin logs in /var/logs/directadmin

Best regards

error log is :

2017:09:02-16:44:53: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:53: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:53: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:54: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:54: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:55: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:58: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:58: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:59: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:44:59: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:45:00: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:45:00: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:45:01: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:45:02: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:45:03: FileManager::doChroot(): cannot find /admin for user admin
2017:09:02-16:45:04: FileManager::doChroot(): cannot find /admin for user admin
 
Maybe you need to open a support ticket to DirectAdmin Staff.
Another thing you may want to try is to run DA in Debug Mode

Best regards
 
Back
Top