CNode

nitrous parts 安装 mongodb 无法启动成功

Aalvin2012发布于13 年前最后回复13 年前4 回复4757 浏览0 收藏

: errno:122 Disk quota exceeded. will try again in 10 seconds Fri Jan 24 05:35:55.775 [initandlisten] Assertion: 12520:new file allocation failure Fri Jan 24 05:35:55.775 [initandlisten] exception in initAndListen: 12520 new file allocation failure, terminating Fri Jan 24 05:35:55.775 dbexit: Fri Jan 24 05:35:55.775 [initandlisten] shutdown: going to close listening sockets... Fri Jan 24 05:35:55.775 [initandlisten] shutdown: going to flush diaglog... Fri Jan 24 05:35:55.775 [initandlisten] shutdown: going to close sockets... Fri Jan 24 05:35:55.775 [initandlisten] shutdown: waiting for fs preallocator... Fri Jan 24 05:35:55.775 [initandlisten] shutdown: lock for final commit... Fri Jan 24 05:35:55.775 [initandlisten] shutdown: final commit... Fri Jan 24 05:35:55.776 [FileAllocator] allocating new datafile /home/action/.parts/var/mongodb/local.0, filling with zeroes... Fri Jan 24 05:35:55.779 [initandlisten] shutdown: closing all files... Fri Jan 24 05:35:55.780 [initandlisten] closeAllFiles() finished Fri Jan 24 05:35:55.780 [initandlisten] journalCleanup... Fri Jan 24 05:35:55.780 [initandlisten] removeJournalFiles Fri Jan 24 05:35:55.783 [FileAllocator] FileAllocator: posix_fallocate failed: errno:122 Disk quota exceeded falling back Fri Jan 24 05:35:55.786 [FileAllocator] error: failed to allocate new file: /home/action/.parts/var/mongodb/local.0 size: 16777216 failure creating new datafile; lseek failed for fd 8 with errno : errno:122 Disk quota exceeded. will try again in 10 seconds Fri Jan 24 05:35:55.797 [initandlisten] shutdown: removing fs lock... Fri Jan 24 05:35:55.797 dbexit: really exiting now

查看回复

回复 (4)

A
airyland#1·13 年前

?不会啊。我用mongodb和redis都没问题。

parts install mongodb parts start mongodb

难道你是手动安装的?

A
alvin2012#2·13 年前

为什么总是显示 error: failed to allocate new file: /home/action/.parts/var/mongodb/local.0 size: 16777216 failure creating new datafile; lseek failed for fd 8 with errno

难道free的Nitrous account不能创建16M的数据文件?

A
alvin2012#3·13 年前

mongodb.conf 配置文件 dbpath = /home/action/.parts/var/mongodb pidfilepath = /home/action/.parts/var/mongodb/mongod.pid logpath = /home/action/.parts/var/log/mongodb/mongod.log logappend = true bind_ip = 127.0.0.1 smallfiles = true

A
alvin2012#4·13 年前

找到问题了,nitrous免费用户只支持750M空间,创建了mongodb后就已经748M了。 就是说不购买服务,是没法用mongodb的。。没有数据库支持的nitrous。。也不知有撒用。。:S

参与回复
登录后即可参与回复。登录