TheBB Posted November 20, 2021 Author Share Posted November 20, 2021 3 часа назад, ツЛешик сказал: я инструкцию ищу актуальную на 2021 первая страница, первый пост, внизу: Цитата Изменено 9 октября пользователем TheBB upd 9 октября сего (2021) года, ещё новее нету. Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 20, 2021 Share Posted November 20, 2021 4 часа назад, TheBB сказал: первая страница, первый пост, внизу: Вроде делаю все от тутад по шагам, но как дохожу до mysql ошибки BusyBox v1.33.1 (2021-08-22 06:41:01 UTC) built-in shell (ash) ~ # /opt/etc/init.d/S70mysqld start ~ # mysqladmin -u root password 'Passw0rd' mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/opt/var/run/mysqld/ mysqld.sock' (2)' Check that mysqld is running and that the socket: '/opt/var/run/mysqld/mysqld.so ck' exists! ~ # /opt/etc/init.d/S70mysqld start ~ # mysqladmin -u root password 'Passw0rd' mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/opt/var/run/mysqld/ mysqld.sock' (2)' Check that mysqld is running and that the socket: '/opt/var/run/mysqld/mysqld.so ck' exists! ~ # mysql_install_db Could not find plugin directory. Will continue with "/opt/lib/mariadb/plugin". WARNING: The host 'Cloud' 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-11-20 19:12:01 0 [ERROR] mysqld: Can't lock aria control file '/opt/var/lib /mysql/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds 2021-11-20 19:12:32 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-11-20 19:12:32 0 [ERROR] Plugin 'Aria' init function returned error. 2021-11-20 19:12:32 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed. 2021-11-20 19:12:32 0 [Warning] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB. 2021-11-20 19:12:32 0 [Warning] InnoDB: Linux Native AIO disabled. 2021-11-20 19:12:32 0 [ERROR] InnoDB: mmap(134217728 bytes) failed; errno 12 2021-11-20 19:12:32 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool 2021-11-20 19:12:32 0 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again. mysql_install_dbdouble free or corruption (out) 211120 19:12:32 [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 ^Cmysql_install_db^C^Cmysql_install_dbmysql_install_db Quote Link to comment Share on other sites More sharing options...
krass Posted November 20, 2021 Share Posted November 20, 2021 6 минут назад, ツЛешик сказал: Could not find plugin directory. Так вам же явно пишет,что не может найти путь....вы где-то с путями ошиблись.... Quote Link to comment Share on other sites More sharing options...
TheBB Posted November 20, 2021 Author Share Posted November 20, 2021 40 минут назад, ツЛешик сказал: Вроде делаю все от тутад по шагам, но как дохожу до mysql ошибки сделал по шагам (только "mariadb"): Скрытый текст ~ # ~ # opkg install mariadb-server mariadb-client-extra Installing mariadb-server (10.4.18-1a) to root... Downloading http://bin.entware.net/aarch64-k3.10/mariadb-server_10.4.18-1a_aarch64-3.10.ipk Installing mariadb-common (1.0-2) to root... Downloading http://bin.entware.net/aarch64-k3.10/mariadb-common_1.0-2_aarch64-3.10.ipk Installing libaio (0.3.112-2) to root... Downloading http://bin.entware.net/aarch64-k3.10/libaio_0.3.112-2_aarch64-3.10.ipk Installing resolveip (2) to root... Downloading http://bin.entware.net/aarch64-k3.10/resolveip_2_aarch64-3.10.ipk Installing mariadb-server-base (10.4.18-1a) to root... Downloading http://bin.entware.net/aarch64-k3.10/mariadb-server-base_10.4.18-1a_aarch64-3.10.ipk Installing mariadb-client-extra (10.4.18-1a) to root... Downloading http://bin.entware.net/aarch64-k3.10/mariadb-client-extra_10.4.18-1a_aarch64-3.10.ipk Installing libedit (20210522-3.1-1) to root... Downloading http://bin.entware.net/aarch64-k3.10/libedit_20210522-3.1-1_aarch64-3.10.ipk Installing mariadb-client-base (10.4.18-1a) to root... Downloading http://bin.entware.net/aarch64-k3.10/mariadb-client-base_10.4.18-1a_aarch64-3.10.ipk Installing mariadb-client (10.4.18-1a) to root... Downloading http://bin.entware.net/aarch64-k3.10/mariadb-client_10.4.18-1a_aarch64-3.10.ipk Configuring mariadb-common. Configuring libedit. Configuring mariadb-client-base. Configuring mariadb-client. Configuring resolveip. Configuring libaio. Configuring mariadb-server-base. Configuring mariadb-server. Configuring mariadb-client-extra. ~ # ~ # mysql_install_db Could not find plugin directory. Will continue with "/opt/lib/mariadb/plugin". Installing MariaDB/MySQL system tables in '/opt/var/lib/mysql' ... 2021-11-20 19:48:45 0 [Warning] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB. 2021-11-20 19:48:45 0 [Warning] InnoDB: Linux Native AIO disabled. OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system Two all-privilege accounts were created. One is root@localhost, it has no password, but you need to be system 'root' user to connect. Use, for example, sudo mysql The second is root@localhost, it has no password either, but you need to be the system 'root' user to connect. After connecting you can set the password, if you would need to be able to connect as any of these users with a password and without sudo See the MariaDB Knowledgebase at http://mariadb.com/kb or the MySQL manual for more instructions. You can start the MariaDB daemon with: cd '/opt' ; /opt/bin/mysqld_safe --datadir='/opt/var/lib/mysql' You can test the MariaDB daemon with mysql-test-run.pl cd '/opt/mysql-test' ; perl mysql-test-run.pl Please report any problems at http://mariadb.org/jira The latest information about MariaDB is available at http://mariadb.org/. You can find additional information about the MySQL part at: http://dev.mysql.com Consider joining MariaDB's strong and vibrant community: https://mariadb.org/get-involved/ ~ # /opt/etc/init.d/S70mysqld start ~ # ~ # /opt/etc/init.d/S70mysqld status mysqld is already running ~ # ~ # ls -al /opt/var/run/mysqld/ drwxr-xr-x 2 root root 4096 Nov 20 19:51 . drwxr-xr-x 5 root root 4096 Nov 20 19:48 .. -rw-rw---- 1 root root 5 Nov 20 19:51 mysqld.pid srwxrwxrwx 1 root root 0 Nov 20 19:51 mysqld.sock ~ # ~ # mysqladmin -u root password 'Passw0rd' ~ # ~ # mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 9 Server version: 10.4.18-MariaDB Source distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> create database owncloud; Query OK, 1 row affected (0.000 sec) MariaDB [(none)]> \q Bye ~ # ~ # /opt/etc/init.d/S70mysqld restart ~ # ~ # /opt/etc/init.d/S70mysqld status mysqld is already running ~ # ~ # ls -al /opt/var/run/mysqld/ drwxr-xr-x 2 root root 4096 Nov 20 19:53 . drwxr-xr-x 5 root root 4096 Nov 20 19:48 .. -rw-rw---- 1 root root 5 Nov 20 19:53 mysqld.pid srwxrwxrwx 1 root root 0 Nov 20 19:53 mysqld.sock ~ # Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 20, 2021 Share Posted November 20, 2021 45 минут назад, TheBB сказал: сделал по шагам (только "mariadb"): А пробелма Ну вроде у нас логи совпадают только у меня есть WARNING: The host 'Cloud' 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 ! И далее уже полшла ошибка Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 20, 2021 Share Posted November 20, 2021 Я так понимаю оно сюда ломится Quote Link to comment Share on other sites More sharing options...
TheBB Posted November 21, 2021 Author Share Posted November 21, 2021 15 часов назад, ツЛешик сказал: Я так понимаю оно сюда ломится ping -c3 $HOSTNAME ??? Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 Я делаю все как вы описали в первом сообщений, у вас работает, у меня не поднмиается база Чудес не бывает, есть значит какой-то нюанс, который вы не упомянули Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 Пока так Quote Link to comment Share on other sites More sharing options...
TheBB Posted November 21, 2021 Author Share Posted November 21, 2021 16 минут назад, ツЛешик сказал: Пока так echo "192.168.1.1 Cloud" >> /etc/hosts ping -c3 $HOSTNAME /opt/etc/init.d/S70mysqld start /opt/etc/init.d/S70mysqld status Quote Link to comment Share on other sites More sharing options...
Александр Рыжов Posted November 21, 2021 Share Posted November 21, 2021 5 часов назад, ツЛешик сказал: Доброе утро вас не затруднит как-то более развернуто давать ответы, а не на… Либо общаемся вежливо, либо идём на мороз. 2 Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 Сделал как вы сказали хост прописал, предупреждение исчезло, но ошибка осталась на это шаге mysql_install_db Какой памаяти ему не хватате? ~ # mysql_install_db Could not find plugin directory. Will continue with "/opt/lib/mariadb/plugin". Installing MariaDB/MySQL system tables in '/opt/var/lib/mysql' ... 2021-11-21 21:59:50 0 [ERROR] mysqld: Out of memory (Needed 130760704 bytes) 2021-11-21 21:59:50 0 [Warning] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB. 2021-11-21 21:59:50 0 [Warning] InnoDB: Linux Native AIO disabled. 2021-11-21 21:59:50 0 [ERROR] InnoDB: mmap(134217728 bytes) failed; errno 12 2021-11-21 21:59:50 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool 2021-11-21 21:59:50 0 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again. double free or corruption (out) 211121 21:59:50 [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 PS вопрос такой можно ли подключиться по SSH к дсику OPKG и очистить его? Полнолстью, через веб интерфейс и SMB не получается Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 Решил пробелму с mysql добавлением настройки innodb_buffer_pool_size=10M Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 Первое сообщение данного топика Цитата Перейти по адресу http://192.168.1.1:88/owncloud и ввести данные настройки nginix Цитата listen 82; Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 После заполнения админа и пароля и доступа к БД Ловлю следуюущую ошибку http://192.168.1.1:82/nextcloud/index.php An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again later. If you are the system administrator of this resource then you should check the error log for details. Faithfully yours, nginx. Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 21, 2021 Share Posted November 21, 2021 { "reqId": "YpHQiDthBlrmObIFXRhy", "level": 3, "time": "2021-11-21T20:36:08+00:00", "remoteAddr": "192.168.1.10", "user": "--", "app": "PHP", "method": "POST", "url": "/nextcloud/index.php", "message": "Allowed memory size of 33554432 bytes exhausted (tried to allocate 4096 bytes) at /opt/share/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php#118", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.114 Safari/537.36", "version": "22.2.3.0" } Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 22, 2021 Share Posted November 22, 2021 NextCloud через SSL запустить можно? https://192.168.1.1/nextcloud Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 22, 2021 Share Posted November 22, 2021 Никто с такими ошибками не сталкивался ?( Почти развернул Некст , но что-то не 100 работает Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted November 24, 2021 Share Posted November 24, 2021 Сам с собой ... Развернул БД пакеты все nexcloud Запнулся с nginx Как его настроить на внешний ip? И еще сюда SSL реально подключить или обычный http толко? Quote Link to comment Share on other sites More sharing options...
almaz8811 Posted December 3, 2021 Share Posted December 3, 2021 В 21.11.2021 в 22:34, ツЛешик сказал: Решил пробелму с mysql добавлением настройки innodb_buffer_pool_size=10M Куда вписать этот параметр? Quote Link to comment Share on other sites More sharing options...
ツЛешик Posted December 4, 2021 Share Posted December 4, 2021 7 часов назад, almaz8811 сказал: Конфиг mysql Quote Link to comment Share on other sites More sharing options...
evgeny1503 Posted January 6, 2022 Share Posted January 6, 2022 (edited) Как победить это? Скрытый текст Edited January 6, 2022 by evgeny1503 Quote Link to comment Share on other sites More sharing options...
aleeko Posted February 18, 2022 Share Posted February 18, 2022 (edited) В 20.11.2021 в 14:19, TheBB сказал: первая страница, первый пост, внизу: 9 октября сего (2021) года, ещё новее нету. Это нормально, что при установке db maria ругается? Спасибо И можно ли прикрутить к марии веб интерфейс? phpmyadmin не нашел на форуме инфо об этом Скрытый текст mysql_install_db Could not find plugin directory. Will continue with "/opt/lib/mariadb/plugin". WARNING: The host 'Keenetic_Giga' 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' ... 2022-02-18 19:18:57 0 [Warning] InnoDB: Linux Native AIO disabled. 2022-02-18 19:19:09 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system Two all-privilege accounts were created. One is root@localhost, it has no password, but you need to be system 'root' user to connect. Use, for example, sudo mysql The second is root@localhost, it has no password either, but you need to be the system 'root' user to connect. After connecting you can set the password, if you would need to be able to connect as any of these users with a password and without sudo See the MariaDB Knowledgebase at https://mariadb.com/kb or the MySQL manual for more instructions. You can start the MariaDB daemon with: cd '/opt' ; /opt/bin/mysqld_safe --datadir='/opt/var/lib/mysql' You can test the MariaDB daemon with mysql-test-run.pl cd '/opt/mysql-test' ; perl mysql-test-run.pl Please report any problems at https://mariadb.org/jira The latest information about MariaDB is available at https://mariadb.org/. You can find additional information about the MySQL part at: https://dev.mysql.com Consider joining MariaDB's strong and vibrant community: https://mariadb.org/get-involved/ ~ # mysqladmin -u root password 'Passw0rd' mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local server through socket '/opt/var/run/mysqld/mysqld.sock' (2)' Check that mariadbd is running and that the socket: '/opt/var/run/mysqld/mysqld.sock' exists! и интерфейс не такой красивый как у вас получается Скрытый текст Edited February 18, 2022 by aleeko Еще ошибки Quote Link to comment Share on other sites More sharing options...
The_Immortal Posted March 17, 2022 Share Posted March 17, 2022 (edited) Господа, подскажите, пожалуйста: 1. Видеоплеер дает возможность выбирать разрешение? 2. По офисам (*.doc(x), *.xls(x)) возможно что-то делать? Спасибо! P.S. А есть альтернативы актуальные? Что-то ман для NextCloud не особо гуглится... Edited March 17, 2022 by The_Immortal Quote Link to comment Share on other sites More sharing options...
Алексей Коваленко Posted April 25, 2022 Share Posted April 25, 2022 Подскажите пожалуйста. Сейчас работает nginx с моим сервером и слушает порт 81 (обращаюсь 192.168.1.1:81). Где и что прописать в конфиге, чтобы и текущий сервер работал, и owncloud заработал, но при обращении на другой порт. Например 192.168.1.1:82. Пытался править конфиг, добавить второй раздел server, перенести данные с конфига в шапке. Но наверное что-то не так сделал. Перестало вообще все работать. В том числе через консоль стало невозможно перезагрузить nginx. Подскажете, как собрать в кучу 2 конфига? Или может кто сможет собрать 2 конфига в один? Quote Link to comment Share on other sites More sharing options...
untraceab1e Posted April 28, 2022 Share Posted April 28, 2022 Доброго времени суток. Делаю все по инструкции из 1 поста, столкнулся с проблемой, не устанавливается php7-pecl-mcrypt / # opkg install php7-pecl-mcrypt Unknown package 'php7-pecl-mcrypt'. Collected errors: * opkg_install_cmd: Cannot install package php7-pecl-mcrypt Его заменили? Подскажите, что использовать и что это потянет за собой? Quote Link to comment Share on other sites More sharing options...
Vitalii82 Posted May 2, 2022 Share Posted May 2, 2022 В 01.06.2016 в 02:31, TheBB сказал: (опционально) установить curl, nano, mc, tar opkg install curl nano mc tar Подскажите что не так делаю. СПС Quote Link to comment Share on other sites More sharing options...
TheBB Posted May 2, 2022 Author Share Posted May 2, 2022 В 28.04.2022 в 21:46, untraceab1e сказал: Его заменили? Подскажите, что использовать и что это потянет за собой? php7* owrt`шники удалили полностью, в keendev он остался из-за ext-ui (или переписывать всё на php8, или кильнуть ext-ui) Переходите на php8. 1 Quote Link to comment Share on other sites More sharing options...
TheBB Posted May 2, 2022 Author Share Posted May 2, 2022 41 минуту назад, Vitalii82 сказал: Подскажите что не так делаю. СПС `cat /opt/etc/entware_release && cat /opt/etc/opkg.conf` 1 Quote Link to comment Share on other sites More sharing options...
Vitalii82 Posted May 2, 2022 Share Posted May 2, 2022 1 час назад, TheBB сказал: `cat /opt/etc/entware_release && cat /opt/etc/opkg.conf` Я прошу прощения "я не волшебник я только учусь" Спс за помощь. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.