我已经让FlexGet在自动cron作业上运行了一年多而没有任何问题,但是在过去一周左右它没能运行。
我在/ var / mail文件中发现了以下错误日志,但我不知道该怎么做..任何帮助都将不胜感激!
错误日志:
From [snipped] Wed Jul 2 10:30:04 2014
Return-Path: [snipped]
X-Original-To: [snipped]
Delivered-To: [snipped]
Received: by [snipped] (Postfix, from userid 1000)
id AB9BD420D10; Wed, 2 Jul 2014 10:30:04 -0700 (PDT)
From: root@[snipped] (Cron Daemon)
To: [snipped]
Subject: Cron [snipped] /usr/local/bin/flexget --cron
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/[snipped]>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=[snipped]>
Message-Id: <20140702173004.AB9BD420D10@[snipped]>
Date: Wed, 2 Jul 2014 10:30:04 -0700 (PDT)
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 9, in <module>
load_entry_point('FlexGet==1.1', 'console_scripts', 'flexget')()
File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 28, in main
manager = Manager(options)
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 135, in __init__
self.db_cleanup()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 666, in db_cleanup
fire_event('manager.db_cleanup', session)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 97, in fire_event
event(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 21, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/generic/db_vacuum.py", line 21, in on_cleanup
session.execute('VACUUM')
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 917, in execute
clause, params or {})
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1449, in execute
params)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
compiled_sql, distilled_params
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
context)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
context)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 331, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.DatabaseError: (DatabaseError) database disk image is malformed u'VACUUM' ()