Last login: Sat Aug 10 15:49:08 2024 from 46.35.65.100
root@cp:~# chown -R mysql:mysql /var/lib/mysql
root@cp:~# chmod -R 0660 /var/lib/mysql
root@cp:~#
the permission set of your server is probaly completly fu*ked up. The commands above does not provide any output, that’s fine.
Please keep in mind, that you should have a decent knowledge how to run a server, we do not have enough ressources to teach you so and its also not the idea behind hestia.
Please check for a paid sysadmin which can help you out or stick to a shared hosting provider.
Please tell me how can I login to hestiacp control panel. At least I will make a manual backup of the files. Then I will make a new hestiacp control panel. I don’t have enough experience.
Can you help me give me any commands that I can use to access the hestiacp control panel?
I think you need to follow a different solution. @Raphael is very correct. The permissions on several (not just one) has not been functioning differently. The apparmor package is creating a huge problem on your system. Because of this, you had multiple errors.
I think the best for you is to find a different provider, who gives you a VPS plus several snapshots. The suggestion of @Raphael is correct, to make backup an drestore, but that will help you only temporary.
While updating or managing, many errors like this will happen. As you are a beginner and have very little knowledge, you need snapshots of the whole server after you have configured.
If you have several snapshots available to restore the whole server (not just user data), then you can reset the whole server and all the data will be inside, if any.
Just a backup and restore will reset the user data. But twhat will happen when the server is screwed up due to some reasons? That is where snapshots will come to rescue you. Better would be to have five snapshots possibility. They will costs some money but it will be little as compared to the loss of tiome, money and energy you will have to pour in at a later date when many things are messed up like now.
So I advice you to reinstall the entire VPS again and start from scratch, at least for now.
The above commands will not give any output. It will simply make sure that the permissions and ownership of the directory mysql is correct. This was necessary because the log file had showed error of permissions.
But now, you cannot loggin and that is totally different error.
You will save a lot of time if you reinstall the entire VPS to new. Then make sure to restore the backups.
Now, you should make backups from SSH of each individual user and download them. Then reinstall the VPS and restore all the backups.