ERPNext VM internal server error

Please post some error traceback.

Also check if your mariadb service is running or not by this command

systemctl status mariadb

image

here is the /var/lib/msql/mysql-error.log file

image

it looks like database is not running.
the command to check is

systemctl status mariadb

and not sysctl status mariadb

it says systemctl command not found

try

service mariadb status

i try it say
mariadb unrecognized service

replace mariadb with mysql instead,
it should be like this

service mysql status

which OS are you using?

MariaDB is stopped
i use Ubuntu 14.04

you can follow these instructions

it says you have to run two commands
first is

mysqld --tc-heuristic-recover=ROLLBACK

then restart mysql service by running

service mysql start

1 Like

image

try to start mysql after that by running

service mysql start

image

can you run the commands as root and see how it goes?
repeat both two commands

image

Can you show the output for

su [it will ask you for the root password]
tail -n 20 /var/log/mysql/error.log
tail -n 5 /home/frappe/frappe-bench/logs/*.log

1 Like

Authentication failure
i don’t know the root password.

here is the output of tail -n 5 /home/frappe/frappe-bench/logs/*.log
image

Here is the output of tail -n 20 /var/log/mysql/error.log
image