mod_harbour + ADS on linux server

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Re: mod_harbour + ADS on linux server

Postby berpa » Thu Dec 01, 2022 11:24 am

I have tried to put libace.so and libadsloc.so in:
- ~/mod_harbour/linux/
- /var/www/html/

I have tried to put all permissions to those files.
I also tried to have both libace.so - libace.so.11.10.0.24 and libadsloc.so - libadsloc.so.11.10.0.24 in both directories.

Neither of those solved the problem. In the error.log there is still the same error message.

Should it work if I put libace and libadsloc in /var/www/html/ alongside libharbour.so.3.2.0 linked from ~/mod_harbour/linux/?
Beyond libace and libadsloc, are there other files needed in the same directory from the ADS environment?

I am sorry, but I can't find the right configuration to make it work...
berpa
 
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Re: mod_harbour + ADS on linux server

Postby Antonio Linares » Thu Dec 01, 2022 11:39 am

Dear Paolo,

I have just sent an email to Massimo Linosi who is a mod_harbour + ADS user on Linux

I have pointed him to this thread so lets wait for his advise

many thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour + ADS on linux server

Postby Antonio Linares » Thu Dec 01, 2022 11:44 am

Dear Paolo,

Where have you downloaded libace.so and libadsloc.so from ?

Could you please email them to me ?

Please use https://wormhole.app/ to send me the files

many thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour + ADS on linux server

Postby berpa » Thu Dec 01, 2022 11:56 am

I have sent you the file along with the URL of the site from where I have downloaded it.

Maybe I should try with the x86 version of the libraries even if I am working in a x64 environment?
berpa
 
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Re: mod_harbour + ADS on linux server

Postby Antonio Linares » Thu Dec 01, 2022 12:08 pm

Dear Paolo,

I would suggest you to start using it on Windows and then port it to Linux

You can download mod_harbour + ADS for Windows from the mod_harbour repo on GitHub
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour + ADS on linux server

Postby Antonio Linares » Thu Dec 01, 2022 12:10 pm

I have not received your files

Please use https://wormhole.app/ and provide me here the URL to download them

thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour + ADS on linux server

Postby berpa » Thu Dec 01, 2022 1:12 pm

I've sent you another email with the link to the ads files.

Anyway, I downloaded it from devzone advantagedatabase: https://devzone.advantagedatabase.com/dz/content.aspx?key=20&Release=19

This is the link from which I have downloaded the file: https://devzone.advantagedatabase.com/dz/content.aspx?key=20&Release=19&Product=5&Platform=10

I used the x64 version of the libs.
Last edited by berpa on Thu Dec 01, 2022 1:27 pm, edited 1 time in total.
berpa
 
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Re: mod_harbour + ADS on linux server

Postby giuliano » Thu Dec 01, 2022 1:18 pm

Hi Paolo,
i'm using mod_harbour + ADS in Ubuntu 20.04 Linux distrib.

If you want contact me via mail . I can send you mod_harbour lib.
I suggest you to install ADS libs using this way:

1 - Download aceapi SDK using this command : wget "https://devzone.advantagedatabase.com/dz/download.aspx?Key=WD+6zU0Gr4f1dqm2b6ty8A=="
2 - Unzip files : tar -xf namefile.tar ( i don't remember the exact name of file )
3 - Go to folder aceapi xx.xx.xx
4 - Set permission to setup.pl using chmod +x setup .pl
5 - Install libs using ./setup.pl

Bye
User avatar
giuliano
 
Posts: 44
Joined: Mon Sep 25, 2006 8:38 am
Location: ITALY

Re: mod_harbour + ADS on linux server

Postby berpa » Thu Dec 01, 2022 1:32 pm

Hello Giuliano,

thank you for your hint.

I will try to install ads libraries as you said.
I managed to successfully compile harbour libs following Antonio's guide so I think that my only problem are ads libs.
berpa
 
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Re: mod_harbour + ADS on linux server

Postby giuliano » Thu Dec 01, 2022 1:51 pm

ok.
I have installed many times ADS libs e compile mod_harbour in Linux ( CentOs , Ubuntu , Debian .. )
using normal way ( GitHub information ) -

All works perfectly with ADS and mod_harbour

Bye
User avatar
giuliano
 
Posts: 44
Joined: Mon Sep 25, 2006 8:38 am
Location: ITALY

Re: mod_harbour + ADS on linux server

Postby Antonio Linares » Thu Dec 01, 2022 2:45 pm

Thank you Giuliano :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour + ADS on linux server

Postby giuliano » Thu Dec 01, 2022 2:55 pm

Hi Antonio,
here my experience with CGI .
I've compiled CGI-BIN for CentoS 7 64 bit .
In my server all works perfectly .
I modified only http.conf to enable CGI

Under my hosting ( VHosting ) after enable CGI-BIN I copy modharbour
and a simple prg to CGI-BIN folder .
In http docs i wrote .htaccess with your instructions

But I received always an Error ( 500 Server Internal Error )
[Thu Dec 01 15:53:15.563653 2022] [cgid:error] [pid 2452856:tid 140467170232064] End of script output before headers: modharbour

Pheraps hosting not admit to run modharbour

What do you think about ?

Bye
User avatar
giuliano
 
Posts: 44
Joined: Mon Sep 25, 2006 8:38 am
Location: ITALY

Re: mod_harbour + ADS on linux server

Postby berpa » Thu Dec 01, 2022 3:15 pm

I am sorry but, despite all your help, I did not manage to make it work.

I will try again in the next days and let you know if I can finally find the solution.

Thanks again to everybody.
berpa
 
Posts: 16
Joined: Tue Nov 29, 2022 2:23 pm

Re: mod_harbour + ADS on linux server

Postby Antonio Linares » Thu Dec 01, 2022 4:17 pm

Dear Giuliano,

I would say that you are using an older mod_harbour CGI version

Please git pull from the mod_harbour repo and rebuild it

It seems as an error on modharbour code but I would say that your hosting is allowing you to run it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour + ADS on linux server

Postby giuliano » Thu Dec 01, 2022 4:20 pm

I've just download last sources and build modharbour CGI x Linux
The same test was made by our friend Massimo Linossi with Aruba provider

Bye
Last edited by giuliano on Thu Dec 01, 2022 4:21 pm, edited 1 time in total.
User avatar
giuliano
 
Posts: 44
Joined: Mon Sep 25, 2006 8:38 am
Location: ITALY

PreviousNext

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 4 guests