Attaching to seafile-mysql, seafile-memcached, seafile
seafile-mysql | Initializing database
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] /usr/sbin/mysqld (mysqld 10.1.41-MariaDB-1~bionic) starting as process 67 …
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: Using mutexes to ref count buffer pool pag es
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: The InnoDB memory heap is disabled
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builti ns
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: GCC builtin __atomic_thread_fence() is use d for memory barrier
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: Using Linux native AIO
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: Using SSE crc32 instructions
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [Note] InnoDB: Initializing buffer pool, size = 256.0M
seafile-mysql | InnoDB: mmap(281149440 bytes) failed; errno 12
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [ERROR] InnoDB: Cannot allocate memory for the buffer poo l
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [ERROR] Plugin ‘InnoDB’ init function returned error.
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [ERROR] Unknown/unsupported storage engine: InnoDB
seafile-mysql | 2019-08-16 0:22:17 140464980297728 [ERROR] Aborting
seafile-mysql |
seafile-mysql |
seafile-mysql | Installation of system tables failed! Examine the logs in
seafile-mysql | /var/lib/mysql/ for more information.
seafile-mysql |
seafile-mysql | The problem could be conflicting information in an external
seafile-mysql | my.cnf files. You can ignore these by doing:
seafile-mysql |
seafile-mysql | shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
seafile-mysql |
seafile-mysql | You can also try to start the mysqld daemon with:
seafile-mysql |
seafile-mysql | shell> /usr/sbin/mysqld --skip-grant-tables --general-log &
seafile-mysql |
seafile-mysql | and use the command line tool /usr/bin/mysql
seafile-mysql | to connect to the mysql database and look at the grant tables:
seafile-mysql |
seafile-mysql | shell> /usr/bin/mysql -u root mysql
seafile-mysql | mysql> show tables;
seafile-mysql |
seafile-mysql | Try ‘mysqld --help’ if you have problems with paths. Using
seafile-mysql | --general-log gives you a log in /var/lib/mysql/ that may be helpful.
seafile-mysql |
seafile-mysql | The latest information about mysql_install_db is available at
seafile-mysql | https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
seafile-mysql | You can find the latest source at https://downloads.mariadb.org and
seafile-mysql | the maria-discuss email list at https://launchpad.net/~maria-discuss
seafile-mysql |
seafile-mysql | Please check all of the above before submitting a bug report
seafile-mysql | at http://mariadb.org/jira
seafile-mysql |
seafile-mysql exited with code 1
已解决。
服务器内存不足造成的,增加swap文件后ok!