View previous topic :: View next topic |
Author |
Message |
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Mon Mar 19, 2018 5:33 pm Post subject: Mariadb not starting |
|
|
Hi Experts, I am stuck for a long time now and completely out of ideas. I am trying to get mariadb service started however it does not and gives me the below error all the time -
Quote: | Mar 19 23:00:05 dev.algoquant.co systemd[1]: Starting MariaDB database server...
-- Subject: Unit mariadb.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mariadb.service has begun starting up.
Mar 19 23:00:05 dev.algoquant.co systemd[169838]: Failed at step USER spawning /usr/libexec/mariadb-prepare-db-dir: No such process
-- Subject: Process /usr/libexec/mariadb-prepare-db-dir could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/libexec/mariadb-prepare-db-dir could not be executed and failed.
--
-- The error number returned by this process is 3.
Mar 19 23:00:05 dev.algoquant.co systemd[1]: mariadb.service: control process exited, code=exited status=217
Mar 19 23:00:05 dev.algoquant.co systemd[1]: Failed to start MariaDB database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
--
-- Unit mariadb.service has failed.
|
I tried to completely remove mariadb and re-install it but no go, it fails with the exact same error all the time.
Appreciate all your help in getting this resolved and thanks in advance. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Mar 19, 2018 6:27 pm Post subject: |
|
|
Are there existing databases? Have there ever been? If not, you need to run Code: | emerge --config --ask mariadb | - John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Tue Mar 20, 2018 4:04 am Post subject: |
|
|
Thanks John, but I seriously donot see any of the db's running
Quote: | ps -eaf | grep mysql
root 195145 194421 0 09:32 pts/510 00:00:00 grep --color=auto mysql
[root@dev ~]# ps -eaf | grep mariadb
root 195147 194421 0 09:32 pts/510 00:00:00 grep --color=auto mariadb
[root@dev ~]# ps -eaf | grep postgresql
root 195149 194421 0 09:32 pts/510 00:00:00 grep --color=auto postgresql |
Thanks for all your help. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Mar 20, 2018 11:23 am Post subject: |
|
|
Sorry; maybe I was unclear. I didn't ask about database servers but instead whether you have any existing databases, in other words, any on-disk data. What's the answer to that question?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|