我正在尝试在新的Ubuntu 10.04(Amazon EC2)上安装Socorro。我正在关注this manual,我正在执行步骤6.2.8,我遇到以下命令的问题:
./ manage.py syncdb --noinput
这是错误:
django.db.utils.OperationalError:无法打开数据库文件
什么似乎是问题?
这是洞日志:
Syncing...
Raven is not configured (logging is disabled). Please see the documentation for more information.
Traceback (most recent call last):
File "./manage.py", line 13, in <module>
manage.main()
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/funfactory/manage.py", line 144, in main
execute_from_command_line(argv)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 92, in handle_noargs
syncdb.Command().execute(**options)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/raven/contrib/django/management/__init__.py", line 37, in new_execute
return original_func(self, *args, **kwargs)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
cursor = connection.cursor()
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 160, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 132, in _cursor
self.ensure_connection()
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 115, in connect
self.connection = self.get_new_connection(conn_params)
File "/etc/socorro/socorro-virtualenv/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 347, in get_new_connection
conn = Database.connect(**conn_params)
django.db.utils.OperationalError: unable to open database file