LetoDBF

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

trmpluym
Posts: 230
Joined: Tue Jul 15, 2014 6:52 pm
Location: The Netherlands
Has thanked: 6 times
Been thanked: 19 times

Re: LetoDBF

Post by trmpluym » Sat Jun 02, 2018 5:37 pm

Marek,
mol wrote:
Thu Apr 05, 2018 9:29 am
Server compiled by me runs as daemon, but leaves console screen. How can I hide console screen?
For the fork of LetoDB ( by Elch ) you need to compile letodbsvc.hbp in stead of letodb.hbp.
The compiled letodb.exe can be installed a service, see:

letodb.exe install

Theo

User avatar
mol
Posts: 3070
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 180 times
Been thanked: 96 times
Contact:

Post by mol » Mon Jun 04, 2018 2:15 pm

Thank you!

User avatar
mol
Posts: 3070
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 180 times
Been thanked: 96 times
Contact:

Post by mol » Wed Jun 06, 2018 6:45 am

I've recompiled letodb by Elch using harbour 3.2 nightly, but I can not installit as a service by

Code: Select all

letodb.exe install
I'm getting error in .log file:

Code: Select all

06.06.2018 08:42:55       Error installing LetoDB service:          5
Besides, I love this numeric errors in giga and terabytes memories times :-D

trmpluym
Posts: 230
Joined: Tue Jul 15, 2014 6:52 pm
Location: The Netherlands
Has thanked: 6 times
Been thanked: 19 times

Post by trmpluym » Thu Jun 07, 2018 5:04 pm

Marek,

Error 5 is an access denied error. Did you use an elevated CMD prompt (right click CMD and choose run as Administrator).

Then in this elevated CMD prompt use the installation command line:

Code: Select all

letodb.exe install
Let me know if it solves your problem.

Mario Mansilla
Posts: 246
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina
Been thanked: 2 times

Post by Mario Mansilla » Thu Jun 28, 2018 8:03 pm

Consulta importante :
puede LETODB compartir las dbfs con otra aplicacion tambien realizada con HMG .
La idea es que la aplicacion principal trabaje en modo local y la aplicacion LETODB en modo remoto solo para consultas.
Saludos
Mario Rafael Mansilla

Important query:
LETODB can share the dbfs with another application also made with HMG.
The idea is that the main application works in local mode and the LETODB application in remote mode only for queries.
regards
Mario Rafael Mansilla

User avatar
mol
Posts: 3070
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 180 times
Been thanked: 96 times
Contact:

Post by mol » Fri Jun 29, 2018 7:25 am

It works very fine for me. Even through internet the speed is amazing

Mario Mansilla
Posts: 246
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina
Been thanked: 2 times

Post by Mario Mansilla » Thu Jul 05, 2018 3:48 pm

Hola Mol :
que rutinas usas para modificar el archivo "Letodb.ini" para configurar ip , path , etc .
Intento usar las rutinas de HMG pero como las mismas necesitan tener SECTION , LETODB no me las procesa .
Saludos
Mario Mansilla

Hello mol :
what routines you use to modify the "Letodb.ini" file to configure ip, path, etc.
I try to use the HMG routines but since they need to have SECTION and LETODB does not process them.
regards
Mario Mansilla

User avatar
mol
Posts: 3070
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 180 times
Been thanked: 96 times
Contact:

Post by mol » Fri Jul 06, 2018 6:01 am

I've configured it manually

Mario Mansilla
Posts: 246
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina
Been thanked: 2 times

Post by Mario Mansilla » Fri Jul 06, 2018 8:43 pm

Hola Amigos :
les adjunto parte del archivo log de letodb para mostrarle un error que se graba en el archivo al intentar ejecutar letodb.exe con ip publica en lugar de localhost .
Alguien conoce la causa de este error .

Saludos cordiales
Mario Mansilla

Hello friends :
I attached part of the letodb log file to show you an error that is written to the file when trying to run letodb.exe with ip public instead of localhost.
Someone knows the cause of this error.

Best regards
Mario Mansilla.

Con localhost :
07.06.2018 17:17:23 LetoDB service has been successfully installed
07.06.2018 17:17:24 INFO: LetoDBf Server 3.00, will run at IP 127.0.0.1:8012 ( internal also used :8013 )
07.06.2018 17:17:24 INFO: DataPath=e:\Disco\hmgdemo\Gestion\tfwin\ca\letodb\data, ShareTables=0, NoSaveWA=1, max database=999
07.06.2018 17:17:24 INFO: LoginPassword=0, CacheRecords=21, LockExtended=0
07.06.2018 17:17:24 DEBUG second socket: 204 for errors established
07.06.2018 17:17:24 DEBUG thread3() with pipe handle: 212 started ..

Con IP publica :
07.06.2018 17:17:54 LetoDB service has been successfully installed
07.06.2018 17:17:54 INFO: LetoDBf Server 3.00, will run at IP 190.245.215.109:8012 ( internal also used :8013 )
07.06.2018 17:17:54 INFO: DataPath=e:\Disco\hmgdemo\Gestion\tfwin\ca\letodb\data, ShareTables=0, NoSaveWA=1, max database=999
07.06.2018 17:17:54 INFO: LoginPassword=0, CacheRecords=21, LockExtended=0
07.06.2018 17:17:54 ERROR hb_socketBind() port 8012 used -- often a short temporary problem
07.06.2018 17:17:54 Socket error OK

trmpluym
Posts: 230
Joined: Tue Jul 15, 2014 6:52 pm
Location: The Netherlands
Has thanked: 6 times
Been thanked: 19 times

Post by trmpluym » Mon Jul 09, 2018 6:59 pm

Did you open the two ports in your firewall and did you arranged (NAT) port forwarding for the two required TCP ports (8012 and 8013) in your internet router ?

Theo

Post Reply