Storage is not registered in system catalog when starting PhoenixDB instances

Issue #54 new
yang theseus created an issue

Hi Artyom,

when starting up PhoenixDB instances, executing

sudo /etc/init.d/phoenixdb register 

the screen has exception information:

Register instance 0
5 [0x7f7d84ca0800] WARN scidb.catalog null - Postgres password provided in cleartext on command line, how embarrassing!
40 [0x7f7d84ca0800] ERROR scidb.entry null - Error during SciDB execution: locale::facet::_S_create_c_locale name not valid

I found these Errors in ../phoenixdb/instance_0/phoenixdb.log

2016-01-14 23:02:53,947 [0x7ff639599800] [DEBUG]: Network manager is intialized
2016-01-14 23:02:53,947 [0x7ff639599800] [DEBUG]: NetworkManager::run()
2016-01-14 23:02:53,948 [0x7ff639599800] [ERROR]: Error during SciDB execution: UserException in file: src/network/NetworkManager.cpp function: run line: 137
Error id: scidb::SCIDB_SE_STORAGE::SCIDB_LE_STORAGE_NOT_REGISTERED
Error description: Storage error. Storage is not registered in system catalog.
2016-01-14 23:02:53,948 [0x7ff639599800] [INFO ]: SciDB instance. PhoenixDB version: 0.1.0. GIT revision: 7ae6b3728b42fb4ebc6c2af52f9862885ef7352a. Build Type: RelWithDebInfo. Copyright (C) 2008-2015 SciDB, Inc.
Copyright (C) 2013-2015 PhoenixDB team is exiting.

Comments (5)

  1. yang theseus reporter

    the configure on /etc/default/phoenixdb is

    RUN_PHOENIXDB=yes
    INSTANCES_COUNT=4
    PHOENIXDB_INSTANCE_DIR=/usr/local/phoenixdb
    

    the configure on /etc/default/phoenixdb is

    #!/bin/bash
    init_config=/etc/default/phoenixdb
    phoenixdb_config=/etc/phoenixdb/phoenixdb.conf
    run_dir=/usr/local/phoenixdb
    plugins_dir=/usr/local/lib/phoenixdb/plugins
    log4cxx_config=/etc/phoenixdb/log4cxx.properties
    

    others setting is unchanged.

  2. Artyom Smirnov

    Looks like something bad happening if you login through ssh with locale which do not exist on remote machine:

    root@phdbci-ubuntu1404:~# locale
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    

    For now you can do:

    export LC_ALL=C
    

    I'll check how to avoid this too.

  3. Log in to comment