Initialize ERROR: Abnormal return code: 1


#1

I occurred this problem when I initialize the scidb(14.12) instance on Ubuntu14.04 :

cc@pmigration:~/bigdawgmiddle/installation$ /opt/scidb/14.12/bin/scidb.py -v initall single_server
/opt/scidb/14.12/bin/scidb.py: DEBUG: Remote command=exec /bin/bash -c $‘source ~/.bashrc; ps --no-headers -e -o pid,cmd | awk ‘{print $1 " " $2}’ | grep “/home/scidb/scidb_data/000/*” | awk ‘{print “scidb_AzSjm5w2Fv”$1}’’
/opt/scidb/14.12/bin/scidb.py: DEBUG: exit codes ([-1])
/opt/scidb/14.12/bin/scidb.py: DEBUG: done ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stderr drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stdout drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: # active (1)
/opt/scidb/14.12/bin/scidb.py: DEBUG: exit codes ([0])
/opt/scidb/14.12/bin/scidb.py: DEBUG: done ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stderr drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stdout drained ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: # active (1)
/opt/scidb/14.12/bin/scidb.py: DEBUG: exit codes ([0])
/opt/scidb/14.12/bin/scidb.py: DEBUG: done ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stderr drained ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stdout drained ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: # active (0)
Found 0 scidb processes
/opt/scidb/14.12/bin/scidb.py: DEBUG: Remote command=exec /bin/bash -c $‘source ~/.bashrc; export PGPASSWORD=scidb_pg_user_pasw;psql -h localhost -p 5432 --username scidb_pg_user --dbname single_server -t -c “SELECT * FROM pg_settings WHERE name = ‘max_connections’;”’
/opt/scidb/14.12/bin/scidb.py: DEBUG: exit codes ([-1])
/opt/scidb/14.12/bin/scidb.py: DEBUG: done ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stderr drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stdout drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: # active (1)
/opt/scidb/14.12/bin/scidb.py: DEBUG: exit codes ([-1])
/opt/scidb/14.12/bin/scidb.py: DEBUG: done ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stderr drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stdout drained ([False])
/opt/scidb/14.12/bin/scidb.py: DEBUG: # active (1)
/opt/scidb/14.12/bin/scidb.py: DEBUG: exit codes ([0])
/opt/scidb/14.12/bin/scidb.py: DEBUG: done ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stderr drained ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: stdout drained ([True])
/opt/scidb/14.12/bin/scidb.py: DEBUG: # active (0)
This will delete all data and reinitialize storage [n]|y: y
init(server 0 (localhost) local instance 0)
Initializing local scidb instance/storage.

Cleaning up old logs and storage files.
Removing data directory /home/scidb/scidb_data/000/0 on server 0 (localhost), local instance 0
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 1
/opt/scidb/14.12/bin/scidb.py: ERROR: Abnormal return code: 1
/opt/scidb/14.12/bin/scidb.py: ERROR: command source ~/.bashrc; /opt/scidb/14.12/bin/scidb --register -p 1239 --initialize -i localhost -s /home/scidb/scidb_data/000/0/storage.cfg --logconf /opt/scidb/14.12/share/scidb/log4cxx.properties --install_root=/opt/scidb/14.12 -c ‘host=localhost port=5432 dbname=single_server user=scidb_pg_user password=scidb_pg_user_pasw’:
/opt/scidb/14.12/bin/scidb.py: ERROR: Check logs in init-stderr.log init-stdout.log

In init-stderr.log

NOTICE: table “array” does not exist, skipping
NOTICE: table “array_version” does not exist, skipping
NOTICE: table “array_version_lock” does not exist, skipping
NOTICE: table “array_partition” does not exist, skipping
NOTICE: table “instance” does not exist, skipping
NOTICE: table “array_attribute” does not exist, skipping
NOTICE: table “array_dimension” does not exist, skipping
NOTICE: table “cluster” does not exist, skipping
NOTICE: table “libraries” does not exist, skipping
NOTICE: sequence “array_id_seq” does not exist, skipping
NOTICE: sequence “partition_id_seq” does not exist, skipping
NOTICE: sequence “instance_id_seq” does not exist, skipping
NOTICE: sequence “libraries_id_seq” does not exist, skipping
NOTICE: function uuid_generate_v1() does not exist, skipping
NOTICE: function get_cluster_uuid() does not exist, skipping
NOTICE: function get_metadata_version() does not exist, skipping

Nothing in init-stdout.log