Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mariadb not starting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Mar 19, 2018 5:33 pm    Post subject: Mariadb not starting Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 19, 2018 6:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Mar 20, 2018 4:04 am    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Mar 20, 2018 11:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum