Labels

Wednesday, April 6, 2016

Segmentation fault (core dumped)

This topic is about the above error. This error comes, when trying to start Siebel Server on Linux or Unix Env.

This error has multiple sections and the solution is based on that. Segmentation fault generally occurs when there is improper access to memory. This can occur if the environment variables are not properly set like the LIBRARY_PATH.

Also, the error can look like --
Segmentation fault (core dumped)
or
Illegal instruction(coredump)
 or
Memory fault(coredump)


1st Scenario:-- Normal running Siebel Env.
You logged into Unix box. Set the environment variable & Siebel variable(siebenv.sh). Started the Siebel server. The server does not start and gives above error. Or the server starts and the processes get killed.

Solution:-- Start the Enterprise cleanly. Remove shm & osdf file. Stop mw processes. Start the Siebel server. Check for zombie processes in Linux env.


2nd Scenario:-- Upgraded Siebel Env.
You logged into Unix box. Set the environment variable. While setting Siebel variable(siebenv.sh), the above error pops up.
Solution:-- This error comes when the Siebel specific parameters are not getting set properly. Check for all important packages installed on the server, especially ldap. I found this error due to missing of nss-pam-ldapd.
If all packages are installed, run the Siebel startup commands in debug mode and check where siebenv.sh file is getting stuck.


3rd Scenario:-- even after checking everything, servers are not coming up.
Sometimes, svc file might have corrupted or after upgrade svc file has not been recreated.
Solution:-- svc file need to be recreated and then try starting the Siebel server.


For further details and alternate solution see this link

The DLL 'sscaspbc.dll' could not be loaded.(SBL-DAT-00170)

This post is about the above error. The error was coming after Siebel has been upgraded to IP2015 with patchset5. The error was showing in Accounts.

The error shows, when user tries to access any view under, Site Map -> Accounts ---

The DLL 'sscaspbc.dll' could not be loaded.(SBL-DAT-00170)


 In the log file for OM, we can see below two errors generic errors and does not point to anything concrete --
SBL-GEN-09603: Unable to connect to named pipe.
or
SBL-NET-01034: The SISNAPI connection was closed by the peer.


There is no issue with the Enterprise or the Siebel Server or any components running on it.
For Siebel Upgrade, I started looking into other aspects like OS compatibility and DB version and LDAP connectivity, etc. But everything looked fine. On Oracle support too, I did not find anything useful.

Later checked for c++ & ldap packages installed on the linux server. It seems, one of the 32-bit version of c++ package was missing. After installing the package and restarting the enterprise, the error is gone.

Solution:- Check for c++ & ldap packages the linux servers.

List of package details for c++ or higher version, both 32-bit & 64-bit, that need to be present on the server --
     $ rpm -qa | grep c++
     gcc-c++-4.4.6-4.el6.x86_64
     compat-libstdc++-33-3.2.3-69.el6.x86_64
     libstdc++-devel-4.4.6-4.el6.i686
     libstdc++-devel-4.4.6-4.el6.x86_64
     compat-libstdc++-296-2.96-144.el6.i686
     libstdc++-4.4.6-4.el6.i686
     compat-libstdc++-33-3.2.3-69.el6.i686
     libstdc++-4.4.6-4.el6.x86_64