Hello, ERPNext World!
I’m trying to install ERPNext for the first time, and I’ve run into problems. I’m using a Ubuntu 16.04 LTS virtual machine, with Python 2.7.12.
I first tried a manual setup. Bench was installed fine, but bench init frappe-bench
failed.
("bench init frappe-bench" error)
[…]
installing frappe
INFO:bench.app:installing frappe
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-1rHjoD/mysql-python/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
[…]
File “/home/ric/frappe/bench-repo/bench/app.py”, line 103, in install_app
find_links=find_links))
File “/home/ric/frappe/bench-repo/bench/utils.py”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe
Then I tried the easy install. After a sudo python install.py --develop
, the Ansible playbook develop/install.yml
failed.
("sudo python install.py --develop" errors)
TASK [apt-get install] *********************************************************
failed: [localhost] (item=[u’mariadb-server’, u’mariadb-client’, u’mariadb-common’, u’libmariadbclient-dev’]) => {“cache_update_time”: 1486668416, “cache_updated”: true, “failed”: true, “item”: [“mariadb-server”, “mariadb-client”, “mariadb-common”, “libmariadbclient-dev”], “msg”: “‘/usr/bin/apt-get -y -o "Dpkg::Options::=–force-confdef" -o "Dpkg::Options::=–force-confold" install ‘mariadb-server’ ‘mariadb-client’ ‘mariadb-common’ ‘libmariadbclient-dev’’ failed: No apport report written because the error message indicates its a followup error from a previous failure.\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n”, “stderr”: “No apport report written because the error message indicates its a followup error from a previous failure.\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n”, “stdout”: “Reading package lists…\nBuilding dependency tree…\nReading state information…\nThe following package was automatically installed and is no longer required:\n libevent-core-2.0-5\nUse ‘sudo apt autoremove’ to remove it.\nThe following additional packages will be installed:\n libmariadbclient18 libmysqlclient18 mariadb-client-10.1\n mariadb-client-core-10.1 mariadb-server-10.1 mariadb-server-core-10.1\nSuggested packages:\n libterm-readkey-perl mailx mariadb-test tinyca\nThe following NEW packages will be installed:\n libmariadbclient-dev libmariadbclient18 libmysqlclient18 mariadb-client\n mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server\n mariadb-server-10.1 mariadb-server-core-10.1\n0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 14.7 MB of archives.\nAfter this operation, 152 MB of additional disk space will be used.\nGet:1 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-common all 10.1.21+maria-1~xenial [3196 B]\nGet:2 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 libmysqlclient18 amd64 10.1.21+maria-1~xenial [2894 B]\nGet:3 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 libmariadbclient18 amd64 10.1.21+maria-1~xenial [586 kB]\nGet:4 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-core-10.1 amd64 10.1.21+maria-1~xenial [688 kB]\nGet:5 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-10.1 amd64 10.1.21+maria-1~xenial [1109 kB]\nGet:6 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-core-10.1 amd64 10.1.21+maria-1~xenial [4410 kB]\nGet:7 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-10.1 amd64 10.1.21+maria-1~xenial [6470 kB]\nGet:8 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 libmariadbclient-dev amd64 10.1.21+maria-1~xenial [1460 kB]\nGet:9 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client all 10.1.21+maria-1~xenial [2802 B]\nGet:10 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server all 10.1.21+maria-1~xenial [2930 B]\nPreconfiguring packages …\nFetched 14.7 MB in 9s (1600 kB/s)\nSelecting previously unselected package mariadb-common.\r\n(Reading database … \r(Reading database … 5%\r(Reading database … 10%\r(Reading database … 15%\r(Reading database … 20%\r(Reading database … 25%\r(Reading database … 30%\r(Reading database … 35%\r(Reading database … 40%\r(Reading database … 45%\r(Reading database … 50%\r(Reading database … 55%\r(Reading database … 60%\r(Reading database … 65%\r(Reading database … 70%\r(Reading database … 75%\r(Reading database … 80%\r(Reading database … 85%\r(Reading database … 90%\r(Reading database … 95%\r(Reading database … 100%\r(Reading database … 235391 files and directories currently installed.)\r\nPreparing to unpack …/mariadb-common_10.1.21+maria-1~xenial_all.deb …\r\nUnpacking mariadb-common (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package libmysqlclient18.\r\nPreparing to unpack …/libmysqlclient18_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking libmysqlclient18 (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package libmariadbclient18.\r\nPreparing to unpack …/libmariadbclient18_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking libmariadbclient18 (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package mariadb-client-core-10.1.\r\nPreparing to unpack …/mariadb-client-core-10.1_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking mariadb-client-core-10.1 (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package mariadb-client-10.1.\r\nPreparing to unpack …/mariadb-client-10.1_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking mariadb-client-10.1 (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package mariadb-server-core-10.1.\r\nPreparing to unpack …/mariadb-server-core-10.1_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking mariadb-server-core-10.1 (10.1.21+maria-1~xenial) …\r\nProcessing triggers for libc-bin (2.23-0ubuntu5) …\r\nProcessing triggers for man-db (2.7.5-1) …\r\nSetting up mariadb-common (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package mariadb-server-10.1.\r\n(Reading database … \r(Reading database … 5%\r(Reading database … 10%\r(Reading database … 15%\r(Reading database … 20%\r(Reading database … 25%\r(Reading database … 30%\r(Reading database … 35%\r(Reading database … 40%\r(Reading database … 45%\r(Reading database … 50%\r(Reading database … 55%\r(Reading database … 60%\r(Reading database … 65%\r(Reading database … 70%\r(Reading database … 75%\r(Reading database … 80%\r(Reading database … 85%\r(Reading database … 90%\r(Reading database … 95%\r(Reading database … 100%\r(Reading database … 235535 files and directories currently installed.)\r\nPreparing to unpack …/mariadb-server-10.1_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking mariadb-server-10.1 (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package libmariadbclient-dev.\r\nPreparing to unpack …/libmariadbclient-dev_10.1.21+maria-1~xenial_amd64.deb …\r\nUnpacking libmariadbclient-dev (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package mariadb-client.\r\nPreparing to unpack …/mariadb-client_10.1.21+maria-1~xenial_all.deb …\r\nUnpacking mariadb-client (10.1.21+maria-1~xenial) …\r\nSelecting previously unselected package mariadb-server.\r\nPreparing to unpack …/mariadb-server_10.1.21+maria-1~xenial_all.deb …\r\nUnpacking mariadb-server (10.1.21+maria-1~xenial) …\r\nProcessing triggers for man-db (2.7.5-1) …\r\nProcessing triggers for systemd (229-4ubuntu16) …\r\nProcessing triggers for ureadahead (0.100.0-19) …\r\nSetting up libmysqlclient18 (10.1.21+maria-1~xenial) …\r\nSetting up libmariadbclient18 (10.1.21+maria-1~xenial) …\r\nSetting up mariadb-client-core-10.1 (10.1.21+maria-1~xenial) …\r\nSetting up mariadb-client-10.1 (10.1.21+maria-1~xenial) …\r\nSetting up mariadb-server-core-10.1 (10.1.21+maria-1~xenial) …\r\nSetting up mariadb-server-10.1 (10.1.21+maria-1~xenial) …\r\nJob for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.\r\ninvoke-rc.d: initscript mysql, action "start" failed.\r\ndpkg: error processing package mariadb-server-10.1 (–configure):\r\n subprocess installed post-installation script returned error exit status 1\r\nSetting up libmariadbclient-dev (10.1.21+maria-1~xenial) …\r\nSetting up mariadb-client (10.1.21+maria-1~xenial) …\r\ndpkg: dependency problems prevent configuration of mariadb-server:\r\n mariadb-server depends on mariadb-server-10.1 (= 10.1.21+maria-1~xenial); however:\r\n Package mariadb-server-10.1 is not configured yet.\r\n\r\ndpkg: error processing package mariadb-server (–configure):\r\n dependency problems - leaving unconfigured\r\nProcessing triggers for libc-bin (2.23-0ubuntu5) …\r\nErrors were encountered while processing:\r\n mariadb-server-10.1\r\n mariadb-server\r\n”, “stdout_lines”: [“Reading package lists…”, “Building dependency tree…”, “Reading state information…”, “The following package was automatically installed and is no longer required:”, " libevent-core-2.0-5", “Use ‘sudo apt autoremove’ to remove it.”, “The following additional packages will be installed:”, " libmariadbclient18 libmysqlclient18 mariadb-client-10.1", " mariadb-client-core-10.1 mariadb-server-10.1 mariadb-server-core-10.1", “Suggested packages:”, " libterm-readkey-perl mailx mariadb-test tinyca", “The following NEW packages will be installed:”, " libmariadbclient-dev libmariadbclient18 libmysqlclient18 mariadb-client", " mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server", " mariadb-server-10.1 mariadb-server-core-10.1", “0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.”, “Need to get 14.7 MB of archives.”, “After this operation, 152 MB of additional disk space will be used.”, “Get:1 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-common all 10.1.21+maria-1~xenial [3196 B]”, “Get:2 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 libmysqlclient18 amd64 10.1.21+maria-1~xenial [2894 B]”, “Get:3 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 libmariadbclient18 amd64 10.1.21+maria-1~xenial [586 kB]”, “Get:4 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-core-10.1 amd64 10.1.21+maria-1~xenial [688 kB]”, “Get:5 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-10.1 amd64 10.1.21+maria-1~xenial [1109 kB]”, “Get:6 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-core-10.1 amd64 10.1.21+maria-1~xenial [4410 kB]”, “Get:7 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-10.1 amd64 10.1.21+maria-1~xenial [6470 kB]”, “Get:8 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 libmariadbclient-dev amd64 10.1.21+maria-1~xenial [1460 kB]”, “Get:9 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client all 10.1.21+maria-1~xenial [2802 B]”, “Get:10 ://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server all 10.1.21+maria-1~xenial [2930 B]”, “Preconfiguring packages …”, “Fetched 14.7 MB in 9s (1600 kB/s)”, “Selecting previously unselected package mariadb-common.”, “(Reading database … “, “(Reading database … 5%”, “(Reading database … 10%”, “(Reading database … 15%”, “(Reading database … 20%”, “(Reading database … 25%”, “(Reading database … 30%”, “(Reading database … 35%”, “(Reading database … 40%”, “(Reading database … 45%”, “(Reading database … 50%”, “(Reading database … 55%”, “(Reading database … 60%”, “(Reading database … 65%”, “(Reading database … 70%”, “(Reading database … 75%”, “(Reading database … 80%”, “(Reading database … 85%”, “(Reading database … 90%”, “(Reading database … 95%”, “(Reading database … 100%”, “(Reading database … 235391 files and directories currently installed.)”, “Preparing to unpack …/mariadb-common_10.1.21+maria-1~xenial_all.deb …”, “Unpacking mariadb-common (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package libmysqlclient18.”, “Preparing to unpack …/libmysqlclient18_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking libmysqlclient18 (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package libmariadbclient18.”, “Preparing to unpack …/libmariadbclient18_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking libmariadbclient18 (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package mariadb-client-core-10.1.”, “Preparing to unpack …/mariadb-client-core-10.1_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking mariadb-client-core-10.1 (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package mariadb-client-10.1.”, “Preparing to unpack …/mariadb-client-10.1_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking mariadb-client-10.1 (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package mariadb-server-core-10.1.”, “Preparing to unpack …/mariadb-server-core-10.1_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking mariadb-server-core-10.1 (10.1.21+maria-1~xenial) …”, “Processing triggers for libc-bin (2.23-0ubuntu5) …”, “Processing triggers for man-db (2.7.5-1) …”, “Setting up mariadb-common (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package mariadb-server-10.1.”, “(Reading database … “, “(Reading database … 5%”, “(Reading database … 10%”, “(Reading database … 15%”, “(Reading database … 20%”, “(Reading database … 25%”, “(Reading database … 30%”, “(Reading database … 35%”, “(Reading database … 40%”, “(Reading database … 45%”, “(Reading database … 50%”, “(Reading database … 55%”, “(Reading database … 60%”, “(Reading database … 65%”, “(Reading database … 70%”, “(Reading database … 75%”, “(Reading database … 80%”, “(Reading database … 85%”, “(Reading database … 90%”, “(Reading database … 95%”, “(Reading database … 100%”, “(Reading database … 235535 files and directories currently installed.)”, “Preparing to unpack …/mariadb-server-10.1_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking mariadb-server-10.1 (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package libmariadbclient-dev.”, “Preparing to unpack …/libmariadbclient-dev_10.1.21+maria-1~xenial_amd64.deb …”, “Unpacking libmariadbclient-dev (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package mariadb-client.”, “Preparing to unpack …/mariadb-client_10.1.21+maria-1~xenial_all.deb …”, “Unpacking mariadb-client (10.1.21+maria-1~xenial) …”, “Selecting previously unselected package mariadb-server.”, “Preparing to unpack …/mariadb-server_10.1.21+maria-1~xenial_all.deb …”, “Unpacking mariadb-server (10.1.21+maria-1~xenial) …”, “Processing triggers for man-db (2.7.5-1) …”, “Processing triggers for systemd (229-4ubuntu16) …”, “Processing triggers for ureadahead (0.100.0-19) …”, “Setting up libmysqlclient18 (10.1.21+maria-1~xenial) …”, “Setting up libmariadbclient18 (10.1.21+maria-1~xenial) …”, “Setting up mariadb-client-core-10.1 (10.1.21+maria-1~xenial) …”, “Setting up mariadb-client-10.1 (10.1.21+maria-1~xenial) …”, “Setting up mariadb-server-core-10.1 (10.1.21+maria-1~xenial) …”, “Setting up mariadb-server-10.1 (10.1.21+maria-1~xenial) …”, “Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.”, “invoke-rc.d: initscript mysql, action "start" failed.”, “dpkg: error processing package mariadb-server-10.1 (–configure):”, " subprocess installed post-installation script returned error exit status 1”, “Setting up libmariadbclient-dev (10.1.21+maria-1~xenial) …”, “Setting up mariadb-client (10.1.21+maria-1~xenial) …”, “dpkg: dependency problems prevent configuration of mariadb-server:”, " mariadb-server depends on mariadb-server-10.1 (= 10.1.21+maria-1~xenial); however:”, " Package mariadb-server-10.1 is not configured yet.”, “”, “dpkg: error processing package mariadb-server (–configure):”, " dependency problems - leaving unconfigured”, “Processing triggers for libc-bin (2.23-0ubuntu5) …”, “Errors were encountered while processing:”, " mariadb-server-10.1", " mariadb-server"]}
to retry, use: --limit @develop/install.retryPLAY RECAP *********************************************************************
localhost : ok=12 changed=1 unreachable=0 failed=1Traceback (most recent call last):
File “install.py”, line 351, in
install_bench(args)
File “install.py”, line 108, in install_bench
run_playbook(‘develop/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘develop/install.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=ric’]’ returned non-zero exit status 2
(systemctl status mariadb.service)
● mariadb.service - MariaDB database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: failed (Result: exit-code) since Qui 2017-02-09 16:31:56 BRT; 4min 25s ago
Main PID: 16024 (code=exited, status=1/FAILURE)
Status: “MariaDB server is down”Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] Plugin ‘FEEDBACK’ is disabled.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Unknown/unsupported storage engine: InnoDB
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Aborting
Fev 09 16:31:56 ric-VirtualBox systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Fev 09 16:31:56 ric-VirtualBox systemd[1]: Failed to start MariaDB database server.
Fev 09 16:31:56 ric-VirtualBox systemd[1]: mariadb.service: Unit entered failed state.
Fev 09 16:31:56 ric-VirtualBox systemd[1]: mariadb.service: Failed with result ‘exit-code’.
Fev 09 16:33:39 ric-VirtualBox systemd[1]: Stopped MariaDB database server.
(journalctl -xe)
Fev 09 16:31:55 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:55 14006162797593
6 [Note] /usr/sbin/mysqld (mysqld 10.1.21-MariaDB-1~xenial) starting as process 16024 …
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Using mutexes to ref count buffer pool pages
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: The InnoDB memory heap is disabled
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Compressed tables use zlib 1.2.8
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Using Linux native AIO
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Using SSE crc32 instructions
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Initializing buffer pool, size = 128.0M
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Completed initialization of buffer pool
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] InnoDB: Highest supported file format is Barracuda.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: No valid checkpoint found.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: please refer to ://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: If this error appears when you are creating an InnoDB database,
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: the problem may be that during an earlier attempt you managed
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: to create the InnoDB data files, but log file creation failed.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: If that is the case, please refer to
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: InnoDB: ://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Plugin ‘InnoDB’ init function returned error.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [Note] Plugin ‘FEEDBACK’ is disabled.
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Unknown/unsupported storage engine: InnoDB
Fev 09 16:31:56 ric-VirtualBox mysqld[16024]: 2017-02-09 16:31:56 140061627975936 [ERROR] Aborting
Fev 09 16:31:56 ric-VirtualBox systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Fev 09 16:31:56 ric-VirtualBox systemd[1]: Failed to start MariaDB database server.
– Subject: Unit mariadb.service has failed
– Defined-By: systemd
– Support: ://lists.freedesktop.org/mailman/listinfo/systemd-devel– Unit mariadb.service has failed.
– The result is failed.
Fev 09 16:31:56 ric-VirtualBox systemd[1]: mariadb.service: Unit entered failed state.
Fev 09 16:31:56 ric-VirtualBox systemd[1]: mariadb.service: Failed with result ‘exit-code’.
Fev 09 16:31:57 ric-VirtualBox sudo[15829]: pam_unix(sudo:session): session closed for user root
Any ideas of what is the problem, and how to solve it?
Thanks!