Error when running ./setup-seafile.sh

2417 views
Skip to first unread message

Karun Gopalakrishna

unread,
Sep 2, 2013, 9:07:56 AM9/2/13
to sea...@googlegroups.com
Am facing an issue when i try to setup seafile on my server, below is the error message


./setup-seafile.sh: line 382: /opt/seafile-server-1.8.3/seafile/bin/ccnet-init: cannot execute binary file


Error occured during setup.
Please fix possible problems and run the script again.

Shuai Lin

unread,
Sep 2, 2013, 9:56:51 AM9/2/13
to sea...@googlegroups.com
This is possibly because you're not using the right version of seafile server tarball.

Run "uname -a" to see whether your OS is 64bit or 32bit.

If 64bit, the result would contains something like "x86_64"; If 32bit, it would contain something like "i386".






--
You received this message because you are subscribed to the Google Groups "seafile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seafile+u...@googlegroups.com.
To post to this group, send email to sea...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile.
For more options, visit https://groups.google.com/groups/opt_out.

Christopher Bechtold

unread,
Sep 5, 2013, 8:53:46 AM9/5/13
to sea...@googlegroups.com
Hi, 

I get this error when running ./setup-seafile.sh:

Now create seahub database ... 

Loading ccnet config from /home/seacloud/haiwen/ccnet
Loading seafile config from /home/seacloud/haiwen/seafile-data
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/core/management/__init__.py", line 453, in execute_from_command_line
    utility.execute()
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/core/management/__init__.py", line 263, in fetch_command
    app_name = get_commands()[subcommand]
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/core/management/__init__.py", line 109, in get_commands
    apps = settings.INSTALLED_APPS
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/conf/__init__.py", line 53, in __getattr__
    self._setup(name)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/conf/__init__.py", line 48, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/conf/__init__.py", line 132, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/seahub/__init__.py", line 4, in <module>
    repo_created.connect(repo_created_cb)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/dispatch/dispatcher.py", line 75, in connect
    if settings.DEBUG:
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/conf/__init__.py", line 53, in __getattr__
    self._setup(name)
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/conf/__init__.py", line 49, in _setup
    self._configure_logging()
  File "/home/seacloud/haiwen/seafile-server-1.8.3/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/conf/__init__.py", line 84, in _configure_logging
    logging_config_func(self.LOGGING)
  File "/package/host/localhost/python-2.7/lib/python2.7/logging/config.py", line 777, in dictConfig
    dictConfigClass(config).configure()
  File "/package/host/localhost/python-2.7/lib/python2.7/logging/config.py", line 575, in configure
    '%r: %s' % (name, e))
ValueError: Unable to configure handler 'default': [Errno 13] Permission denied: '/tmp/seahub.log'
Failed to sync seahub database.

Error occured during setup. 
Please fix possible problems and run the script again.
 
But what to fix? 

Lingtao Pan

unread,
Sep 5, 2013, 10:01:18 AM9/5/13
to sea...@googlegroups.com
This may be caused by another user already create /tmp/seahub.log and you don't have the permission to overwrite it. My colleague will give you the solution tomorrow.

Christopher Bechtold

unread,
Sep 5, 2013, 10:07:16 AM9/5/13
to sea...@googlegroups.com
Okay, thanx!

--
You received this message because you are subscribed to a topic in the Google Groups "seafile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seafile/SmY7uqskQ1U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seafile+u...@googlegroups.com.

Christopher Bechtold

unread,
Sep 5, 2013, 10:11:20 AM9/5/13
to sea...@googlegroups.com
I can delete the log file and now it woks.

Am 05.09.2013 um 16:01 schrieb Lingtao Pan <free...@gmail.com>:

Christopher Bechtold

unread,
Sep 6, 2013, 6:51:19 AM9/6/13
to sea...@googlegroups.com
Okay, Thanx!

Am 05.09.2013 um 16:01 schrieb Lingtao Pan <free...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages