GuangXingLiu

一蓑一笠一孤舟,一丈丝纶一鱼钩,一曲高歌一樽酒,一人独钓一江秋.

Ubuntu Server 18.04.3 LTS + zPDT z1090-1-9.53.05.01.x86_64 + ADCD z/OS V2R3 May 2019

This has not be finished.





 
1. Hardward


IBM 1090 Token. this is a License Key.


yin1.png

 IBM 1090 Token

2. Software

OS:Ubuntu server 18.04.3 LTS


zPDT: you can go to  http://www.ibm.com/servers/resourcelink  to get it. the name is similar as "z1090-1-9.53.05.01.x86_64".


ADCD z/OS:  you need to go to   http://dtsc.dfw.ibm.com/adcd/adcd.html to apply it.  Now the latest one is "ADCD z/OS V2R3 May 2019".

 


3. Install and basic config Ubuntu


1), After you install Ubuntu, the user name should be anything, and please enable SSH, and open SSH port.


after you install it, please issue following command to update  or install:

sudo apt-get update
sudo apt-get install c3270 vim lib32stdc++6 unzip


2),Makr sure your ubuntu support 32-bit

How to confirm your system architecture

$ dpkg --print-architecture

You will see following, that is mean your system is 64-bit:

amd64

How to confirm your system support 32-bit architecture

$ dpkg --print-foreign-architectures

If the out put is following, then it support:

i386

If there is nothing, then you need to add the 32-bit support:

$ sudo dpkg --add-architecture i386

Then update:

$ sudo apt-get update
and
$ sudo apt-get upgrade

or

$ sudo apt-get dist-upgrade

Now, you system is support 32-bit.


4. zPDT installation


run follwoing commands to grant access:

# chmod 777 -R zos230
# chmod 777 z1090-1-9.53.05.01.x86_64
# ./z1090-1-9.53.05.01.x86_64



5. config linux

update "/etc/sysctl.conf":

kernel.shmmax=18000000000
kernel.shmall=12000000
kernel.core_pattern=core-%e-%p-%t
kernel.core_uses_pid=1
kernel.msgmni=512
kernel.msgmax=65536
kernel.msgmnb=65536
net.core.rmem_max=1048576
net.core.rmem_default=1048576



issue:

# /sbin/sysctl -p /etc/sysctl.conf


And:

# exit (leave root if you are in root)
$ cd /home/ibmsys1
$ sudo vim .bashrc
(Add the following lines beginning in column 1):
export PATH=/usr/z1090/bin:$PATH
export LD_LIBRARY_PATH=/usr/z1090/bin:$LD_LIBRARY_PATH
export MANPATH=/usr/z1090/man:$MANPATH
ulimit -c unlimited
ulimit -d unlimited
ulimit -m unlimited
ulimit -v unlimited



Check installation:


$  z1090instcheck




create a req file:

root@aof540:/usr/z1090/bin# ./SecureUpdateUtility -r myrequest
-------------------------------------------------------------------------------
                       Secure Update Utility
                        Sentinel Keys 1.3.1
         Copyright (C) 2009 SafeNet Inc. All rights reserved.
-------------------------------------------------------------------------------
Request Code Successfully written to myrequest.req






 6. config license

If you use IBM 1090 Token,please go to http://www.ibm.com/servers/resourcelink  to update your License。

IBM Systems --> z Systems --> Resource Link --> Tools --> 1090 support(zPDT) --> 1090 Date Extension


Then following the instruction in the mail to install the license.


If you are using driver 47.10 or newer copy the update key file myrequest.zip to your 1090 server and run the Z1090 Token Update program to upgrade the 1090.
Z1090_token_update -u myrequest.zip


root@aof540:/usr/z1090/bin# ./Z1090_token_update -u myrequest.zip

Info: Processing ZIP file request: myrequest.zip

Info: Command completed with 0 error(s).

Info: Remove the token for 10 to 15 seconds.  Then reinsert the token before proceeding.

root@aof540:/usr/z1090/bin#


unplug the USB hardware key. Wait at least 10 seconds and then reconnect the hardware key.




如果要从License Server上获取License, 则配置/usr/z1090/bin/sntlconfig.xml

在文件中的如下两项,换成你的License Server的服务器名或IP地址即可。

<ContactServer>yourserver</ContactServer>

<UIMContactServer>yourserver</UIMContactServer>























 
7. config ADCD z/OS V2R3


Download “ADCD z/OS V2R3 May 2019” as:


-rwxrwxrwx  1 ibmsys1 ibmsys1  782760632 Jun 12 23:48  01VD3RES1.zpdt*
-rwxrwxrwx  1 ibmsys1 ibmsys1  915885194 Jun 12 23:51  02VD3RES2.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1   17314388 Jun 12 23:48  03VD3CFG1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  444188169 Jun 12 23:51  04VD3SYS1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 3404355249 Jun 13 00:01  05VD3USS1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 1753780016 Jun 13 00:11  06VD3USS2.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1   21170106 Jun 13 00:02  07VD3USR1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 2461633916 Jun 13 00:14  08VD3PRD1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 4293090005 Jun 13 11:02  09VD3PRD2.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 3030807365 Jun 13 11:04  10VD3PRD3.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 3358463936 Jun 13 11:22  11VD3PRD4.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 1683867009 Jun 13 11:18  12VD3DIS1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 2207411829 Jun 13 11:25  13VD3DIS2.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  247791196 Jun 13 11:23  14VD3DIS3.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  439645470 Jun 13 11:25  15VD3PAGA.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  391407346 Jun 13 11:02  16VD3PAGB.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  389523231 Jun 13 11:25  17VD3PAGC.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  463607816 Jun 13 11:27  18VSARES1.zpdt*
-rwxrwxrwx  1 ibmsys1 ibmsys1  342289593 Jun 13 11:27  19VD3IME1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  915002417 Jun 13 11:30  20VD3IMF1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 1278771895 Jun 13 11:31  21VD3DBC1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  111058199 Jun 13 11:31  22VD3DBC2.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1   89674643 Jun 13 11:31  23VD3DBAR.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 1079982991 Jun 13 11:35  24VD3DBB1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  201296782 Jun 13 11:33  25VD3DBB2.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  930914142 Jun 13 11:36  26VD3C541.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  854092822 Jun 13 11:37  27VD3C551.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 4312102294 Jun 13 11:52  28VD3W901.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 1129622348 Jun 13 11:44  29VD3W902.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1  502958233 Jun 13 11:47  30VD3KAN1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 1336674553 Jun 13 11:53  31VD3BLZ1.gz*
-rwxrwxrwx  1 ibmsys1 ibmsys1 3791339523 Jun 13 12:01  32VD3INM1.gz*


I download these files via windows 10, after download, send them to my Unbuntu.


use following to unzip the files


gunzip -c 02VD3RES2.gz > 02D3RES2
gunzip -c 03VD3CFG1.gz > 03D3CFG1
gunzip -c 04VD3SYS1.gz > 04D3SYS1
gunzip -c 05VD3USS1.gz > 05D3USS1
gunzip -c 06VD3USS2.gz > 06D3USS2
gunzip -c 07VD3USR1.gz > 07D3USR1
gunzip -c 08VD3PRD1.gz > 08D3PRD1
gunzip -c 09VD3PRD2.gz > 09D3PRD2
gunzip -c 10VD3PRD3.gz > 10D3PRD3
gunzip -c 11VD3PRD4.gz > 11D3PRD4
gunzip -c 12VD3DIS1.gz > 12D3DIS1
gunzip -c 13VD3DIS2.gz > 13D3DIS2
gunzip -c 14VD3DIS3.gz > 14D3DIS3
gunzip -c 15VD3PAGA.gz > 15D3PAGA
gunzip -c 16VD3PAGB.gz > 16D3PAGB
gunzip -c 17VD3PAGC.gz > 17D3PAGC
gunzip -c 19VD3IME1.gz > 19D3IME1
gunzip -c 20VD3IMF1.gz > 20D3IMF1
gunzip -c 21VD3DBC1.gz > 21D3DBC1
gunzip -c 22VD3DBC2.gz > 22D3DBC2
gunzip -c 23VD3DBAR.gz > 23D3DBAR
gunzip -c 24VD3DBB1.gz > 24D3DBB1
gunzip -c 25VD3DBB2.gz > 25D3DBB2
gunzip -c 26VD3C541.gz > 26D3C541
gunzip -c 27VD3C551.gz > 27D3C551
gunzip -c 28VD3W901.gz > 28D3W901
gunzip -c 29VD3W902.gz > 29D3W902
gunzip -c 30VD3KAN1.gz > 30D3KAN1
gunzip -c 31VD3BLZ1.gz > 31D3BLZ1
gunzip -c 32VD3INM1.gz > 32D3INM1




This is the result:


-rw-r--r-- 1 ibmsys1 users  769694824 Apr 12 20:46 01C3RES1.zpdt
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 15:08 02C3RES2
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 15:11 03C3CFG1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 15:13 04C3SYS1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 15:15 05C3USS1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 15:18 06C3USS2
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 15:19 07C3USR1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:05 08C3PRD1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:09 09C3PRD2
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:11 10C3PRD3
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:13 11C3PRD4
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:15 12C3DIS1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:17 13C3DIS2
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:48 14C3DIS3
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:50 15C3PAGA
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:52 16C3PAGB
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:54 17C3PAGC
-rw-r--r-- 1 ibmsys1 users  448657608 Apr 12 19:07 18VSARES1.zpdt
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:56 19C3IME1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 17:59 20C3IMF1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:01 21C3DBC1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:02 22C3DBC2
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:04 23C3DBAR
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:06 24C3DBB1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:08 25C3DBB2
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:10 26C3C541
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:12 27C3C531
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:14 28C3W901
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:15 29C3W902
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:16 30C3KAN1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:17 31C3BLZ1
-rw-r--r-- 1 ibmsys1 users 8539292672 Apr 16 18:19 32C3INM1




PS: A3RES1 and SARES1 are encrypted, we need to use zpdt to decrypt the volumes:


nova636@z230:/usr/z1090/bin$ ./Z1090_ADCD_install /home/nova636/zos230/01VD3RES1.zpdt /home/nova636/zos230/01VD3RES1

Info: Z1090_ADCD_install: creating file /home/nova636/zos230/01VD3RES1 for installation.

Info: This procedure can take several minutes to complete.

 Emulated CKD file name: /home/nova636/zos230/01VD3RES1

Info: Processing complete: File /home/nova636/zos230/01VD3RES1 created.

.nova636@z230:/usr/z1090/bin$ ./Z1090_ADCD_install /home/nova636/zos230/18VSARES1.zpdt /home/nova636/zos230/18VSARES1

Info: Z1090_ADCD_install: creating file /home/nova636/zos230/18VSARES1 for installation.

Info: This procedure can take several minutes to complete.

 Emulated CKD file name: /home/nova636/zos230/18VSARES1

Info: Processing complete: File /home/nova636/zos230/18VSARES1 created.

.nova636@z230:/usr/z1090/bin$




Now my ADCD z/OS 2.3 is ready:

-rwxrwxrwx 1 ibmsys1 ibmsys1 8539292672 Apr 21 04:17 01C3RES1*
-rwxrwxrwx 1 ibmsys1 ibmsys1  769694824 Apr 18 04:24 01VC3RES1.zpdt*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:29 02C3RES2*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:30 03C3CFG1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:31 04C3SYS1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:33 05C3USS1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:34 06C3USS2*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:35 07C3USR1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:37 08C3PRD1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:39 09C3PRD2*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:40 10C3PRD3*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:42 11C3PRD4*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:43 12C3DIS1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:45 13C3DIS2*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:46 14C3DIS3*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:47 15C3PAGA*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:48 16C3PAGB*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:49 17C3PAGC*
-rwxrwxrwx 1 ibmsys1 ibmsys1 8539292672 Apr 21 04:14 18SARES1*
-rwxrwxrwx 1 ibmsys1 ibmsys1  448657608 Apr 18 04:26 18VSARES1.zpdt*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:50 19C3IME1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:51 20C3IMF1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:53 21C3DBC1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:53 22C3DBC2*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:54 23C3DBAR*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:56 24C3DBB1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:57 25C3DBB2*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:58 26C3C541*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 09:59 27C3C531*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 10:01 28C3W901*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 10:02 29C3W902*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 10:03 30C3KAN1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 10:05 31C3BLZ1*
-rwxrwxrwx 1 root    root    8539292672 Apr 18 10:07 32C3INM1*











8  start ADCD


Following is the config file for example:


#ADCD z/OS 2.3 May 2019 basic definition: TCPIP QDIO definition
[system]
memory 12G
3270port 3270
processors 1
[manager]
name aws3274 1
device 0700 3279 3174 L700
device 0701 3279 3174 L701
device 0702 3279 3174 L702
device 0703 3279 3174 L703
device 0704 3279 3174 L704
device 0705 3279 3174 L705
device 0706 3279 3174 L706
device 0707 3279 3174 L707
device 0708 3279 3174 L708
device 0709 3279 3174 L709
device 070A 3279 3174 L70A
device 070B 3279 3174 L70B
device 070C 3279 3174 L70C
device 070D 3279 3174 L70D
device 070E 3279 3174 L70E
device 070F 3279 3174 L70F
device 0710 3279 3174 L710
device 0711 3279 3174 L711
device 0712 3279 3174 L712
device 0713 3279 3174 L713
device 0714 3279 3174 L714
device 0715 3279 3174 L715
device 0716 3279 3174 L716
device 0717 3279 3174 L717
device 0718 3279 3174 L718
device 0719 3279 3174 L719
device 071A 3279 3174 L71A
device 071B 3279 3174 L71B
device 071C 3279 3174 L71C
device 071D 3279 3174 L71D
device 071E 3279 3174 L71E
device 071F 3279 3174 L71F

[manager]
name awsckd 28  
device 0a80 3390 3990 ../zos230/01D3RES1
device 0a81 3390 3990 ../zos230/02D3RES2
device 0a82 3390 3990 ../zos230/04D3SYS1
device 0a83 3390 3990 ../zos230/03D3CFG1
device 0a84 3390 3990 ../zos230/05D3USS1
device 0a85 3390 3990 ../zos230/06D3USS2
device 0a86 3390 3990 ../zos230/15D3PAGA
device 0a87 3390 3990 ../zos230/16D3PAGB
device 0a88 3390 3990 ../zos230/17D3PAGC
device 0a89 3390 3990 ../zos230/08D3PRD1
device 0a8a 3390 3990 ../zos230/09D3PRD2
device 0a8b 3390 3990 ../zos230/10D3PRD3
device 0a8c 3390 3990 ../zos230/12D3DIS1
device 0a8d 3390 3990 ../zos230/13D3DIS2
device 0a8e 3390 3990 ../zos230/14D3DIS3
device 0a8f 3390 3990 ../zos230/32D3INM1
device 0a90 3390 3990 ../zos230/26D3C541
device 0a91 3390 3990 ../zos230/27D3C551
device 0a92 3390 3990 ../zos230/21D3DBC1
device 0a93 3390 3990 ../zos230/22D3DBC2
device 0a94 3390 3990 ../zos230/30D3KAN1
device 0a95 3390 3990 ../zos230/24D3DBB1
device 0a96 3390 3990 ../zos230/25D3DBB2
device 0a97 3390 3990 ../zos230/07D3USR1
device 0a98 3390 3990 ../zos230/28D3W901
device 0a99 3390 3990 ../zos230/29D3W902
device 0a9a 3390 3990 ../zos230/23D3DBAR # D3DBAR should be on 0AA3, to match with IODF
device 0a9b 3390 3990 ../zos230/31D3BLZ1
device 0a9c 3390 3990 ../zos230/20D3IMF1
device 0a9d 3390 3990 ../zos230/19D3IME1
device 0a9e 3390 3990 ../zos230/11D3PRD4
device 0a9f 3390 3990 ../zos230/18SARES1
device 0aa0 3390 3990 ../zos230/NOVA00







issue the following command to start

awsstart --map /z/v1r13.cfg --clean
ipl 0a80 parm 0a82cs


 
2.2 关闭虚拟机

需要在z/OS consol(注意,不是Linux)上执行下面两条命令。

S SHUTDOWN

$PJEST2

然后在Linux中执行awsstop,即完成关闭。

 
3. 基本的z/OS配置
3.1设置z/OS的IP

最简单的办法就是设置静态IP, 按下图修改ADCD.Z113H.TCPPARMS(PROF2),第一个地址是IP地址,第二个是本地IP范围,第三个是路由器的IP。


yin2.png

图 2 设置静态IP


3.2 增加一个卷

按手册2.47节,先创建一个新的卷镜像,

alcckd /z/WORK01 -d3390-3

然后在虚拟机硬件描述文件中,把卷对应到一个端口。

device AA0 3390 3990 /z/WORK01

 

最后,启动虚拟机后,用管理员在z/OS中执行下面的JCL。注意,手册中的JCL例子有误。

//BILLX JOB 1,IBMUSER,MSGCLASS=X

// EXEC PGM=ICKDSF,REGION=0M

//SYSPRINT DD SYSOUT=*

//SYSIN DD *

INIT UNIT(A97) NOVERIFY VOLID(WORK01) VTOC(0,1,14)

/*








参考来源:

https://www.ibm.com/developerworks/community/blogs/IBMzOS/entry/20140803?lang=zh





Q&A


01, if you have following error, then "Make sure your ubuntu support 32-bit"

root@z230:/home/nova636/zos230# ./z1090-1-9.53.05.01.x86_64
Do you accept and agree to the license terms? (Yes|No):yes
Installing sntl-sud rpm +++++
dpkg: error processing archive ./zpdtinsttemp/sntl-sud-7.5.6-1.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 ./zpdtinsttemp/sntl-sud-7.5.6-1.deb
ERROR: rpm install of sntl-sud-7.5.6-1.deb  failed with rc=1
   Please correct and re-start the install.





02, if you have following error, then you need "lib32stdc++6"

Do you accept and agree to the license terms? (Yes|No):yes
Installing sntl-sud rpm +++++
Selecting previously unselected package sntl-sud:i386.
(Reading database ... 67033 files and directories currently installed.)
Preparing to unpack .../sntl-sud-7.5.6-1.deb ...
Unpacking sntl-sud:i386 (7.5.6-1) ...
Setting up sntl-sud:i386 (7.5.6-1) ...
Created symlink /etc/systemd/system/default.target.wants/sentinel-shk-usb.service â /lib/systemd/system/sentinel-shk-usb.service.
Sentinel USB Daemon Started
Installing shk-server rpm +++++
Selecting previously unselected package zpdt-shk-server.
(Reading database ... 67038 files and directories currently installed.)
Preparing to unpack .../zpdt-shk-server-1.3.1.6-1.deb ...
  Error: required 32bit version of libstdc++ (lib32stdc++6) is not installed.
  Please install it and retry this install.
   RPM install is terminated.
dpkg: error processing archive ./zpdtinsttemp/zpdt-shk-server-1.3.1.6-1.deb (--install):
 new zpdt-shk-server package pre-installation script subprocess returned error exit status 9
Uninstallation was successful.
Errors were encountered while processing:
 ./zpdtinsttemp/zpdt-shk-server-1.3.1.6-1.deb
ERROR: rpm install of zpdt-shk-server-1.3.1.6-1.deb failed with rc=1
   Please correct and re-start the install.
root@z230:/home/nova636/zos230#




03, if you have following error, then go to Step02 to install unzip

root@z230:/usr/z1090/bin# ./Z1090_token_update -u myrequest.zip
Info: Processing ZIP file request: myrequest.zip
Error: Was not able to locate unzip in an appropriate directory
Error: Unable to process zip file.
Info: Command completed with 1 error(s).




04, if you have following error, then you need root to issue "/opt/safenet_sentinel/common_files/sentinel_keys_server/loadserv restart"

root@z230:/usr/z1090/bin# ./Z1090_token_update -status
Info: Processing Status request.
Error: Unable to locate ADCD-1 License.
Error: Unable to locate ADCD-2 License.
Info: Command completed with 2 error(s).




05, if you have following error, then remove all OSA related in DEVMAP

nova636@z230:~/zos230$ awsstart devmap
IBM System z Personal Development Tool (zPDT)
  Licensed Materials - Property of IBM
  5799-ADE
  (C) Copyright IBM Corp. 2007,2013   All Rights Reserved.
z1090, version 1.9.53.05.01, build date - 06/07/19 for Linux on Ubuntu 64bit
AWSSTA014I Map file name specified: devmap
AWSSTA204I zPDT started in directory '/home/nova636/zos230'.
AWSSTA146I Starting independent 1090 instance 'nova636'
OSA code level = 0x7617
 Socket Create error - no root authority? 1
TUNSETIFF failed: Operation not permitted
 allocate tunnel error
 Lan driver Init Failure !!!
 Lan driver Init Failure !!!
 Chpid Number F0 Has stopped - Max retry exceeded !!
AWSEMI314I CPU 0 zPDTA License Obtained
 Chpid Number A0 Has stopped - Max retry exceeded !!
AWSSTA125I System shutdown in progress ...
SERIAL:
SERIAL: UIM service could not process the local database -220
SERIAL: UIM_DB_DIRECTORY_NOEXIST
SERIAL:
AWSSTA138E Terminate CPU-0 failed, RC=43
AWSSTA134W One or more CPU(s) did not respond to TERMINATE request
AWSSTA052E Initialization of OSA failed, RC=-4
AWSSTA143I Shutdown complete
AWSSTA140E Initialization failure



06, if you have following error, you need to issue command as root

nova636@z230:~/zos230$ z1090instcheck
Checking zPDT prerequisites ....
 For more information about this script, issue : z1090instcheck  -?
 1. UBUNTU os level at 18.04 which is
         greater the minimum level                              OK
 2. UBUNTU kernel.shmmax of 36000000000 is greater than min.    *NOTE*
        shmmax should be greater than 1.1 times the sum
        of z memory (as specified in your devmap) for
        ALL your 1090 instances.
 3. UBUNTU (kernel.shmall * PAGE_SIZE) is 98304000000
        which is greater/equal to kernel.shmmax which is        OK
 4. UBUNTU kernel.msgmni is 512 which is                        OK
 5. UBUNTU kernel.msgmax is 65536 which is                      OK
 6. UBUNTU kernel.msgmnb is 65536 which is                      OK
 7. UBUNTU net.core.rmem_default is 1048576 which is            OK
 8. UBUNTU net.core.rmem_max is 1048576 which is                OK
 9. UBUNTU kernel.core_uses_pid is 1 which is                   OK
10. UBUNTU kernel.core_pattern is core-%e-%p-%t which is                OK
11. UBUNTU ulimit -c is set to unlimited                                OK
12. UBUNTU ulimit -d is set to unlimited                        OK
13. UBUNTU pkg dmidecode is installed which is                  OK
14. UBUNTU pkg glibc 32bit is installed which is                OK
15. UBUNTU userid is 8 or less characters                       OK
Running uimcheck ...
ERROR: UIMCHECK: Error processing the database (.db) file. rc=-220
Unable to initialize UIM database. rc=5








发表评论:

Powered By Z-BlogPHP 1.7.2