请帮助我真的不知道为什么它不起作用,这是日志
顺便说一句,我使用 SolusVM 作为 VPS 管理器。我按照给定的说明做了所有事情,但对我来说没有用。
我也在整个互联网上搜索以找到解决方案,但根本没有希望:(
2012-01-22T02:32:02+0700 vzctl : CT 101 : Container config file does not exist
2012-01-22T02:32:32+0700 vzctl : CT 101 : WARNING: /etc/vz/conf/101.conf not found: No such file or directory
2012-01-22T02:32:32+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:32+0700 vzctl : CT 101 : Destroying container private area: /vz/private/101
2012-01-22T02:32:32+0700 vzctl : CT 101 : Warning: failed to remove /vz/root/101: No such file or directory
2012-01-22T02:32:32+0700 vzctl : CT 101 : Container private area was destroyed
2012-01-22T02:32:43+0700 vzctl : CT 101 : Warning at /etc/vz/conf/ve-basic.conf-sample:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:43+0700 vzctl : CT 101 : Creating container private area (centos-5.0-x86)
2012-01-22T02:32:49+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:49+0700 vzctl : CT 101 : Container is not running
2012-01-22T02:32:49+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:49+0700 vzctl : CT 101 : Container is not running
2012-01-22T02:32:54+0700 vzctl : CT 101 : Performing postcreate actions
2012-01-22T02:32:54+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:54+0700 vzctl : CT 101 : Container private area was created
2012-01-22T02:32:54+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:54+0700 vzctl : CT 101 : Restarting container
2012-01-22T02:32:54+0700 vzctl : CT 101 : Starting container ...
2012-01-22T02:32:54+0700 vzctl : CT 101 : Container is mounted
2012-01-22T02:32:54+0700 vzctl : CT 101 : Setting CPU units: 1000
2012-01-22T02:32:54+0700 vzctl : CT 101 : Container start in progress...
2012-01-22T02:32:54+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:54+0700 vzctl : CT 101 : Adding IP address(es): 103.2.115.120
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Bad parameter for --diskspace: 21474836480K:21474836480K
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : Unable to turn on second-level disk quota on a running container
2012-01-22T02:32:56+0700 vzctl : CT 101 : WARNING: Some of the parameters could not be applied to a running container.
Please consider using --setmode option
2012-01-22T02:32:56+0700 vzctl : CT 101 : Unable to apply new quota values: ugid quota not initialized
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : Setting CPU limit: 400
2012-01-22T02:32:56+0700 vzctl : CT 101 : Setting CPU units: 10000
2012-01-22T02:32:56+0700 vzctl : CT 101 : Setting CPUs: 4
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : Restarting container
2012-01-22T02:32:56+0700 vzctl : CT 101 : Stopping container ...
2012-01-22T02:32:54+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
20.000.000.000,对于 inode 来说这是一个相当高的值,我最好的猜测是您的主机甚至没有那么多可用的 inode 可以传递给容器。从一个像 300.000 这样的数字开始,看看你是否可以用它启动 VPS。
我是一名优秀的程序员,十分优秀!