Scidb.py startall never terminates?


#1

I used the deployment script to install SciDB 14.12 on my machine (single machine, not cluster) and it appeared to have worked just fine, but "scidb.py startall " never terminates, not even to say it failed.

This is what initall looked like (as the scidb user):

[code]$ scidb.py initall db
Found 0 scidb processes
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/DB-db/000/0 on server 0 (localhost), local instance 0
init(server 0 (localhost) local instance 1)
Initializing local scidb instance/storage.

Cleaning up old logs and storage files.
Removing data directory /home/scidb/DB-db/000/1 on server 0 (localhost), local instance 1
init(server 0 (localhost) local instance 2)
Initializing local scidb instance/storage.

Cleaning up old logs and storage files.
Removing data directory /home/scidb/DB-db/000/2 on server 0 (localhost), local instance 2
init(server 0 (localhost) local instance 3)
Initializing local scidb instance/storage.

Cleaning up old logs and storage files.
Removing data directory /home/scidb/DB-db/000/3 on server 0 (localhost), local instance 3
[/code]

And this is what startall looked like after I terminated it at the part it keeps getting stuck on (as the scidb user)::

$ scidb.py startall db Found 0 scidb processes start(server 0 (localhost) local instance 0) Starting SciDB server. start(server 0 (localhost) local instance 1) Starting SciDB server. start(server 0 (localhost) local instance 2) Starting SciDB server. start(server 0 (localhost) local instance 3) Starting SciDB server. ^CTraceback (most recent call last): File "/opt/scidb/14.12/bin/scidb.py", line 2251, in <module> main() File "/opt/scidb/14.12/bin/scidb.py", line 2235, in main func(parser, args, modArgs) File "/opt/scidb/14.12/bin/scidb.py", line 2205, in handle args.func() File "/opt/scidb/14.12/bin/scidb.py", line 1951, in start_all while not check_scidb_ready(coordinator,0): File "/opt/scidb/14.12/bin/scidb.py", line 1119, in check_scidb_ready useShell=True) File "/opt/scidb/14.12/bin/scidb.py", line 881, in executeIt ignoreError=ignoreError) File "/opt/scidb/14.12/bin/scidb.py", line 741, in executeLocal p.wait() File "/usr/lib64/python2.6/subprocess.py", line 1302, in wait pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/lib64/python2.6/subprocess.py", line 462, in _eintr_retry_call return func(*args) KeyboardInterrupt

This is my config.ini:

[db] server-0=localhost,3 db_user=... db_passwd=... install_root=/opt/scidb/14.12 pluginsdir=/opt/scidb/14.12/lib/scidb/plugins logconf=/opt/scidb/14.12/share/scidb/log4cxx.properties base-path=/home/scidb/DB-db base-port=... interface=eth0

Any help is appreciated.


#2

Please replace localhost in config.ini with 127.0.0.1. Also, please double-check that:
[ul]
[]Your passwordless ssh to your machine works[/]
[]Postgres is running (sudo service postgresql status)[/]
[/ul]