Re: Error running executable

Mike Aubury <[email protected]> Thu, 25 Nov 2021 18:39:28 +0000
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WGQAO46i494tMyYWxFdKqn8vTEdtWpnyLOemOgh0hCkog@mail.gmail.com>
Whats the definition for that 's' variable?

let s.session_data = 'new'

The error seems to relate to trying to convert a character string into a
blob variable..


On Thu, 25 Nov 2021 at 18:17, <[email protected]> wrote:

> Hi,
>
> I have a weird problem.
>
> I have an executable running on a debian server in /usr/lib/cgi, running
> uid en gid www-data. Until now I did not have real problems but I'm
> expanding the executable with functions. Nothings strange.
>
> The executable now stops on the next line:
>
> let s.session_data = 'new'
>
> Not a real fancy statement. It gives no direct errors but in the apache
> logfile the following error:
>
> [Thu Nov 25 18:43:49.029580 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215: Err:Program /usr/lib/cgi-bin/entryform.4ae
> stopped at 'entryform-l03.4gl', line number 32.:
> /usr/lib/cgi-bin/entryform, referer:
> http://192.168.10.90/cgi-bin/entryform
> [Thu Nov 25 18:43:49.029636 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215: Error status number -30414.:
> /usr/lib/cgi-bin/entryform, referer:
> http://192.168.10.90/cgi-bin/entryform
> [Thu Nov 25 18:43:49.029656 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215: Unable to create blobfile.:
> /usr/lib/cgi-bin/entryform, referer:
> http://192.168.10.90/cgi-bin/entryform
> [Thu Nov 25 18:43:49.029661 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215: : /usr/lib/cgi-bin/entryform, referer:
> http://192.168.10.90/cgi-bin/entryform
> [Thu Nov 25 18:43:49.029678 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215: 4gl function call stack ::
> /usr/lib/cgi-bin/entryform, referer:
> http://192.168.10.90/cgi-bin/entryform
> [Thu Nov 25 18:43:49.029750 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215:     entryform-l01.4gl (Line 92) calls
> create_session(): /usr/lib/cgi-bin/entryform, referer:
> http://192.168.10.90/cgi-bin/entryform
> [Thu Nov 25 18:43:49.029773 2021] [cgi:error] [pid 10058] [client
> 192.168.10.50:18237] AH01215:     MAIN: /usr/lib/cgi-bin/entryform,
> referer: http://192.168.10.90/cgi-bin/entryform
>
> If I disable this line in the 4gl-code it stops on the next line:
>
> let s.session_id = s.session_start, "|", s.session_uid clipped, "|
>
> I think it has to do with the fact the application in running as cgi
> binary but I'm not sure. If I use the code stripped from the command
> line it works.
>
> Anyone a clue for me?
>
> --
>
> Cordialement,
>
> R.J. Baart
>
>
>
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss