Skip to main content

Problem

After installing Enterprise Server, the ESDEMO test region does not start.

Resolution

First place to look when encountering any error is the console.log file.  This file can be found in the server work area which /is /var/microfocus/es/<server_name> by default.

$ cat console.log
CASCD0100I ES Daemon Initialized (Ver CAS 5.1.05) 13:41:51
CASCD0028I Console Daemon running with effective user ID = 00515 13:41:51
CASCD0120I Server manager created for ES ESDEMO, process-id = 4452 13:41:52
CASSI0000I Server manager initialization started 13:41:52
CASSI4005I Retrieving ES configuration from MFDS (10.120.72.168:5108) 13:41:53
CASSI0012I Region running in 32 bit mode 13:41:54
CASCD1063I Event Manager created for Server ESDEMO, process-id = 4453 13:41:54
CASCD1020I JCP service process created for region ESDEMO, process-id = 4454 13:41:54
CASCD0127I SEP 00001 created for ES ESDEMO, process-id = 4455 13:41:54
CASCD0127I SEP 00002 created for ES ESDEMO, process-id = 4457 13:41:54
CASCD0144S SEP 00001 for ES ESDEMO exited with value 00127 13:41:54
CASCD1038I ES Communications Server created, ES ESDEMO, process-id = 4458 13:41:54
CASKC1000I ES concurrent request limit: 0000000010 13:41:54
CASSI1000I Server Manager initialization completed successfully 13:41:54
CASCD0144S SEP 00002 for ES ESDEMO exited with value 00127 13:41:54
CASSI1501I Event Manager initialization started 13:41:54
CASSI1503I Event Manager initialization complete 13:41:54
CASJC0001I Journal control initialized 13:41:54
CASSP0002I Server manager informed of process termination, pinfo = S,0000004455 13:41:54 
CASSP0002I Server manager informed of process termination, pinfo = S,0000004457 13:41:54

CASCS5001I Communications interface 01 initialization started 13:41:54 CASCS5004S Communications interface 01 registration failed, reason = 13 13:41:54 CASKC1002I ES allocated license limit: 0000000010 units, peak usage: (none) units 13:41:55 CASST5230I Event Manager Process termination started 13:41:55 CASST5231I Event Manager Process termination complete 13:41:55 CASST0000I Server manager termination started 13:41:55 CASCD1064I Event Manager for Server ESDEMO has terminated normally 13:41:55 CASST0001I Server manager termination completed successfully 13:41:56 CASCD0130I Server manager ESDEMO has terminated normally 13:41:56 CASCD0101I ES Daemon Terminated 13:41:56 CASCD0174I ES Console process termination control thread exited 13:41:56

 The lines highlighted in red above show that the server manager process attempted to start 2 SEP's but both terminated.  At this point you need to determine if there are any messages sent to the terminal during server start-up.  To do this you can manually start each server process as follows

 

$ cascd32 -rESDEMO -a &
[1] 4491
]$ CASCD0100I ES Daemon Initialized (Ver CAS 5.1.05) 13:43:34

$ casmgr32 -rESDEMO &
[2] 4515
$ CASSI0000I Server manager initialization started 13:44:09
CASSI4005I Retrieving ES configuration from MFDS (127.0.0.1:5108) 13:44:10
CASSI0012I Region running in 32 bit mode 13:44:11

$ cassi32 -rESDEMO &
[3] 4517
$ cassi32: error while loading shared libraries: libstdc  .so.6: cannot open shared object file: No such file or directory
[3]   Exit 127                cassi32 -rESDEMO

 

The error above shows that the cassi32 process cannot be loaded because of an error loading libstdc .so.6.  You can use the ldd command to examine all the dependencies of an executable or shared object.

$ cd $COBDIR/bin $ ldd cassi32
        linux-gate.so.1 =>  (0x00700000)
        libcasmfsysv.so => /home/products/sx51ws8/lib/libcasmfsysv.so (0x00b5c000)
        libdfhutil.so => /home/products/sx51ws8/lib/libdfhutil.so (0x00cdf000)
        libmfidtsys.so.2 => /home/products/sx51ws8/lib/libmfidtsys.so.2 (0x00b41000)
        libcobrts.so.2 => /home/products/sx51ws8/lib/libcobrts.so.2 (0x00d2c000)
        libcobcrtn.so.2 => /home/products/sx51ws8/lib/libcobcrtn.so.2 (0x004ae000)
        libcobmisc.so.2 => /home/products/sx51ws8/lib/libcobmisc.so.2 (0x00284000)
        libc.so.6 => /lib/libc.so.6 (0x004eb000)
        libdl.so.2 => /lib/libdl.so.2 (0x00f92000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00110000)
        libstdc  .so.6 => not found
        libm.so.6 => /lib/libm.so.6 (0x00971000)
        libcobscreen.so.2 => /home/products/sx51ws8/lib/libcobscreen.so.2 (0x00ae4000)
        /lib/ld-linux.so.2 (0x00306000)

 We can see that libstdc .so.6 is the only dependency that cannot be located for the cassi32 executable.  This could be caused by the location of the shared object not being included in LD_LIBRARY_PATH/LIBPATH/SHLIB_PATH or because the library isn't installed on the system.  Therefore the next step is to attempt locate the missing library on the system.

$ find / -name libstdc  .so.6 2>/dev/null
$

In this instance libstdc was not found so the next step is to install the library.  You can locate the required package using yum.

$ yum provides libstdc  .so.6
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: refresh-packagekit, security
rhel-dvd                                                                                                                                                                           | 4.0 kB     00:00 ...
rhel-dvd/primary_db                                                                                                                                                                | 3.1 MB     00:00 ...
libstdc  -4.4.6-3.el6.i686 : GNU Standard C   Library
Repo        : rhel-dvd
Matched from:
Other       : libstdc  .so.6

The relevant package can then be installed using yum or another suitable package management tool.

# sudo yum install libstdc  -4.4.6-3.el6.i686
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
rhel-dvd                                                                                                                                                                           | 4.0 kB     00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libstdc  .i686 0:4.4.6-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================================================
Package                                          Arch                                        Version                                               Repository                                       Size
==========================================================================================================================================================================================================
Installing:
libstdc                                          i686                                        4.4.6-3.el6                                           rhel-dvd                                        298 k

Transaction Summary
==========================================================================================================================================================================================================
Install       1 Package(s)

Total download size: 298 k
Installed size: 908 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libstdc  -4.4.6-3.el6.i686                                                                                                                                                             1/1
Installed products updated.

Installed:
  libstdc  .i686 0:4.4.6-3.el6

Complete!

Now the ldd command shows that all dependencies for the cassi32 process can be resolved.

$ ldd cassi32
        linux-gate.so.1 =>  (0x00c82000)
        libcasmfsysv.so => /home/products/sx51ws8/lib/libcasmfsysv.so (0x00bdc000)
        libdfhutil.so => /home/products/sx51ws8/lib/libdfhutil.so (0x00456000)
        libmfidtsys.so.2 => /home/products/sx51ws8/lib/libmfidtsys.so.2 (0x00407000)
        libcobrts.so.2 => /home/products/sx51ws8/lib/libcobrts.so.2 (0x00132000)
        libcobcrtn.so.2 => /home/products/sx51ws8/lib/libcobcrtn.so.2 (0x00d1d000)
        libcobmisc.so.2 => /home/products/sx51ws8/lib/libcobmisc.so.2 (0x00b1f000)
        libc.so.6 => /lib/libc.so.6 (0x00464000)
        libdl.so.2 => /lib/libdl.so.2 (0x00ad2000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0084c000)
        libstdc  .so.6 => /usr/lib/libstdc  .so.6 (0x001db000)
        libm.so.6 => /lib/libm.so.6 (0x00692000)
        libcobscreen.so.2 => /home/products/sx51ws8/lib/libcobscreen.so.2 (0x00110000)
        /lib/ld-linux.so.2 (0x00306000)

After installing libstdc the ESDEMO region started without a problem.


#Enterprise
#EnterpriseServer
#Server