Random Toolkit Error

General discussion on PHP

Random Toolkit Error

Postby jord1322 on Thu Jan 05, 2017 4:49 pm

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
Thanks,
Jordon Greene
PHP Full Stack Developer
SHOE SHOW, Inc.
jord1322
 
Posts: 34
Joined: Mon Nov 03, 2014 3:49 pm
Location: Concord, North Carolina

Re: Random Toolkit Error

Postby sam3047 on Sun Jan 08, 2017 5:29 pm

I believe this issue should be directed to Zend support
sam3047
 
Posts: 9
Joined: Wed Nov 02, 2016 9:27 am

Re: Random Toolkit Error

Postby shlomov on Mon Jan 09, 2017 1:24 pm

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
Shlomo Vanunu
IBM System i
User avatar
shlomov
Zend Global Support
 
Posts: 136
Joined: Mon Dec 29, 2008 2:38 pm

Re: Random Toolkit Error

Postby shlomov on Mon Jan 09, 2017 1:28 pm

Shlomo Vanunu
IBM System i
User avatar
shlomov
Zend Global Support
 
Posts: 136
Joined: Mon Dec 29, 2008 2:38 pm

Re: Random Toolkit Error

Postby bob4245 on Mon Jan 09, 2017 5:18 pm

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
bob4245
 
Posts: 2
Joined: Thu Oct 09, 2014 4:13 pm


Return to PHP

Who is online

Users browsing this forum: No registered users and 2 guests