无法启动石墨碳碳缓存服务在 Ubuntu Release16.04 上失败并出现错误代码 1

无法启动石墨碳碳缓存服务在 Ubuntu Release16.04 上失败并出现错误代码 1

我正在尝试使用安装石墨碳

sudo apt-get 安装 graphite-carbon

它安装了,但是在运行 carbon-cache 服务时它会抛出这个问题。

carbon-cache.service 的作业失败,因为控制进程以错误代码退出。有关详细信息,请参阅“systemctl status carbon-cache.service”和“journalctl -xe”。

然后这个

systemctl status carbon-cache.service

● carbon-cache.service - Graphite Carbon Cache
   Loaded: loaded (/lib/systemd/system/carbon-cache.service; enabled; 
vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-11-23 12:46:52 IST; 2ms ago
  Process: 16315 ExecStart=/usr/bin/carbon-cache --config=/etc/carbon/carbon.conf --pidfile=/var/run/carbon-cache.pid --logdir=/var/log/carbon/ start (code=exited, status=1/FAILURE)

Nov 23 12:46:52 aditya-B250M-D3H carbon-cache[16315]:     self.subOptions.parseOptions(rest)
Nov 23 12:46:52 aditya-B250M-D3H carbon-cache[16315]:   File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 277, in parseOptions
Nov 23 12:46:52 aditya-B250M-D3H carbon-cache[16315]:     self.postOptions()
Nov 23 12:46:52 aditya-B250M-D3H carbon-cache[16315]:   File "/usr/lib/python2.7/dist-packages/carbon/conf.py", line 230, in postOptions
Nov 23 12:46:52 aditya-B250M-D3H carbon-cache[16315]:     if whisper.CAN_FALLOCATE:
Nov 23 12:46:52 aditya-B250M-D3H carbon-cache[16315]: AttributeError: 'module' object has no attribute 'CAN_FALLOCATE'
Nov 23 12:46:52 aditya-B250M-D3H systemd[1]: carbon-cache.service: Control process exited, code=exited status=1
Nov 23 12:46:52 aditya-B250M-D3H systemd[1]: Failed to start Graphite Carbon Cache.
Nov 23 12:46:52 aditya-B250M-D3H systemd[1]: carbon-cache.service: Unit entered failed state.
Nov 23 12:46:52 aditya-B250M-D3H systemd[1]: carbon-cache.service: Failed with result 'exit-code'.
dpkg: error processing package graphite-carbon (--configure):

在此处输入图片描述

相关内容