Jump to content

MariaDB не запускается прошивка 3.7.3


Recommended Posts

вобщем посмотрите что происходит подскажите кто знает можно сделать как решить?

 

exec sh

/ # opkg install mariadb-client-extra mariadb-server-extra
Installing mariadb-client-extra (10.4.18-1a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-client-extra_10.4.18-1a_mipsel-3.4.ipk
Installing mariadb-common (1.0-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-common_1.0-2_mipsel-3.4.ipk
Installing libatomic (8.4.0-11) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libatomic_8.4.0-11_mipsel-3.4.ipk
Installing libncursesw (6.2-2a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libncursesw_6.2-2a_mipsel-3.4.ipk
Installing libncurses (6.2-2a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libncurses_6.2-2a_mipsel-3.4.ipk
Installing libedit (20210522-3.1-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libedit_20210522-3.1-1_mipsel-3.4.ipk
Installing mariadb-client-base (10.4.18-1a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-client-base_10.4.18-1a_mipsel-3.4.ipk
Installing mariadb-client (10.4.18-1a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-client_10.4.18-1a_mipsel-3.4.ipk
Installing mariadb-server-extra (10.4.18-1a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-server-extra_10.4.18-1a_mipsel-3.4.ipk
Installing libaio (0.3.112-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libaio_0.3.112-2_mipsel-3.4.ipk
Installing resolveip (2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/resolveip_2_mipsel-3.4.ipk
Installing mariadb-server-base (10.4.18-1a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-server-base_10.4.18-1a_mipsel-3.4.ipk
Installing mariadb-server (10.4.18-1a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/mariadb-server_10.4.18-1a_mipsel-3.4.ipk
Configuring libatomic.
Configuring mariadb-common.
Configuring libncursesw.
Configuring libncurses.
Configuring libedit.
Configuring mariadb-client-base.
Configuring mariadb-client.
Configuring resolveip.
Configuring libaio.
Configuring mariadb-server-base.
Configuring mariadb-server.
Configuring mariadb-server-extra.
Configuring mariadb-client-extra.
/ # mysql_install_db
Could not find plugin directory.
Will continue with "/opt/lib/mariadb/plugin".
WARNING: The host 'KN1010' could not be looked up with /opt/bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MariaDB version. The MariaDB daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MariaDB privileges !
Installing MariaDB/MySQL system tables in '/opt/var/lib/mysql' ...
2021-10-04 10:15:51 0 [ERROR] mysqld: Can't lock aria control file '/opt/var/lib/mysql/aria_log_control' for exclusive use, error: 11. Wil    l retry for 30 seconds
2021-10-04 10:16:22 0 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying     to use aria control file '/opt/var/lib/mysql/aria_log_control'
2021-10-04 10:16:22 0 [ERROR] Plugin 'Aria' init function returned error.
2021-10-04 10:16:22 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2021-10-04 10:16:22 0 [Warning] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation a    nd install appropriate binary of InnoDB.
2021-10-04 10:16:22 0 [Warning] InnoDB: Linux Native AIO disabled.
2021-10-04 10:16:22 0 [ERROR] InnoDB: mmap(134217728 bytes) failed; errno 12
2021-10-04 10:16:22 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2021-10-04 10:16:22 0 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file befo    re trying to start up again.
double free or corruption (out)
211004 10:16:22 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see https://mariadb.com/kb/en/reporting-bugs

We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

Server version: 10.4.18-MariaDB
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=0
max_threads=153
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 351739 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x30000
 

Link to comment
Share on other sites

10 часов назад, Le ecureuil сказал:

Нужен swap, Maria хочет 357 Мбайт ОЗУ, а столько нет.

А еще лучше в конфиге уменьшить число тредов и размеры буферов.

А не подскажешь какие точно параметры и в каком файле поменять надО?

Link to comment
Share on other sites

  • 2 weeks later...

Все решил сам надо было ставить не из дебиана а из энтвари... и патом все ок и база создается и запускается.... ааа не эт я энтварю пеереустьановил и все встало нормально.......

Edited by LizerGun
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...