在Nitrous.io错误上安装MySQL

时间:2014-04-12 20:52:49

标签: mysql meteor nitrousio

我在我的nitrous.io盒子上安装MySQL时遇到问题。我运行parts install MySQL命令但得到以下错误:

    Installing MySQL system tables...
    2014-04-12 20:34:20 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2014-04-12 20:34:20 4575 [Warning] Buffered warning: Changed limits: max_open_files: 512 (requested 5000)
    2014-04-12 20:34:20 4575 [Warning] Buffered warning: Changed limits: table_cache: 400 (requested 2000)
    2014-04-12 20:34:20 4575 [Note] InnoDB: The InnoDB memory heap is disabled
    2014-04-12 20:34:20 4575 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2014-04-12 20:34:20 4575 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2014-04-12 20:34:20 4575 [Note] InnoDB: Using CPU crc32 instructions
    2014-04-12 20:34:20 4575 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2014-04-12 20:34:21 4575 [Note] InnoDB: Completed initialization of buffer pool
    2014-04-12 20:34:21 4575 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
    2014-04-12 20:34:21 4575 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
    2014-04-12 20:34:21 4575 [Note] InnoDB: Database physically writes the file full: wait...
    2014-04-12 20:34:21 7f04ae363740 InnoDB: Error: Write to file ./ibdata1 failed at offset 0.
    InnoDB: 1048576 bytes should have been written, only 73728 were written.
    InnoDB: Operating system error number 2.
    InnoDB: Check that your OS and file system support files of this size.
    InnoDB: Check also that the disk is not full or a disk quota exceeded.
    InnoDB: Error number 2 means 'No such file or directory'.
    InnoDB: Some operating system error numbers are described at
    InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
    2014-04-12 20:34:21 4575 [ERROR] InnoDB: Error in creating ./ibdata1: probably out of disk space
    2014-04-12 20:34:21 4575 [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!
    2014-04-12 20:34:21 4575 [ERROR] Plugin 'InnoDB' init function returned error.
    2014-04-12 20:34:21 4575 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    2014-04-12 20:34:21 4575 [ERROR] Unknown/unsupported storage engine: InnoDB
    2014-04-12 20:34:21 4575 [ERROR] Aborting

    2014-04-12 20:34:21 4575 [Note] Binlog end
    2014-04-12 20:34:21 4575 [Note] /home/action/.parts/packages/mysql/5.6.13/bin/mysqld: Shutdown complete

    parts: ERROR: "scripts/mysql_install_db --basedir=/home/action/.parts/packages/mysql/5.6.13 --datadir=/home/action/.parts/var/mysql --tmpdir=/tmp --user=action --verbose" failed
    Aborting!

也有人有任何使用MySQL与Meteor的经验,并且它对性能有任何严重的负面影响。我发现了一篇非常好的文章here,但没有讨论性能,而且已经有一年了。

1 个答案:

答案 0 :(得分:3)

发现了问题!

我的氮气盒上没有足够的空间。 MySQL想要至少450MB的空间而我还没有足够的空间。添加额外空间并重新启动我的框解决了我的问题/