Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: Najmi N. on March 03, 2017, 04:25:07 am



Title: GAS 3.00 Startup with "-s" argument
Post by: Najmi N. on March 03, 2017, 04:25:07 am
Hi

The GAS was setup to be behind Apache Webserver. Logically it was not standalone.

But I just wondering why I have to use "-s" argument where -s mean standalone everytime I startup the GAS in order  for the Apache to connect with GAS application.
If I startup without "-s" I couldnt open the application menu and the apache error_log will have below error message :-

Thu Mar 02 10:41:31.383913 2017] [fastcgi:error] [pid 12189:tid 139752899270400] (111)Connection refused: [client 192.168.4.90:64233] FastCGI: failed to connect to server "/gas-as4": connect() failed


Appreciat expert advise.


Title: Re: GAS 3.00 Startup with "-s" argument
Post by: Sisavanh S. on March 03, 2017, 03:01:06 pm
Hi,

In this case standalone means GAS started manually (option -s) and not started automatically by Apache (see $FGLASDIR/bin/wrapper.fcgi)
There is a slight difference in the protocol, so make sure you start the GAS with the correct options.

Best regards,
Sisa.