egtm icon indicating copy to clipboard operation
egtm copied to clipboard

initdb doesn't work with GT.M > "GT.M V6.0-003 Linux x86_64"

Open mihawk opened this issue 8 years ago • 2 comments

i develop under macosx, i succeed to compile GT.M under macosx with shabiel patch https://github.com/shabiel/fis-gtm branch darwin but the initdb complain:

  • /opt/fis-gtm/V6.2-002A_x8664/utf8/mumps -r '^GDE' %GDE-I-GDUSEDEFS, Using defaults for Global Directory /Users/mihawk/workspace/myapp/data/egtm/gbls/egtm.gld

GDE> %GDE-E-KEYWRDBAD, D-R is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, D-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-R is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-R is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-R is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, T-R is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, A-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, A-S is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, A-R is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, A-R is not a valid verb in this context

GDE> GDE> %GDE-E-KEYWRDBAD, C-N is not a valid verb in this context

GDE> %GDE-E-KEYWRDBAD, A-N is not a valid verb in this context

GDE>

                           *** TEMPLATES ***
                                                                      Std      Inst
                                         Def     Rec   Key Null       Null     Freeze   Qdb      Epoch

Region Coll Size Size Subs Coll Jnl on Error Rndwn Taper

0 256 64 NEVER N N DISABLED DISABLED ENABLED

Segment Active Acc Typ Block Alloc Exten Options

* BG DYN 1024 100 100 GLOB =1024 LOCK = 40 RES = 0 ENCR = OFF MSLT =1024 DALL=YES MM DYN 1024 100 100 DEFER LOCK = 40 MSLT =1024 DALL=YES

     *** NAMES ***

Global Region

  •                              DEFAULT
    
                             *** REGIONS ***
                                                                                             Std      Inst
                              Dynamic                          Def      Rec   Key Null       Null     Freeze   Qdb      Epoch
    

Region Segment Coll Size Size Subs Coll Jnl on Error Rndwn Taper

DEFAULT DEFAULT 0 256 64 NEVER N N DISABLED DISABLED ENABLED

                            *** SEGMENTS ***

Segment File (def ext: .dat)Acc Typ Block Alloc Exten Options

DEFAULT mumps.dat BG DYN 1024 100 100 GLOB=1024 LOCK= 40 RES = 0 ENCR=OFF MSLT=1024 DALL=YES

                              *** MAP ***
                    • Names - - - - - - - - - - From Up to Region / Segment / File(def ext: .dat)

% ... REG = DEFAULT SEG = DEFAULT FILE = mumps.dat LOCAL LOCKS REG = EGTM SEG = NONE FILE = NONE GDE> %GDE-I-MAPBAD, Region EGTM for Name Local Locks does not exist %GDE-I-VERIFY, Verification FAILED

GDE> %GDE-I-MAPBAD, Region EGTM for Name Local Locks does not exist %GDE-I-VERIFY, Verification FAILED

%GDE-I-NOEXIT, Cannot exit because of verification failure

GDE> %GDE-I-MAPBAD, Region EGTM for Name Local Locks does not exist %GDE-I-VERIFY, Verification FAILED

%GDE-E-VERIFY, Verification FAILED

  • /opt/fis-gtm/V6.2-002A_x8664/utf8/mupip create %GTM-E-ZGBLDIRACC, Cannot access global directory /Users/mihawk/workspace/myapp/data/egtm/gbls/egtm.gld. Cannot continue. %SYSTEM-E-ENO2, No such file or directory

the latest version i can make egtm work is "GT.M V6.0-003 Linux x86_64" for linux is there an easy fix for this problem ?

mihawk avatar Dec 21 '16 12:12 mihawk

I guess you have to change this file: priv/initdb so that there are spaces in between command and flags, so: "A-N" needs to be "A -N"

We haven't updated this public version for a while now so it is fixed only in our internal version.

ztmr avatar Dec 21 '16 12:12 ztmr

thx seem to work

mihawk avatar Dec 21 '16 13:12 mihawk