配置seafile-server时都没有问题,但是最后快要结束时好像程序代码出了些问题,怎么处理??
root@cloud:/usr/local/www/haiwen/seafile-server # ./setup-seafile-mysql.sh
Checking python on this machine …
Checking python module: setuptools … Done.
Checking python module: python-imaging … Done.
Checking python module: python-mysqldb … Done.
This script will guide you to setup your seafile server using MySQL.
Make sure you have read seafile server manual at
https://github.com/haiwen/seafile/wiki
Press ENTER to continue
What is the name of the server? It will be displayed on the client.
3 - 15 letters or digits
[ server name ] cloud
What is the ip or domain of the server?
For example: www.mycompany.com, 192.168.1.101
[ This server’s ip or domain ] 192.168.1.111
Where do you want to put your seafile data?
Please use a volume with enough free space
[ default “/usr/local/www/haiwen/seafile-data” ]
Which port do you want to use for the seafile fileserver?
[ default “8082” ]
Please choose a way to initialize seafile databases:
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] 1
What is the host of mysql server?
[ default “localhost” ]
What is the port of mysql server?
[ default “3306” ]
What is the password of the mysql root user?
[ root password ]
verifying password of user root … done
Enter the name for mysql user of seafile. It would be created if not exists.
[ default “seafile” ] dyd
Enter the password for mysql user “dyd”:
[ password for dyd ]
verifying password of user dyd … done
Enter the database name for ccnet-server:
[ default “ccnet-db” ] ccnetdb
Enter the database name for seafile-server:
[ default “seafile-db” ] seafiledb
Enter the database name for seahub:
[ default “seahub-db” ] seahubdb
This is your configuration
server name: cloud
server ip/domain: 192.168.1.111
seafile data dir: /usr/local/www/haiwen/seafile-data
fileserver port: 8082
database: create new
ccnet database: ccnetdb
seafile database: seafiledb
seahub database: seahubdb
database user: dyd
Press ENTER to continue, or Ctrl-C to abort
Generating ccnet configuration …
ELF binary type “0” not known.
Traceback (most recent call last):
File “setup-seafile-mysql.py”, line 1461, in
main()
File “setup-seafile-mysql.py”, line 1414, in main
ccnet_config.generate()
File “setup-seafile-mysql.py”, line 810, in generate
if Utils.run_argv(argv, env=env_mgr.get_binary_env()) != 0:
File “setup-seafile-mysql.py”, line 84, in run_argv
env=env)
File “/usr/local/lib/python2.7/subprocess.py”, line 711, in init
errread, errwrite)
File “/usr/local/lib/python2.7/subprocess.py”, line 1343, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
root@cloud:/usr/local/www/haiwen/seafile-server #