Jump to content

Scavi

Forum Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Scavi

  1. В 26.11.2018 в 11:52, SoTKoM сказал:

    Здравствуйте.

    Пытаюсь запустить web server.

    Делал все по инструкции в теме.

    После инсталляции необходимых пакетов были ошибки:

    
    Collected errors:
    	 * opkg_install_cmd: Cannot install package php7-mod-mcrypt.
    	 * opkg_install_cmd: Cannot install package maria-client-extra.

    С этим справился )))):

    Выяснил, что в php7.2 модуль php7-mod-mcrypt удален, вместо maria-client-extra установил mariadb-client-extra.

    Внес изменения в файлы конфигурации путем полного изменения соответствующих файлов.

    Проблемы начались на первом этапе подготавливаем базу данных:

    после 

    создаём БД

    
    mysql_install_db --force

    в терминал высыпались ошибки:

    
    Installing MariaDB/MySQL system tables in '/opt/var/mysql/' ...
    	2018-11-26 14:57:27 1999042080 [ERROR] InnoDB: mmap(136249344 bytes) failed; errno 12
    	2018-11-26 14:57:27 1999042080 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
    	2018-11-26 14:57:27 1999042080 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
    	2018-11-26 14:57:27 1999042080 [ERROR] Plugin 'InnoDB' init function returned error.
    	2018-11-26 14:57:27 1999042080 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    	2018-11-26 14:57:27 1999042080 [ERROR] mysqld: Out of memory (Needed 130760704 bytes)
    	2018-11-26 14:57:27 1999042080 [ERROR] mysqld: Out of memory (Needed 98058240 bytes)
    	2018-11-26 14:57:27 1999042080 [ERROR] mysqld: Out of memory (Needed 73531392 bytes)
    	2018-11-26 14:57:27 1999042080 [ERROR] mysqld: Out of memory (Needed 55148544 bytes)
    	2018-11-26 14:57:27 1999042080 [ERROR] Unknown/unsupported storage engine: InnoDB
    	2018-11-26 14:57:27 1999042080 [ERROR] Aborting
    
    
    	Installation of system tables failed!  Examine the logs in
    	/opt/var/mysql/ for more information.
    
    	The problem could be conflicting information in an external
    	my.cnf files. You can ignore these by doing:
    
    		shell> /opt/bin/mysql_install_db --defaults-file=~/.my.cnf
    
    	You can also try to start the mysqld daemon with:
    
    		shell> /opt/bin/mysqld --skip-grant-tables --general-log &
    
    	and use the command line tool /opt/bin/mysql
    	to connect to the mysql database and look at the grant tables:
    
    		shell> /opt/bin/mysql -u root mysql
    		mysql> show tables;
    
    	Try 'mysqld --help' if you have problems with paths.  Using
    	--general-log gives you a log in /opt/var/mysql/ that may be helpful.
    
    	The latest information about mysql_install_db is available at
    	https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
    	You can find the latest source at https://downloads.mariadb.org and
    	the maria-discuss email list at https://launchpad.net/~maria-discuss
    
    	Please check all of the above before submitting a bug report
    	at http://mariadb.org/jira

    Подскажите, пожалуйста, в чем проблема и как ее решить.

    Спасибо.

    P.S.:

    
    /opt/etc/init.d/S70mariadbd - нет, но есть /opt/etc/init.d/S70mysqld

     Аналогичная ситуация

×
×
  • Create New...