Sunteți pe pagina 1din 6

25/02/2019 Application instance not starting ,dispatcher in gray status with DNS error | SAP Blogs

Products
Products Industries
Industries Services and Support
Services Support Training
Training Community
Community Developer
Developer Partner
Partner About
About  
Ask a Question Write a Blog Post Login

Technical Articles

Manjunath Hanmanthgad
October 12, 2018 1 minute read

Application instance not starting ,dispatcher in gray status with DNS error
Follow RSS feed Like

0 Likes 56 Views 0 Comments

Trying to start the SAP system and stuck with the error related to DNS.

Error as reported :
Post upgrade I was trying to start the application instance but I was unable to start the SAP instance.
I could see when issuing sapcontrol -nr $$ -function GetProcessList command the dispatcher can be seen in GRAY status indicating it is stopped.

sapcontrol -nr <instance number> -function GetProcessList

https://blogs.sap.com/2018/10/12/application-instance-not-starting-dispatcher-in-gray-status-with-dns-error/ 1/6
25/02/2019 Application instance not starting ,dispatcher in gray status with DNS error | SAP Blogs

<DATE> <TIME>
GetProcessList
OK
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
msg_server, MessageServer, GREEN, Running, 2017 10 26 08:00:50, 4:53:13, 12486
disp+work, Dispatcher, GRAY, Stopped, , , 12488

Identifying the issue


I could see that from the entries when the network check is being performed the conversion/resolution of service to port number is not working ne.Also there
were entries were clearly it was indicating there were some issues in the network layer. (OR maybe something was wrong in my network configuration ?)

Troubleshooting
From the GetProcessList output I was con dent the issue was with the dispatcher.So my next step was to check in the dispatcher trace le ( dev_disp).

In dispatcher trace le (dev_disp) the entries can be seen as :

*** WARNING => DpNetCheck: NiServToNo(sapdpXX) failed (rc=-3)


*** ERROR => DpNetCheck: NiServToNo(sapgwXX) failed (rc=-3) [dpxxtool2.c 6316]
***LOG GZZ=> 2 possible network problems detected – check trace le and adjust the DNS settings [dpxxtool2.c 6454]
MtxInit: 30000 0 0
*** ERROR => DpSysAdmExtCreate: ShmCreate (CREATE) [dpxxtool2.c 648]
*** ERROR => dispatcher already running ???? [dpxxtool2.c 649]
*** ERROR => I better EXIT before I do any (more) damage [dpxxtool2.c 651]

https://blogs.sap.com/2018/10/12/application-instance-not-starting-dispatcher-in-gray-status-with-dns-error/ 2/6
25/02/2019 Application instance not starting ,dispatcher in gray status with DNS error | SAP Blogs

Here I could notice 2 main functions :

1. DpNetCheck –> This function checks the network con guration.

2. NiServToNo –> This function convert service name to (port) number

The cause of the issue was the services sapdp<instance number> and sapgw<instance number> are missing from the services le.

Resolution <<<< luckily it worked >>>>


In order to resolve the issue I followed the below steps :

1. Maintain the services sapdpXX and sapgwXX services in services le.

A. Location of services le for linux/unix is as /etc/services


B. Location for Windows OS is under \Windows\System32\drivers\etc\services

2. The entries in the services le should nally look like

sapdpXX#32XX/tcp## SAP System Dispatcher Port

https://blogs.sap.com/2018/10/12/application-instance-not-starting-dispatcher-in-gray-status-with-dns-error/ 3/6
25/02/2019 Application instance not starting ,dispatcher in gray status with DNS error | SAP Blogs

sapgwXX#33XX/tcp## SAP System Gateway Port

To get more information on the ports and their usage please see the link TCP/IP Ports of All SAP Products

Post maintaining the entry in the services le I was able to start the system.

Happy reading

Feel free to let me know in case any queries.

Regards,
Manjunath Hanmanthgad

Alert Moderator

https://blogs.sap.com/2018/10/12/application-instance-not-starting-dispatcher-in-gray-status-with-dns-error/ 4/6
25/02/2019 Application instance not starting ,dispatcher in gray status with DNS error | SAP Blogs

Assigned tags

NW Client/Server Technology (CST) | SAP NetWeaver Application Server for ABAP |

Related Blog Posts

Con guring NEA at the Web Dispatcher – my personal takeaways


By Isaias Freitas , May 29, 2018

Stopping sapstartsrv.exe on windows stops the complete instance


By Manjunath Hanmanthgad , Oct 15, 2018

Securing the communication between a Web Dispatcher and its backend


By Isaias Freitas , May 05, 2015

Related Questions

web dispatcher cabality for portal link which has other link to bo
By Akin Öztopuz , Jan 06, 2019

Web dispatcher forwarding issue


By Kaan Turkes , Aug 06, 2018

disp+work.exe will not start after refresh - rdisp/mshost parameter not being picked up from pro le
By Matt Savage , Aug 14, 2018

Be the rst to leave a comment

You must be Logged on to comment or reply to a post.

https://blogs.sap.com/2018/10/12/application-instance-not-starting-dispatcher-in-gray-status-with-dns-error/ 5/6
25/02/2019 Application instance not starting ,dispatcher in gray status with DNS error | SAP Blogs

Share & Follow

Privacy Terms of Use Legal Disclosure Copyright Trademark Cookie Preferences Sitemap Newsletter

https://blogs.sap.com/2018/10/12/application-instance-not-starting-dispatcher-in-gray-status-with-dns-error/ 6/6

S-ar putea să vă placă și