CONTENTS
Lastmodified 2019-05-25 (土) 11:01:26
portのバージョンが更新されたので、
portupgrade
したら、起動しなくなった。/var/db/mysql/FQDN.err は、
2017-01-21 08:19:26 29191 [Warning] Buffered warning: Could not increase number of max_open_files to more than 32768 (request: 32929) 2017-01-21 08:19:26 29191 [Warning] Buffered warning: Changed limits: table_open_cache: 16303 (requested 16384) 2017-01-21 08:19:26 29191 [Note] Plugin 'FEDERATED' is disabled. 2017-01-21 08:19:26 29191 [Note] InnoDB: Using atomics to ref count buffer pool pages 2017-01-21 08:19:26 29191 [Note] InnoDB: The InnoDB memory heap is disabled 2017-01-21 08:19:26 29191 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2017-01-21 08:19:26 29191 [Note] InnoDB: Memory barrier is not used 2017-01-21 08:19:26 29191 [Note] InnoDB: Compressed tables use zlib 1.2.8 2017-01-21 08:19:26 29191 [Note] InnoDB: Not using CPU crc32 instructions 2017-01-21 08:19:26 29191 [Note] InnoDB: Initializing buffer pool, size = 1.0G 2017-01-21 08:19:26 29191 [Note] InnoDB: Completed initialization of buffer pool 2017-01-21 08:19:26 29191 [ERROR] InnoDB: auto-extending data file /var/db/mysql/ibdata1 is of a different size 4864 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages! 2017-01-21 08:19:26 29191 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data! 2017-01-21 08:19:26 29191 [ERROR] Plugin 'InnoDB' init function returned error. 2017-01-21 08:19:26 29191 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2017-01-21 08:19:26 29191 [ERROR] Unknown/unsupported storage engine: InnoDB 2017-01-21 08:19:26 29191 [ERROR] Aborting 2017-01-21 08:19:26 29191 [Note] Binlog end 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'partition' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_FIELDS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_INDEXES' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_SYS_TABLES' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_FT_CONFIG' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_FT_DELETED' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_METRICS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_CMPMEM' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_CMP_RESET' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_CMP' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_LOCK_WAITS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_LOCKS' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'INNODB_TRX' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'BLACKHOLE' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'ARCHIVE' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'MRG_MYISAM' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'MyISAM' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'MEMORY' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'CSV' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'sha256_password' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'mysql_old_password' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'mysql_native_password' 2017-01-21 08:19:26 29191 [Note] Shutting down plugin 'binlog' 2017-01-21 08:19:26 29191 [Note] /usr/local/libexec/mysqld: Shutdown complete
因みに、/etc/rc.conf
mysql_enable="YES" mysql_optfile="/usr/local/etc/mysql/my.cnf"
と、今時のmy.cnfの位置を指定したうえで、
/usr/local/etc/mysql/my.cnf
#innodb_data_file_path = ibdata1:128M:autoextend
の行をコメントアウトしたら、起動した。
Total access 3525:本日 1:昨日 1