Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: running fastcgidispatch in standalone mode  (Read 16543 times)
Hamza Z.
Posts: 2


« on: May 30, 2014, 10:49:02 am »

I have finished the migration process of an Informix 4gl application to Genero BDL. When I use the httpdispatcher -f <file name> dispatcher the application runs well on a web page, but when I try to use the fastcgidispatcher -s -f <same_file_name_as_before> I get an empty web page with an error telling that the page cannot be loaded (no message from the fastcgidispatcher).

Can anybody tell me how to debug this issue.
.
Four Js
Posts: 65


« Reply #1 on: June 03, 2014, 10:25:12 am »

Hi Hamza,

This sounds like a configuration issue. Did you check the Apache error / access logs ? Is there any particular message ?
For such issues, the best is to contact your support center with information like GAS version used,  GAS configuration file (as.xcf, wrapper.fcgi) , GAS and Apache logs.

Best regards,
Guney
 
Laurent G.
Four Js
Posts: 114


« Reply #2 on: June 03, 2014, 05:01:38 pm »

Hamza,

Since you are running fastcgidispatch in standalone mode, let me assume you are using Apache 2.4 and you are looking at:
https://4js.com/online_documentation/fjs-gas-manual-html/?path=fjs-gas-manual#c_gas_config_mod_proxy_fcgi.html

Using the default conventions/names:

Make sure ps -aef | grep fastcgi shows you dispatcher running
http://host/gas/demos.html return the genero demo static html page ?

If not, your problem is indeed with Apache/fcgi or genero app server wrapper setup. You need to take a look at httpd.conf, apache error logs + wrapper.fcgi (as Guney suggested)
One common problem I have seen with this setup is permission on fcgi plugin

HTH

Laurent
Hamza Z.
Posts: 2


« Reply #3 on: June 07, 2014, 06:24:15 pm »

Thanks Laurent and Guney,
Right now i am able to start Apache 2.4.9 with mod_proxy_fcgi loaded.
When I run fastcgidispatcher manually in stand alone mode, the application starts. Apache is not starting fastcgi automatically, and I need to run Apache web sever and fastcgidispatcher as well.
Laurent G.
Four Js
Posts: 114


« Reply #4 on: June 09, 2014, 06:42:27 pm »

Hamza,

With mod_proxy_fcgi, fastcgidispatch needs to be started manually and you need to create a cron/inittab program to restart it if it fails as Apache doesn't do it using this config

https://4js.com/online_documentation/fjs-gas-manual-html/?path=fjs-gas-manual#c_gas_config_mod_proxy_fcgi.html

Look at point #3. Also, FYI, with Apache 2.4, mod_proxy_fcgi is required and I believe only Genero 2.50 is officially supported for this setup.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines