Skip to main content

How to check, If SAP instance is not getting start/up in Linux - disp+work dispatcher IGS Watchdog Gateway ICM

Hi mate, This is Sharath. I'm working as a SAP Basis Hana Consultant. So, I have some good knowledge and experience on SAP Application servers from ERP 6.0 to S/4 Hana. Including some data bases like Hana 1.0,2.0, Sybase & Oracle etc. Here, in this Article, I would like to explain, in how many ways we can check & analyze, if an sap instance is not getting start.

There are many root causes for that. That may be

  • Sap buffer memory allocation issue.
  • Shared memory  allocation issue.
  • Dispatcher work process is in struct/hang state
  • May be port issue, etc.

Let me start with above one by one reason first, then will go ahead all other possibilities.

Root causes and analysis - SAP instance:

  1. Memory Allocation issues :

    If your maintaining the system sizing & files system properly as per standard sap guides & as per business process requirement. After that system will allocate some types buffer memories as default min values. But some times, as per system installation working process, the work processes had some more additional requires the shared segments or increment/decrements of abap buffer sizes.In this case, we can check the analysis by executing below sappfpar command with <SID>adm user at OS level. >/usr/sap/<SID>/SYS/exe/run/sappfpar check pf=/usr/sap/<SID>/SYS/exe/run/<profile_name> nr=<instance nuber> name=<SID> | more Here, profile name should like "<SID>_D<instance no>_Hostname". After executing the command, you will get the all buffer memory allocation report & requirement with errors & warnings. As per requirement change the profile parameters values & confirm by re-executing the same.

  2. Dispatcher is stopped :

    Most of the time sap instance is not getting boot because of the respective dispatcher is not in running state. We can easily check & confirm with the below command. > sapcontrol -nr <instance number> -function GetProcessList instance In cause, if suppose the network issue has occurred, then respective all services will down in the server. Then if you try to start the instance services manually, It could not be start & the dispatcher is in stopped state with Gray rather than GREEN & running status. Solution : Find out the stopped work processes id's (pid) by executing above command once again. Then kill that all work process manually. > kill -9 <WP ID> Then start the sap_instance again and also check the dispatcher status.
  3. Gateway/Dispatcher Ports issue :

    Some times both instances ASCS, PASS are started but respective Dispatcher is not in running status. Because while booting, the respective gateway/dispatcher ports 33<nn>, 32<nn> are not in free with in the server. Those ports are already established in that server. So, you need find out & kill them manually by using below commands. > fuser port/tcp or >netstat -nap | grep 33/32  : to find listening ports>fuser -k port/tcp  : to kill the listening port. Otherwise simple reboot the application server.
  4. Once the Database is up and running, then it should be connect through the <SID>adm user from Application server. You can cross verify it by using below command. Here, R3trans should be finished with '0000'. #sidadm> R3trans -d instance If not, it may cause due to the dispatcher & gateway not working, you can cross verify from Step 2 again. You can also check the trans.log as like below, >su - <sid>adm >cat trans.log

Buffer instance IPC cleanup process :

You can cleanup the ipc buffer by executing the below commands at instance level.

  • Switch to <sid>adm user then run the below command
  • cleanipc <instance no> remove OR
  • cleanipc all remove

Note : Still if you face any issue, please check the below log files, which are exist under the instance work directory. Take the action accordingly.

dev_disp dev_icm dev_rd dev_w0, dev_w1 ...

Thanks!

"If you like this Article, share to your buddies & hit me with FB like button. If you have any query, let me know as a comment below"

Comments

  1. Hello Multi Tech Buzz

    After i try all the step you mentioned here i still face with the issues of "gwrd, Gateway, GRAY, Stopped, , , 16833
    icman, ICM, GRAY, Stopped, , , 16834" after i started the instance and run sapcontrol Command. I am new on SAP Basis.

    My question is that you said i should check the below logs
    dev_disp
    dev_icm
    dev_rd
    dev_w0, dev_w1 …
    Where cani locate the Log File.
    Secondly my System is running on HANA DB with SUSE as the OS and the SAP Application is S/4HANA 1709.
    Thanks

    ReplyDelete
  2. Hi,

    Please check in below path of dialog instance work directory of application

    /usr/sap/SID/D[instance no]/work/

    ReplyDelete

Post a Comment

Popular posts from this blog

New Hidden Instagram Features: Auto-Scroll, Playback Speed, Closed Captions (CC) & Full-Screen Mode

Instagram continues to improve the way people watch and interact with short-form videos. While most users are familiar with basic Instagram Reels controls, the platform is introducing and testing several useful playback features that many people may not have noticed yet. These features make watching Reels more convenient, flexible, and enjoyable. Whether you want to watch videos without touching your screen, adjust playback speed, read captions while watching, or enjoy videos without distracting interface elements, Instagram's newer playback controls offer something useful. In this guide, we will explore four interesting Instagram features: Auto-Scroll, Playback Speed, Closed Captions (CC), and Full-Screen Mode. We will explain what each feature does, how to access it, and why you might find it useful. 1. Instagram Auto-Scroll Feature – Watch Reels Without Swiping One of the most convenient additions to Instagram Reels is the Auto-Scroll feature. Normally, when watching Insta...

Troubleshooting SAP Fiori Applications & Generic Apps Tiles loading issues

There are many ways we can troubleshoot the SAP Fiori applications, tiles issues & other Odata services problems. Some times, after completed the all Apps configurations also, the respective tiles are may not load properly.  I will guide you with the available possibilities. Tools & Options: Tcodes : /IWFND/ERROR_LOG /IWBEP/ERROR_LOG Page inspection Code tool Meta data Cache cleanup Front/Back end Cache cleanup Complete Troubleshooting guide for Fiori Apps & Tiles issues: As per the information available in the Fiori Apps Library, we will configure & active the all required apps, Right..! Once you assign the Role, respective App should be appear under the respective Catalog & Group. But some times may not load the tile or may get the error like "Can't load the groups" or "can't load the tile" when you open the App. It may happen due to some Odata services mapping issue or may be due to the wrong system ali...

SAP Basis Administrator job roles & responsibilities including Hana, S4 Fiori, Solman

Dear, you should know the all roles & tasks responsibilities as a SAP Basis Consultant. Here, I will try to give the information on daily, weekly and monthly base activities. Including S4 Hana, Fiori, Solution Manager 7.1/7.2 and on Hana Databases and other DB's. Definition of SAP Basis The SAP Basis Administrator is responsible for the management of the SAP environment. Other responsibilities like implementing, configuring and troubleshooting the sap technical environment. As well as scheduling and executing the sap transport system. The consultant is also responsible for installation, upgrade and maintenance of SAP systems. Additional Roles & Responsibilities : Additionally the consultant should able to do configuration, monitoring and tuning of the sap technical environment.  Also able to design of interfaces between the SAP and external systems, optimize & analyze the performance issues, design the architecture of the landscape. He should be able to... ...