• FIS-GTM on WSL2

    From igotmumps@21:1/5 to All on Wed Feb 3 11:23:24 2021
    Hi All

    I successfully installed FIS-GTM on windows using WSL2. When attempting to set a global variable I am receiving the following error:
    %GTM-E-DBFILERR, Error with database file /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat
    %GTM-I-TEXT, Error with database control semctl IPC_STAT1
    %SYSTEM-E-ENO13, Permission denied

    It seems like I need to run gtm as root in order to be able to set a global.

    Does anyone know what permissions the error message is referring too, or what file?

    thanks...

    MZ

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jens@21:1/5 to igotmumps on Thu Feb 4 05:08:58 2021
    igotmumps schrieb am Mittwoch, 3. Februar 2021 um 20:23:26 UTC+1:
    Hi All

    I successfully installed FIS-GTM on windows using WSL2. When attempting to set a global variable I am receiving the following error:
    %GTM-E-DBFILERR, Error with database file /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat

    I'd say you have to change the Permissions for the file shown in the Error-Message.

    sudo chmod 644 /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat

    should do it hopefully

    Jens

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From igotmumps@21:1/5 to Jens on Thu Feb 4 07:40:46 2021
    On Thursday, February 4, 2021 at 8:08:59 AM UTC-5, Jens wrote:
    igotmumps schrieb am Mittwoch, 3. Februar 2021 um 20:23:26 UTC+1:
    Hi All

    I successfully installed FIS-GTM on windows using WSL2. When attempting to set a global variable I am receiving the following error:
    %GTM-E-DBFILERR, Error with database file /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat
    I'd say you have to change the Permissions for the file shown in the Error-Message.

    sudo chmod 644 /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat

    should do it hopefully

    Jens


    Thanks Jens, but that's not it. The gtm.dat file has the correct owner (me) and permissions (777).

    I think it has more to do with the %GTM-I-TEXT, Error with database control semctl IPC_STAT1 message. It feels like a routine is trying to get executed but cannot. I haven't been able to determine which routine it might be.

    thanks...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From OldMster@21:1/5 to igotmumps on Thu Feb 4 09:38:14 2021
    On Thursday, February 4, 2021 at 10:40:48 AM UTC-5, igotmumps wrote:
    On Thursday, February 4, 2021 at 8:08:59 AM UTC-5, Jens wrote:
    igotmumps schrieb am Mittwoch, 3. Februar 2021 um 20:23:26 UTC+1:
    Hi All

    I successfully installed FIS-GTM on windows using WSL2. When attempting to set a global variable I am receiving the following error:
    %GTM-E-DBFILERR, Error with database file /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat
    I'd say you have to change the Permissions for the file shown in the Error-Message.

    sudo chmod 644 /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat

    should do it hopefully

    Jens
    Thanks Jens, but that's not it. The gtm.dat file has the correct owner (me) and permissions (777).

    I think it has more to do with the %GTM-I-TEXT, Error with database control semctl IPC_STAT1 message. It feels like a routine is trying to get executed but cannot. I haven't been able to determine which routine it might be.

    thanks...
    It looks like WSL2 doesn't provide semctl, at least not yet. I found this:

    https://gitmemory.com/issue/microsoft/WSL/4603/543338436

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam Habiel@21:1/5 to OldMster on Thu Feb 4 10:41:11 2021
    On Thursday, February 4, 2021 at 10:38:16 AM UTC-7, OldMster wrote:
    On Thursday, February 4, 2021 at 10:40:48 AM UTC-5, igotmumps wrote:
    On Thursday, February 4, 2021 at 8:08:59 AM UTC-5, Jens wrote:
    igotmumps schrieb am Mittwoch, 3. Februar 2021 um 20:23:26 UTC+1:
    Hi All

    I successfully installed FIS-GTM on windows using WSL2. When attempting to set a global variable I am receiving the following error:
    %GTM-E-DBFILERR, Error with database file /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat
    I'd say you have to change the Permissions for the file shown in the Error-Message.

    sudo chmod 644 /home/ntp416/.fis-gtm/V6.3-013_x86_64/g/gtm.dat

    should do it hopefully

    Jens
    Thanks Jens, but that's not it. The gtm.dat file has the correct owner (me) and permissions (777).

    I think it has more to do with the %GTM-I-TEXT, Error with database control semctl IPC_STAT1 message. It feels like a routine is trying to get executed but cannot. I haven't been able to determine which routine it might be.

    thanks...
    It looks like WSL2 doesn't provide semctl, at least not yet. I found this:

    https://gitmemory.com/issue/microsoft/WSL/4603/543338436

    For what it's worth, I run YottaDB daily with no issues on WSL2. See this post just as FYI: https://groups.google.com/g/hardhats/c/xnFet9T3f0U/m/TiHMjOhiAQAJ.

    Your error suggests to me that you are still running the classic WSL1, which has that bug.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)