Topic
  • 10 replies
  • Latest Post - ‏2009-10-01T20:02:50Z by SystemAdmin
HMC99
HMC99
8 Posts

Pinned topic iSeriesAccess 6.1 for Linux not working.

‏2009-05-21T17:27:22Z |
I am using Fedora 10 and I posted an earlier thread "No Emulator Window". The errors I am getting say that they are "Warning" messages. So, by that I am guessing they are not the reason why it won't work.

My question would be does anyone have iSeriesAccess running on Fedora 10?

Thanks in adavance,
Mike
Updated on 2009-10-01T20:02:50Z at 2009-10-01T20:02:50Z by SystemAdmin
  • HMC99
    HMC99
    8 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-05-26T11:47:09Z  
    Well I wish I had better news. I have just tried ubuntu 9.04 and I get the same error messages. I'll keep trying but it's not looking good.
  • HMC99
    HMC99
    8 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-05-28T11:05:32Z  
    Well I got much further but still no 5250 emulation. From the URL below I was able to get setup5250 working and most of iSeriesAccess. Including cwbping which the results are posted below. But everytime I try 5250 emulation I get:

    5250: INFORMATIONAL : Build Date: March 2008 (V6R1 1.0).
    5250: ERROR : CWB0999 - Unexpected error: unexpected return code 9052

    Then after a few seconds I get prompted for my userid and password. I put that in
    and a few seconds after that I get a "ca_license_error_popup" window that says
    CWB0999 - Unexpected error: unexpected return code 9052 10061.

    I have 5722XW1 installed on a V5R4 system and on a separate system I have V6R1 and
    5761XW1 installed.

    Is there someone that can help me with this? I also have a cwbmedic.tgz file if that will help.

    Thanks in advance, I would really appreciate it,
    Mike

    ===========================================================================
    <internet info>
    http://ubuntuforums.org/showthread.php?s=2c9bc28a30c42d9589b22ab31cade749&t=165337&page=2

    $ sudo aptitude install msttcorefonts alien xfs libmotif3 libxaw6 libstdc++5
    $ sudo fc-cache -f -v
    $ sudo gedit /etc/X11/xorg.conf
    (add <<FontPath "unix/:7100">> in the files section)
    $ sudo alien -dc iSeriesAccess-5.4.0-1.2.i386.rpm
    (in this way, I maintain the .deb file for future uses)
    $ sudo dpkg -i iseriesaccess-5.4.0-2.2.i386.deb
    $ sudo ln -s /opt/ibm/iSeriesAccess/lib/*.so /usr/lib/
    $ sudo reboot
    (to apply the changes in the font server)

    </internet info>
    <cwbping info>
    IBM System i Access for Linux
    Version 6 Release 1 Level 0
    Connection Verification Program
    (C) Copyright IBM Corporation and Others 1984, 2008. All rights reserved.
    U.S. Government Users Restricted Rights - Use, duplication or disclosure
    restricted by GSA ADP Schedule Contract with IBM Corp.
    Licensed Materials - Property of IBM

    To cancel the CWBPING request, press CTRL-C or CTRL-BREAK
    I - Verifying connection to system 1xx.x.x.xx...

    I - Connection requested for server application: as-central
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8470 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:44569
    I - Connected to as-central (1xx.x.xx.xx:8470)
    I - Security validation in progress...
    I - Successfully connected to server application: Central Client

    I - Connection requested for server application: as-file
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8473 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:51690
    I - Connected to as-file (1xx.x.xx.xx:8473)
    I - Security validation in progress...
    I - Successfully connected to server application: Network File

    I - Connection requested for server application: as-netprt
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8474 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:35253
    I - Connected to as-netprt (1xx.x.xx.xx:8474)
    I - Security validation in progress...
    I - Successfully connected to server application: Network Print

    I - Connection requested for server application: as-database
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8471 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:45879
    I - Connected to as-database (1xx.x.xx.xx:8471)
    I - Security validation in progress...
    I - Successfully connected to server application: Data Access

    I - Connection requested for server application: as-dtaq
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8472 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:56052
    I - Connected to as-dtaq (1xx.x.xx.xx:8472)
    I - Security validation in progress...
    I - Successfully connected to server application: Data Queues

    I - Connection requested for server application: as-rmtcmd
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8475 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:44897
    I - Connected to as-rmtcmd (1xx.x.xx.xx:8475)
    I - Security validation in progress...
    I - Successfully connected to server application: Remote Command

    I - Connection requested for server application: as-signon
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 8476 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:37609
    I - Connected to as-signon (1xx.x.xx.xx:8476)
    I - Successfully connected to server application: Security

    I - Connection requested for server application: drda
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 446 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:38374
    I - Connected to drda (1xx.x.xx.xx:446)
    I - Successfully connected to server application: DDM

    I - Connection requested for server application: telnet
    I - CWBCO1009 - Communications provider: Linux TCP/IP
    I - System name is a valid address
    I - CWBCO1040 - Using remote port lookup mode: Always use the defined standard port
    I - CWBCO1022 - Remote port 23 will be used
    I - CWBCO1044 - Remote address 1xx.x.xx.xx
    I - Attempting to establish a connection...
    I - CWBCO1045 - Local address 1x.x.x.xx:45546
    I - Connected to telnet (1xx.x.xx.xx:23)
    I - Successfully connected to server application: Telnet

    I - Connection verified to system 1xx.x.xx.xx
    </cwbping info>
  • HMC99
    HMC99
    8 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-05-28T11:25:18Z  
    By the way, I did find a PTF for V5R4 5722XE1 - SI32972. But, sadly,
    I already have that PTF applied.
  • HMC99
    HMC99
    8 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-05-29T12:03:00Z  
    Well, I found out more by using the cwbtrc.

    cwbtrc /DT:1 /DPATH:/home/mike /DTICK:1 /HL:1 /HPATH:/home/mike /HTICK:1
    I the CWBC0149 over and over.
    CWBCO1049 - The System i server application (User defined) is not started, or the connection was blocked by a firewall

    After researching CWBC01049 I found an IBM Support document that was exactly what was happening to me.
    http://www-01.ibm.com/support/docview.wss?uid=nas1903479a42b18d13d86256f0500447ab5

    Problem Summary:
    Error message CWBCO1049 - The iSeries Server Application is not started is received when attempting to log on.

    Resolution:
    The iSeries Access Host Server applications were all started and functioning correctly.

    The cause of the problem was a software firewall that was running on the PC. It had inadvertently been configured to block iSeries Access applications from accessing the network. After the firewall restrictions were removed, the iSeries Access connections worked.
    Since cwbping works and everything reports in ok I have to assume the Support Doc is right. My problem is that the Support Doc did not say how to fix it. Re-configure the firewall yes, but, what - where- how? I am nowhere near a firewall expert and don't have a clue what to change to make iSeriesAccess emulator work.

    Bottom line is that I found the answer to what was wrong, but, I
    don't know what to fix.
  • Partridge
    Partridge
    5 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-07-28T19:39:02Z  
    • HMC99
    • ‏2009-05-29T12:03:00Z
    Well, I found out more by using the cwbtrc.

    cwbtrc /DT:1 /DPATH:/home/mike /DTICK:1 /HL:1 /HPATH:/home/mike /HTICK:1
    I the CWBC0149 over and over.
    CWBCO1049 - The System i server application (User defined) is not started, or the connection was blocked by a firewall

    After researching CWBC01049 I found an IBM Support document that was exactly what was happening to me.
    http://www-01.ibm.com/support/docview.wss?uid=nas1903479a42b18d13d86256f0500447ab5

    Problem Summary:
    Error message CWBCO1049 - The iSeries Server Application is not started is received when attempting to log on.

    Resolution:
    The iSeries Access Host Server applications were all started and functioning correctly.

    The cause of the problem was a software firewall that was running on the PC. It had inadvertently been configured to block iSeries Access applications from accessing the network. After the firewall restrictions were removed, the iSeries Access connections worked.
    Since cwbping works and everything reports in ok I have to assume the Support Doc is right. My problem is that the Support Doc did not say how to fix it. Re-configure the firewall yes, but, what - where- how? I am nowhere near a firewall expert and don't have a clue what to change to make iSeriesAccess emulator work.

    Bottom line is that I found the answer to what was wrong, but, I
    don't know what to fix.
    From testing it looks like the Client is failing to access shared memory with the linux client I believe that they write out the temp licence keys to a shared memory pool.

    So my linux OS's are ubuntu 9.1 and Fedora and see a shmget error 2 when starting the ibm5250 to a specific system. Now if I do a connection to a HMC it will work this is again leading me to thinking we are having an issue with the call to shared memory. Firewall is disabled. If I figure out the fix I'll update this post.
  • SystemAdmin
    SystemAdmin
    262 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-09-14T09:00:20Z  
    On Ubuntu 8.04 ibm5250 is working without problem for me, but due to a change in the PC I'm using for work I had have to change to 9.04 and on this ibm5250 doesn't work anymore with about the same problem described in the first post.

    I have the opportunity to check it on both Ubuntu versions, and all I can see as a difference is by using -debug switch for ibm5250 is the following line:
    "5250: ERROR : CWB0999 - Unexpected error: unexpected return code 9052"

    Both on 8.04 and 9.04 there are the lines:
    5250: DEBUG : Return code from CWBLM_REQUESTLICENSE2=9052 h=2000.
    5250: DEBUG : Security failed: securityInfoToUse = 0, license_manager_rc = 9052, Prompting for UID and password.

    but it didn't stop running after I entered authorisation details.

    I'm more than happy to provide any more information about my environment or anything to get this problem corrected, just please specify what I should provide.
  • SystemAdmin
    SystemAdmin
    262 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-10-01T14:48:50Z  
    Hi,

    Here we have the same problem.
    Does anyone know how to correct this problem ?

    Tks
    Garcia.
  • HMC99
    HMC99
    8 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-10-01T16:14:43Z  
    On Ubuntu 8.04 ibm5250 is working without problem for me, but due to a change in the PC I'm using for work I had have to change to 9.04 and on this ibm5250 doesn't work anymore with about the same problem described in the first post.

    I have the opportunity to check it on both Ubuntu versions, and all I can see as a difference is by using -debug switch for ibm5250 is the following line:
    "5250: ERROR : CWB0999 - Unexpected error: unexpected return code 9052"

    Both on 8.04 and 9.04 there are the lines:
    5250: DEBUG : Return code from CWBLM_REQUESTLICENSE2=9052 h=2000.
    5250: DEBUG : Security failed: securityInfoToUse = 0, license_manager_rc = 9052, Prompting for UID and password.

    but it didn't stop running after I entered authorisation details.

    I'm more than happy to provide any more information about my environment or anything to get this problem corrected, just please specify what I should provide.
    On Ubuntu 9.04 I had to:

    sudo nano -w /etc/hosts

    then comment the ip6-localhost line as below:

    1. The following lines are desirable for IPv6 capable hosts
    2. ::1 localhost ip6-localhost ip6-loopback
  • HMC99
    HMC99
    8 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-10-01T16:16:50Z  
    • HMC99
    • ‏2009-10-01T16:14:43Z
    On Ubuntu 9.04 I had to:

    sudo nano -w /etc/hosts

    then comment the ip6-localhost line as below:

    1. The following lines are desirable for IPv6 capable hosts
    2. ::1 localhost ip6-localhost ip6-loopback
    I don't know why the numbers replaced my #

    #The following lines are desirable for IPv6 capable hosts
    1. ::1 localhost ip6-localhost ip6-loopback
  • SystemAdmin
    SystemAdmin
    262 Posts

    Re: iSeriesAccess 6.1 for Linux not working.

    ‏2009-10-01T20:02:50Z  
    • HMC99
    • ‏2009-10-01T16:16:50Z
    I don't know why the numbers replaced my #

    #The following lines are desirable for IPv6 capable hosts
    1. ::1 localhost ip6-localhost ip6-loopback
    Perfect !!!

    That's all ok now

    Thank you very much !!!!

    Best regards,
    Garcia.