Strange error


#1

CentOS 6.4 SciDB 14.12

[scidb@scidbwhw Desktop]$ scidb.py startall fastdb Found 0 scidb processes start(server 0 (192.168.2.85) local instance 0) Starting SciDB server. start(server 0 (192.168.2.85) local instance 1) Starting SciDB server. start(server 0 (192.168.2.85) local instance 2) Starting SciDB server. start(server 0 (192.168.2.85) local instance 3) Starting SciDB server. /opt/scidb/14.12/bin/scidb.py: ERROR: Failed to start SciDB! [scidb@scidbwhw Desktop]$ scidb.py status fastdb instance_id | host | port | online_since -------------+--------------+------+---------------------------- 0 | 192.168.2.85 | 1239 | 2015-05-07 20:37:28.435866 1 | 192.168.2.85 | 1240 | 2015-05-07 20:37:28.385041 2 | 192.168.2.85 | 1241 | 2015-05-07 20:37:28.401597 3 | 192.168.2.85 | 1242 | 2015-05-07 20:37:28.452893 (4 rows)

scidb.py initall fastdb is successful.

But when I scdib.py starall fastdb is failed

And

[scidb@scidbwhw Desktop]$ iquery
iquery: error while loading shared libraries: libscidbclient.so: cannot open shared object file: No such file or directory

#2
[scidb@scidbwhw Desktop]$ scidb.py stopall fastdb
stop(server 0 (192.168.2.85))
checking (server 0 (192.168.2.85)) 2214 2215 2216 2217...
Found 4 scidb processes
Found 0 scidb processes

above is stopall fastdb but the truth is failed …


#3

Please post 2 things:
[ul]
[]config.ini for fastdb[/]
[]output of command “scidb.py -v startall fastdb”[/]
[/ul]


#4

[quote=“ilikhotkin”]Please post 2 things:
[ul]
[]config.ini for fastdb[/]
[]output of command “scidb.py -v startall fastdb”[/]
[/ul][/quote]

ok


#5

1.scidb.py -v startall fastdb

[scidb@scidbwhw 0]$ scidb.py -v startall fastdb
/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/DB-fastdb/000/*" | awk \'{print "scidb_QRBM3NoUc1"$1}\''
Found 0 scidb processes
start(server 0 (192.168.2.85) local instance 0)
Starting SciDB server.
start(server 0 (192.168.2.85) local instance 1)
Starting SciDB server.
start(server 0 (192.168.2.85) local instance 2)
Starting SciDB server.
start(server 0 (192.168.2.85) local instance 3)
Starting SciDB server.
/opt/scidb/14.12/bin/scidb.py: DEBUG: Remote command=exec /bin/bash -c $'source ~/.bashrc; (cd /home/scidb/DB-fastdb/000/0 && rm -f /home/scidb/DB-fastdb/000/0/SciDB-000-0-fastdb && ln -fs /opt/scidb/14.12/bin/scidb /home/scidb/DB-fastdb/000/0/SciDB-000-0-fastdb && LD_LIBRARY_PATH=:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib   exec /home/scidb/DB-fastdb/000/0/SciDB-000-0-fastdb -i 192.168.2.85 -p 1239 -k -l /opt/scidb/14.12/share/scidb/log4cxx.properties -s /home/scidb/DB-fastdb/000/0/storage.cfg --install_root=/opt/scidb/14.12 --result-prefetch-queue-size=2 --network-buffer=1024 --mem-array-threshold=1200 --pluginsdir=/opt/scidb/14.12/lib/scidb/plugins --execution-threads=4 --sg-send-queue-size=120 --smgr-cache-size=1200 --result-prefetch-threads=4 --sg-receive-queue-size=120 -c \'host=192.168.2.85 port=5432 dbname=fastdb user=fast password=fast\' 1> /home/scidb/DB-fastdb/000/0/scidb-stdout.log 2> /home/scidb/DB-fastdb/000/0/scidb-stderr.log ) & (cd /home/scidb/DB-fastdb/000/1 && rm -f /home/scidb/DB-fastdb/000/1/SciDB-000-1-fastdb && ln -fs /opt/scidb/14.12/bin/scidb /home/scidb/DB-fastdb/000/1/SciDB-000-1-fastdb && LD_LIBRARY_PATH=:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib   exec /home/scidb/DB-fastdb/000/1/SciDB-000-1-fastdb -i 192.168.2.85 -p 1240 -k -l /opt/scidb/14.12/share/scidb/log4cxx.properties -s /home/scidb/DB-fastdb/000/1/storage.cfg --install_root=/opt/scidb/14.12 --result-prefetch-queue-size=2 --network-buffer=1024 --mem-array-threshold=1200 --pluginsdir=/opt/scidb/14.12/lib/scidb/plugins --execution-threads=4 --sg-send-queue-size=120 --smgr-cache-size=1200 --result-prefetch-threads=4 --sg-receive-queue-size=120 -c \'host=192.168.2.85 port=5432 dbname=fastdb user=fast password=fast\' 1> /home/scidb/DB-fastdb/000/1/scidb-stdout.log 2> /home/scidb/DB-fastdb/000/1/scidb-stderr.log ) & (cd /home/scidb/DB-fastdb/000/2 && rm -f /home/scidb/DB-fastdb/000/2/SciDB-000-2-fastdb && ln -fs /opt/scidb/14.12/bin/scidb /home/scidb/DB-fastdb/000/2/SciDB-000-2-fastdb && LD_LIBRARY_PATH=:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib   exec /home/scidb/DB-fastdb/000/2/SciDB-000-2-fastdb -i 192.168.2.85 -p 1241 -k -l /opt/scidb/14.12/share/scidb/log4cxx.properties -s /home/scidb/DB-fastdb/000/2/storage.cfg --install_root=/opt/scidb/14.12 --result-prefetch-queue-size=2 --network-buffer=1024 --mem-array-threshold=1200 --pluginsdir=/opt/scidb/14.12/lib/scidb/plugins --execution-threads=4 --sg-send-queue-size=120 --smgr-cache-size=1200 --result-prefetch-threads=4 --sg-receive-queue-size=120 -c \'host=192.168.2.85 port=5432 dbname=fastdb user=fast password=fast\' 1> /home/scidb/DB-fastdb/000/2/scidb-stdout.log 2> /home/scidb/DB-fastdb/000/2/scidb-stderr.log ) & (cd /home/scidb/DB-fastdb/000/3 && rm -f /home/scidb/DB-fastdb/000/3/SciDB-000-3-fastdb && ln -fs /opt/scidb/14.12/bin/scidb /home/scidb/DB-fastdb/000/3/SciDB-000-3-fastdb && LD_LIBRARY_PATH=:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib:/opt/scidb/14.12/lib   exec /home/scidb/DB-fastdb/000/3/SciDB-000-3-fastdb -i 192.168.2.85 -p 1242 -k -l /opt/scidb/14.12/share/scidb/log4cxx.properties -s /home/scidb/DB-fastdb/000/3/storage.cfg --install_root=/opt/scidb/14.12 --result-prefetch-queue-size=2 --network-buffer=1024 --mem-array-threshold=1200 --pluginsdir=/opt/scidb/14.12/lib/scidb/plugins --execution-threads=4 --sg-send-queue-size=120 --smgr-cache-size=1200 --result-prefetch-threads=4 --sg-receive-queue-size=120 -c \'host=192.168.2.85 port=5432 dbname=fastdb user=fast password=fast\' 1> /home/scidb/DB-fastdb/000/3/scidb-stdout.log 2> /home/scidb/DB-fastdb/000/3/scidb-stderr.log ) &'
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: DEBUG: Abnormal return code: 127
/opt/scidb/14.12/bin/scidb.py: ERROR: Failed to start SciDB!
  1. config.ini
[fastdb]
server-0=192.168.2.85,3
db_user=fast
db_passwd=fast
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-fastdb
base-port=1239
interface=eth0
network-buffer=1024
execution-threads=4
result-prefetch-threads=4
result-prefetch-queue-size=2
sg-send-queue-size=120
sg-receive-queue-size=120
smgr-cache-size=1200
mem-array-threshold=1200

#6

Ok - error 127 on linux indicates occurs"when any given command within your bash script or on bash command line is not found in any of the paths defined by PATH system environment variable." The command scidb.py is trying to run at that point is iquery.

Is iquery in your PATH?