Can you modify seahub.sh as
function start_seahub () {
before_start;
echo "Starting seahub at port ${port} ..."
echo "CCNET_CONF_DIR is $CCNET_CONF_DIR"
echo "SEAFILE_CONF_DIR is $SEAFILE_CONF_DIR"
echo "PYTHON PATH is $PYTHONPATH"
echo $PYTHON "${manage_py}" run_gunicorn -c "${gunicorn_conf}" -b "0.0.0.0:${port}"
$PYTHON "${manage_py}" run_gunicorn -c "${gunicorn_conf}" -b "0.0.0.0:${port}"
And run "seahub.sh start" again to print the environment set by the seahub.sh.
Then you can start seahub manually such as:
export CCNET_CONF_DIR=/home/plt/Downloads/seafile2/ccnet
export SEAFILE_CONF_DIR=/home/plt/Downloads/seafile2/seafile-data
export PYTHONPATH=/home/plt/Downloads/seafile2/seafile-server-1.8.0/seafile/lib/python2.7/site-packages:/home/plt/Downloads/seafile2/seafile-server-1.8.0/seafile/lib64/python2.7/site-packages:/home/plt/Downloads/seafile2/seafile-server-1.8.0/seafile/lib/python2.6/site-packages:/home/plt/Downloads/seafile2/seafile-server-1.8.0/seafile/lib64/python2.6/site-packages:/home/plt/Downloads/seafile2/seafile-server-1.8.0/seahub/thirdpart
python2.7 /home/plt/Downloads/seafile2/seafile-server-1.8.0/seahub/manage.py run_gunicorn -b
0.0.0.0:8000
This will give more information on when gunicorn failed to start.