IBM Support

PI22987: AGENTHOME/BIN/INIT/AGENT INCORRECTLY REFERS FOR SCRIPT TO IBM-UCDAGENT AND NOT AGENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 1. Install an UCD 6.1.0.1 agent on OpenJDK 1.7 from RedHat
    Enterprise Linux 6.5
    2. Make sure the user starting the agent service has got file
    system permissions:
    chown -R ucdagent /opt/ibm-ucd/agent/
    chgrp -R ucdagent /opt/ibm-ucd/agent/
    3. Make sure Agent starts after reboot
    [root@db1 agent]# cd /opt/ibm-ucd/agent/bin/init/
    [root@db1 init]# cp agent /etc/rc.d/init.d/ibm-ucdagent
    [root@db1 init]# vi /etc/rc.d/init.d/ibm-ucdagent
    Enter username and group for the agent service:
    AGENT_USER=ucdagent [check correct username]
    AGENT_GROUP=ucdagent [check correct groupname]
    4. [root@db1 init]# ln -s /etc/rc.d/init.d/ibm-ucdagent
    /etc/rc.d/rc5.d/S98ibm-ucdagent
    [root@db1 init]# ln -s /etc/rc.d/init.d/ibm-ucdagent
    /etc/rc.d/rc4.d/S98ibm-ucdagent
    [root@db1 init]# ln -s /etc/rc.d/init.d/ibm-ucdagent
    /etc/rc.d/rc3.d/S98ibm-ucdagent
    [root@db1 init]# chkconfig ibm-ucdagent --list
    ibm-ucdagent    0:off   1:off   2:off   3:on    4:on    5:on
    6:off
    [root@db1 init]# service ibm-ucdagent start
    [root@michaels init]# service ibm-ucdagent start
    Actual Result:
    Process outputs
    Starting ibm-ucdagent: -bash:
    /opt/ibm-ucd6101OpenJdk17055/agent3/bin/ibm-ucdagent: No such
    file or directory
    and agent does not start
    Expected Result:
    Process outputs
    Starting ibm-ucdagent:
    and agent starts
    

Local fix

  • Make sure the script points to the right location:
    SCRIPT="$AGENT_HOME/bin/agent"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Any                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * 1. Install an UCD 6.1.0.1 agent on OpenJDK 1.7 from RedHat   *
    * Enterprise Linux 6.5                                         *
    * 2. Make sure the user starting the agent service has got     *
    * file                                                         *
    * system permissions:                                          *
    * chown -R ucdagent /opt/ibm-ucd/agent/                        *
    * chgrp -R ucdagent /opt/ibm-ucd/agent/                        *
    * 3. Make sure Agent starts after reboot                       *
    * [root@db1 agent]# cd /opt/ibm-ucd/agent/bin/init/            *
    * [root@db1 init]# cp agent /etc/rc.d/init.d/ibm-ucdagent      *
    * [root@db1 init]# vi /etc/rc.d/init.d/ibm-ucdagent            *
    * Enter username and group for the agent service:              *
    * AGENT_USER=ucdagent [check correct username]                 *
    * AGENT_GROUP=ucdagent [check correct groupname]               *
    * 4. [root@db1 init]# ln -s /etc/rc.d/init.d/ibm-ucdagent      *
    * /etc/rc.d/rc5.d/S98ibm-ucdagent                              *
    * [root@db1 init]# ln -s /etc/rc.d/init.d/ibm-ucdagent         *
    * /etc/rc.d/rc4.d/S98ibm-ucdagent                              *
    * [root@db1 init]# ln -s /etc/rc.d/init.d/ibm-ucdagent         *
    * /etc/rc.d/rc3.d/S98ibm-ucdagent                              *
    * [root@db1 init]# chkconfig ibm-ucdagent --list               *
    * ibm-ucdagent    0:off   1:off   2:off   3:on    4:on    5:on *
    * 6:off                                                        *
    * [root@db1 init]# service ibm-ucdagent start                  *
    * [root@michaels init]# service ibm-ucdagent start             *
    * Actual Result:                                               *
    * Process outputs                                              *
    * Starting ibm-ucdagent: -bash:                                *
    * /opt/ibm-ucd6101OpenJdk17055/agent3/bin/ibm-ucdagent: No     *
    * such                                                         *
    * file or directory                                            *
    * and agent does not start                                     *
    * Expected Result:                                             *
    * Process outputs                                              *
    * Starting ibm-ucdagent:                                       *
    * and agent starts                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 6.1.0.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22987

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-07-30

  • Closed date

    2014-08-25

  • Last modified date

    2015-06-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

  • R600 PSN

       UP

  • R600 PSY

       UP

  • R601 PSN

       UP

  • R601 PSY

       UP

  • R610 PSN

       UP

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021