Page 1 of 1

Random Toolkit Error

Posted: Thu Jan 05, 2017 4:49 pm
by jord1322
Hey,

At random we've begun to get the below Toolkit error. We've not conducted any updates to the server or OS, and from what I can tell the error is not even occuring as a result of an attempted program call, but prior to them running.

Toolkit request failed. Possible reason: a CCSID not matching that of system, or updated PTFs may be required.

Any help or direction is appreciated.

PHP Version 5.5
Zend Server 8.5.0
IBM System i

Re: Random Toolkit Error

Posted: Sun Jan 08, 2017 5:29 pm
by sam3047
I believe this issue should be directed to Zend support

Re: Random Toolkit Error

Posted: Mon Jan 09, 2017 1:24 pm
by shlomov
As noted by Sam, it is best to enter a support case as each IBM i CCSID set up is different.

Check the following:
The following fastcgi.conf directives are set for English:
SetEnv="CCSID=819"
SetEnv="LANG=en_US"
Check if it is correct for your IBM i PASE environment:
From an i5 command line run the command CALL QP2TERM than from the
terminal shell run the command -> 'env'

capture the parameters listed especially the following parameters:
LANG=xx_XX (The value 'C' in Language ID field is valid as well)
Change the '/www/zendsvr6/conf/fastcgi.conf' directives with the values
captured from previous step

Check the Httpd.conf directives, include the following:
DefaultFsCCSID 37

IBM i CCSID globalization:
http://www-03.ibm.com/systems/i/softwar ... _list.html

Use the Yips for more toolkit CCSID information:
http://yips.idevcloud.com/wiki/index.php/IBMi/65535

Using Zend Server, you can use the green screen menu to edit these directives:
GO ZENDSVR6/ZSMENU select option 8. Set Zend Server Language/CCSID environment

Check the following articles:
https://support.zend.com/hc/en-us/artic ... -the-IBM-i

http://yips.idevcloud.com/wiki/index.ph ... RVICECCSID

Re: Random Toolkit Error

Posted: Mon Jan 09, 2017 1:28 pm
by shlomov

Re: Random Toolkit Error

Posted: Mon Jan 09, 2017 5:18 pm
by bob4245
contents of /www/zendsvr6/conf/fastcgi.conf':
; Static PHP servers for default user
Server type="application/x-httpd-php" CommandLine="/usr/local/zendsvr6/bin/php-cgi.bin" StartProcesses="1" SetEnv="LIBPATH=/usr/local/zendsvr6/lib" SetEnv="PHPRC=/usr/local/zendsvr6/etc/" SetEnv="PHP_FCGI_CHILDREN=10" SetEnv="PHP_FCGI_MAX_REQUESTS=0" ConnectionTimeout="30" RequestTimeout="60" SetEnv="CCSID=1208" SetEnv="LANG=C" SetEnv="INSTALLATION_UID=100313092601" SetEnv="LDR_CNTRL=MAXDATA=0x40000000" SetEnv="ZEND_TMPDIR=/usr/local/zendsvr6/tmp" SetEnv="TZ=<EST>5<EDT>,M3.2.0,M11.1.0"

; Where to place socket files
IpcDir /www/zendsvr6/logs

Output from QP2TERM ENV:

_=/QOpenSys/usr/bin/env
LANG=en_US
PASE_LANG=en_US
QIBM_PASE_DESCRIPTOR_STDIO=T
PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
ROWS=17
QIBM_DESCRIPTOR_STDIN=CRLN=Y
COLUMNS=129
PASE_PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
LC__FASTMSG=true
CLASSPATH=/qibm/proddata/OS400/jt400/lib/jt400Native.jar:/java/bouncycastle/bcpg-jdk15on-155.jar:/java/bouncycastle/bcprov-jdk15o
n-155.jar:/java
LOGNAME=BSNUGGS
SKIPWASPLUGIN=1
LOCPATH=/usr/lib/nls/loc
QIBM_ZLC_NO_BROWSE=1
PASE_LC__FASTMSG=true
QIBM_IFS_OPEN_MAX=66000
QIBM_USE_DESCRIPTOR_STDIO=I
QIBM_PASE_CCSID=819
PASE_SHELL=/QOpenSys/usr/bin/sh
SHELL=/QOpenSys/usr/bin/sh
PASE_LOCPATH=/usr/lib/nls/loc
HOME=/bsnuggs
PASE_TZ=<EST>5<EDT>,M3.2.0,M11.1.0
PWD=/www/zendsvr6/conf
PASE_NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/en_US/%N:/usr/lib/nls/msg/en_US/%N.cat
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/en_US/%N:/usr/lib/nls/msg/en_US/%N.cat

Httpd.conf:
DefaultFsCCSID 37

Re: Random Toolkit Error

Posted: Thu Dec 06, 2018 1:04 am
by aseiden
Jordon, that error is from an old toolkit version (1.5.0 and earlier). Later versions are able to return a more specific error message.

Alan Seiden
Seiden Group
http://www.seidengroup.com