cancel
Showing results for 
Search instead for 
Did you mean: 

HANA services issue - webdispatcher not running

Former Member
0 Kudos

Hi experts,

Two of my HANA services have been facing some issues you may help me solve. As I'm new at hana, I don't know why they started failing.


Below is a screenshot of my services status.

  • I've tried to restart webdispatcher service but i get the following error code: "SAP DBTech JDBC: [2]: general error: service or host or port is not found"

Looking at my trace files I can see the following logs:

webdispatcher_alert_mo-fd98c3e5f.30006.000


[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508388 e webdispatcher    webdispatcher.cpp(00638) : Trying to create webdispatcher.ini. Error: File already exists!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508582 e webdispatcher    webdispatcher.cpp(00112) : Exception during startup!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508586 e webdispatcher    webdispatcher.cpp(00113) : exception  1: no.306101  (spine/webdispatcher/webdispatcher.cpp:639)

    Profile migration failed! Configuration already migrated!

exception throw location:

1: 0x00007fbfd5a83078 in WebDispatcher::WebDispatcherService::migrateProfile()+0x234 at webdispatcher.cpp:639 (hdbwebdispatcher)

2: 0x00007fbfd5a83ad9 in WebDispatcher::WebDispatcherService::handleConfigurationDuringStartup()+0x5 at webdispatcher.cpp:239 (hdbwebdispatcher)

3: 0x00007fbfd5a8405f in WebDispatcher::WebDispatcherService::startup()+0x2b at webdispatcher.cpp:101 (hdbwebdispatcher)

4: 0x00007fbfd5aab20a in nlsui_main+0x926 at TrexService.cpp:684 (hdbwebdispatcher)

5: 0x00007fbfd2fd0ec3 in System::mainWrapper(int, char**, char**)+0x30 at IsInMain.cpp:269 (libhdbbasis.so)

6: 0x00007fbfd14ddc36 in __libc_start_main+0xe2 (libc.so.6)

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.542195 e webdispatcher    webdispatcher.cpp(00114) : Web Dispatcher could not been started!

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409565 e webdispatcher    webdispatcherlib.cpp(00036) : Closing shared library failed:

webdispatcher_mo-fd98c3e5f.30006.000


[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419811 i Basis            TraceStream.cpp(00464) : ==== Starting hdbwebdispatcher, version 1.00.102.00.1442292917 (fa/newdb100_rel), build linuxx86_64 52f6ca2fae0efb72ced88ca2e9327bac37458cca 2015-09-15 07:06:35 ld7272 gcc (SAP release 20140516, based on SUSE gcc47-4.7.2_20130108-0.15.45) 4.7.2 20130108 [gcc-4_7-branch revision 195014]

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419934 i Basis            TraceStream.cpp(00466) : MaxOpenFiles: 1048576

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419948 i Basis            TraceStream.cpp(00469) : Server Mode: L2 Delta

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419960 i Basis            ProcessorInfo.cpp(00731) : Using GDT segment limit to determine current CPU ID

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419961 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419962 i Memory           AllocatorImpl.cpp(01333) : Allocators activated

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.419964 i Memory           AllocatorImpl.cpp(01349) : Using big block segment size 8388608

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.465694 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508357 i webdispatcher    webdispatcher.cpp(00634) : A file named sapwebdisp.pfl has been detected. Configuration has to be migrated to webdispatcher.ini before first startup!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508388 e webdispatcher    webdispatcher.cpp(00638) : Trying to create webdispatcher.ini. Error: File already exists!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508582 e webdispatcher    webdispatcher.cpp(00112) : Exception during startup!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.508586 e webdispatcher    webdispatcher.cpp(00113) : exception  1: no.306101  (spine/webdispatcher/webdispatcher.cpp:639)

    Profile migration failed! Configuration already migrated!

exception throw location:

1: 0x00007fbfd5a83078 in WebDispatcher::WebDispatcherService::migrateProfile()+0x234 at webdispatcher.cpp:639 (hdbwebdispatcher)

2: 0x00007fbfd5a83ad9 in WebDispatcher::WebDispatcherService::handleConfigurationDuringStartup()+0x5 at webdispatcher.cpp:239 (hdbwebdispatcher)

3: 0x00007fbfd5a8405f in WebDispatcher::WebDispatcherService::startup()+0x2b at webdispatcher.cpp:101 (hdbwebdispatcher)

4: 0x00007fbfd5aab20a in nlsui_main+0x926 at TrexService.cpp:684 (hdbwebdispatcher)

5: 0x00007fbfd2fd0ec3 in System::mainWrapper(int, char**, char**)+0x30 at IsInMain.cpp:269 (libhdbbasis.so)

6: 0x00007fbfd14ddc36 in __libc_start_main+0xe2 (libc.so.6)

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.542195 e webdispatcher    webdispatcher.cpp(00114) : Web Dispatcher could not been started!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.542203 i webdispatcher    webdispatcher.cpp(00203) : Trigger service stop!

[41590]{-1}[-1/-1] 2016-01-19 01:05:12.542320 i Service_Shutdown TrexService.cpp(00784) : Preparing for shutting service down

[41600]{-1}[-1/-1] 2016-01-19 01:05:17.262919 w Environment      Environment.cpp(00352) : Changing environment set __KMP_REGISTERED_LIB_41590=0x7fbfbdeb2310-cafed375-libiomp5.so

[41600]{-1}[-1/-1] 2016-01-19 01:05:17.264218 w Environment      Environment.cpp(00375) : Changing environment set IMSLERRPATH=/usr/sap/GPO/HDB00/exe//

[41600]{-1}[-1/-1] 2016-01-19 01:05:17.264229 w Environment      Environment.cpp(00375) : Changing environment set IMSLSERRPATH=/usr/sap/GPO/HDB00/exe//

[41600]{-1}[-1/-1] 2016-01-19 01:05:17.401364 i webdispatcher    webdispatcher.cpp(00193) : Notified Nameserver about shutdown preparation

[41600]{-1}[-1/-1] 2016-01-19 01:05:17.401375 i webdispatcher    webdispatcher.cpp(00159) : Web Dispatcher Shutdown initiated!

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401512 i Service_Shutdown TrexService.cpp(00843) : Disabling signal handler

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401522 i Service_Shutdown TrexService.cpp(00855) : Stopping self watchdog

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401524 i Service_Shutdown TrexService.cpp(00867) : Stopping request dispatcher

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401526 i Service_Shutdown TrexService.cpp(00874) : Stopping responder

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401527 i Service_Shutdown TrexService.cpp(00881) : Stopping channel waiter

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401534 i Service_Shutdown TrexService.cpp(00886) : Shutting service down

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.401535 i webdispatcher    webdispatcher.cpp(00163) : Waiting for Web Dispatcher Shutdown ...

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.402212 i webdispatcher    webdispatcher.cpp(00199) : Notified Nameserver about shutdown

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.402223 i Service_Shutdown TrexService.cpp(00891) : Stopping threads

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.402640 i Service_Shutdown TrexService.cpp(00896) : Stopping communication

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409523 i Service_Shutdown TrexService.cpp(00903) : Deleting console

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409548 i Service_Shutdown TrexService.cpp(00911) : Deleting self watchdog

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409550 i Service_Shutdown TrexService.cpp(00919) : Deleting request dispatcher

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409551 i Service_Shutdown TrexService.cpp(00927) : Deleting responder

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409553 i Service_Shutdown TrexService.cpp(00935) : Deleting service

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409565 e webdispatcher    webdispatcherlib.cpp(00036) : Closing shared library failed:

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409578 i Service_Shutdown TrexService.cpp(00942) : Deleting threads

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409582 i Service_Shutdown TrexService.cpp(00948) : Deleting pools

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409595 i Service_Shutdown TrexService.cpp(00958) : Deleting configuration

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.409598 i Service_Shutdown TrexService.cpp(00962) : Removing pidfile

[41590]{-1}[-1/-1] 2016-01-19 01:05:17.410349 i Service_Shutdown TrexService.cpp(00999) : System down

  • This is the current configuration for webdispatcher.ini

  • I also tried restarting my instance with root user through ssh with no success.

Any help will be greatly appreciated!

-Mayco

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solved!

Renaming webdispatcher.ini and starting the instance again did the trick.

bulent_ozgul
Participant
0 Kudos

Hi Mayco,

Could you please give a little bit more info? Did you only renamed the webdispatcher.ini file on OS and did nothing else? Does it matter the new name of the file?

Thank you

Answers (0)