Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

[Solved] MariaBD status:active but not active in VestaCP

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
Piercer
Posts: 13
Joined: Thu Mar 29, 2018 7:57 am
Contact:
Contact Piercer
Website

Os: CentOS 6x
Web: apache + nginx
[Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by Piercer » Sun Jun 28, 2020 8:50 am

Kindly help: service mariadb status shows active , but in VestaCP it is grey - not active. Happened after upgrade from Mariadb 10.5.3 to 10.5.4
All web sites are working just fine. No errors. Only VestaCP doesn't understand that mysql is running. Thanks!!!

Image
Top

Piercer
Posts: 13
Joined: Thu Mar 29, 2018 7:57 am
Contact:
Contact Piercer
Website

Os: CentOS 6x
Web: apache + nginx
Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by Piercer » Sun Jun 28, 2020 9:18 am

In /usr/local/vesta/conf/vesta.conf changed
DB_SYSTEM='mariadb'

(was db_system="mysql')
Top

darkleech
Posts: 120
Joined: Sun Aug 03, 2014 10:46 am

Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by darkleech » Thu Aug 13, 2020 4:39 am

Piercer wrote: ↑
Sun Jun 28, 2020 9:18 am
In /usr/local/vesta/conf/vesta.conf changed
DB_SYSTEM='mariadb'

(was db_system="mysql')
У меня в этом случае пропадает сервер при добавлении баз и в настройках сервера, сам сервис mariadb работает, перезагружается, но базы не могу создать.

Image
Top

vibol
Posts: 10
Joined: Sat Apr 01, 2017 2:14 pm

Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by vibol » Mon Aug 17, 2020 12:23 pm

i'm testing with Centos7 + Apache + Nginx + MariaDB 10.5.5 ..

problem::: mariadb greyed out in vestacp server/service list
# edit -> /usr/local/vesta/conf/vesta.conf
# add/edit this line::: DB_SYSTEM='mariadb'
# fixed

problem::: can't add database because host blank
# <copy> /usr/local/vesta/conf/mysql.conf <to> /usr/local/vesta/conf/mariadb.conf
# command::: cp /usr/local/vesta/conf/mysql.conf /usr/local/vesta/conf/mariadb.conf
# fixed

problem::: created user/db can't login from phpmyadmin
# not yet fixed, i think vestacp not yet full support 10.5.5 mariadb, or not support 'mariadb' TYPE from v-add-database
Top

Piercer
Posts: 13
Joined: Thu Mar 29, 2018 7:57 am
Contact:
Contact Piercer
Website

Os: CentOS 6x
Web: apache + nginx
Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by Piercer » Thu Nov 05, 2020 7:41 pm

done all that vibol advised. Works just fine but cannot create DB via VESTA CP
error: mysql type is invalid
mysql Ver 15.1 Distrib 10.5.7-MariaDB, for Linux (x86_64) using readline 5.1

Image
Top

Cooper
Posts: 4
Joined: Sat Oct 05, 2019 7:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by Cooper » Thu Nov 05, 2020 8:20 pm

Is this solved? thanks!
vibol wrote: ↑
Mon Aug 17, 2020 12:23 pm
problem::: created user/db can't login from phpmyadmin
# not yet fixed, i think vestacp not yet full support 10.5.5 mariadb, or not support 'mariadb' TYPE from v-add-database
Top

anuradhan
Posts: 14
Joined: Sat Dec 03, 2016 10:34 am

Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by anuradhan » Sat Jun 26, 2021 6:10 am

goto

nano /etc/mysql/conf.d/mysql.cnf

change line1
from
[mysql]
to
[mysqld]

Error: mysql type is invalid
will go away
Top

vstcp
Posts: 1
Joined: Tue Aug 16, 2022 12:27 am

Os: CentOS 7x
Web: apache + nginx
Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by vstcp » Tue Aug 16, 2022 1:34 pm

anuradhan wrote: ↑
Sat Jun 26, 2021 6:10 am
goto

nano /etc/mysql/conf.d/mysql.cnf

change line1
from
[mysql]
to
[mysqld]

Error: mysql type is invalid
will go away

This does not seem to work anymore after upgrading to MariaDB 10.6.9 (probably already not from v10.5 onward when they changed mysql/mariadb commands).

When trying with DB_SYSTEM = [mariadb,mysql] in vesta.conf
the mariadb status goes grey in the web GUI /list/server/
How can this be avoided?

Also, the DB creation /add/db needs the "mysql" selected, selecting "mariadb" as type does not work lateron for the db work itself (e.g. in PMA). Changing the script "v-add-database" at line with type=${5-mysql} into {5-mariadb} does not provide a solution either.

Besides the above, the vesta version number is not correct in the vesta.conf file, which could be corrected manually of course, but perhaps there is another conflict and it needs the wrong version number for something?

Thank you in advance for anyone's helpful ideas!
Top

bogdan_di
Posts: 2
Joined: Fri Dec 03, 2021 3:55 am

Os: CentOS 6x
Web: apache + nginx
Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by bogdan_di » Sat Sep 24, 2022 2:18 am

Code: Select all

find /usr/local/vesta/conf/ -name vesta.conf | xargs sed -i "s/DB_SYSTEM='mysql'/DB_SYSTEM='mysql,mariadb'/g"
Top

lpcs007
Posts: 7
Joined: Fri Dec 16, 2016 3:17 am

Re: [Solved] MariaBD status:active but not active in VestaCP
  • Quote

Post by lpcs007 » Fri Apr 14, 2023 3:10 pm

I have the same problem, but I couldn't solve it with the same solution as in the topic.

I upgraded MariaDB to 10.11.2 following topic viewtopic.php?p=73011#p73011 and the database is working fine. But the list of Vesta services appears as offline even though the service is online.

In vesta configuration file has DB_SYSTEM='mysql'. If I change to mariadb the service appears as online but when I create the database the phpmyadmin link does not work. It's like phpmyadmin is related to mysql service and not mariadb.

I already tried other topics, but I didn't find the solution.

I am using CentOS 7.9
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password