Page 2 of 3
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 11:24 am
by berpa
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...
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 11:39 am
by Antonio Linares
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 11:44 am
by Antonio Linares
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 11:56 am
by berpa
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?
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 12:08 pm
by Antonio Linares
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 12:10 pm
by Antonio Linares
I have not received your files
Please use
https://wormhole.app/ and provide me here the URL to download them
thanks
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 1:12 pm
by berpa
I've sent you another email with the link to the ads files.
Anyway, I downloaded it from devzone advantagedatabase:
https://devzone.advantagedatabase.com/d ... Release=19
This is the link from which I have downloaded the file:
https://devzone.advantagedatabase.com/d ... latform=10
I used the x64 version of the libs.
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 1:18 pm
by giuliano
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 1:32 pm
by berpa
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.
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 1:51 pm
by giuliano
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 2:45 pm
by Antonio Linares
Thank you Giuliano
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 2:55 pm
by giuliano
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 3:15 pm
by berpa
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.
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 4:17 pm
by Antonio Linares
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
Re: mod_harbour + ADS on linux server
Posted: Thu Dec 01, 2022 4:20 pm
by giuliano
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