Hi All,
We have a problem connecting message server to logDB server.
The log DB server is started and listening on the port 5050.
DAP is configured to communicate with log DB server on same port 5050, as referenced in the doc.
Message server is configured to use the DAP above
we can connect to the log database using the SQL* plus with the credentials as per the logs below.
All genesys component including database is running on same server.
When we start the message server we get the following message and no client request is seen in the logdbserver log/screen
[GCSDBServer.cpp:126] [CGCSDBServer::connect] DOpenServerX: login=âlogdbâ, password=â************â, dbname=ââ,server=âctidbâ
addp-trace both
(addp_xconfig) local OFF, remote OFF, trace both
error: ConnNS.cpp:193 cannot resolve name âHostâ
-------------- message server log snapshot ------------------
[GServerManager.cpp:298] m_DBRangeSize = -1
[GServerManager.cpp:302] m_DBPercentageIncrementValue = -1
[GServerManager.cpp:304] Accept values: m_DBRangeSize = 2500 m_DBPercentageIncrementValue = 10
[GServerManager.cpp:311] Found DBServer: âlogdapâ
[GApplication.cpp:1453] DB server user properties
[GApplication.cpp:1250] Option âdb-request-timeoutâ=â0â
[GApplication.cpp:1250] Option âdbcaseâ=âlowerâ
[GApplication.cpp:1250] Option âdbengineâ=âoracleâ
[GApplication.cpp:1250] Option âdbnameâ=ââ
[GApplication.cpp:1250] Option âdbserverâ=âctidbâ
[GApplication.cpp:1246] Option âpasswordâ='â
[GApplication.cpp:1250] Option âusernameâ=âlogdbâ
[GLMDBStorage.cpp:164] m_RangeSize = 2500 m_PercentageIncrementValue = 10
[GServerManager.cpp:354] Message Server Options:
request_queue_size=300
db_storage=1
[GServerManager.cpp:356] log-queue-size=0
log-queue-exp-time=0
log-queue-response=0
03:12:41.812 Std 05061 Initialization completed
[GServerManager.cpp:364] Starting Message Server: compiled May 28 2010 09:01:00
[GServerManager.cpp:365] Instantiating subsystems:
[GServerManager.cpp:389] Creating distributor [CGMCMessageDistributor]
[GServerManager.cpp:398] Creating dispatcher [MC_MSG_DISPATCHER]
[GServerManager.cpp:407] Creating NetListener [MC_NET_LISTENER]
[GServerManager.cpp:416] Creating subscription manager [MC_MSG_SUBSCRIPTION_MNGR]
[GServerManager.cpp:424] Creating filter manager [MC_MSG_FILTER_MNGR]
[GServerManager.cpp:436] Starting subsystems:
[GServerManager.cpp:438] Starting distributor âŚ
[GServerManager.cpp:445] Starting dispatcher âŚ
[GServerManager.cpp:452] Starting NetListener âŚ
[GServerManager.cpp:459] Startup complete
03:12:41.812 Std 05060 Application started
[CFGLIB]: Processing mode set to ASYNC
[GServerManager.cpp:476] Entering conn_main_loop
addp-trace off
(addp_xconfig) local OFF, remote OFF, trace off
[GMCNetListener.cpp:326] MC_NET_LISTENER: Listening port 5000 has been opened with handle 552
[GMCNetListener.cpp:798] MC_NET_LISTENER: NetListener thread for monitoring successfully registered for monitoring
03:12:41.828 Trc 04500 Connecting to DB Server âlogdbserverâ at host âHostâ, port 5050
[GCSDBServer.cpp:104] [CGCSDBServer::connect] ASYNC mode
[GCSDBServer.cpp:126] [CGCSDBServer::connect] DOpenServerX: login=âlogdbâ, password="*****â, dbname=â",server=âctidbâ
addp-trace both
(addp_xconfig) local OFF, remote OFF, trace both
error: ConnNS.cpp:193 cannot resolve name âHostâ
03:12:44.078 Std 04502 Cannot connect to DB Server âlogdbserverâ at host âHostâ, port 5050, reason âDOpenServerX failedâ
03:12:44.078 Std 04504 Connection to DB Server âlogdbserverâ at host âHostâ, port 5050 lost
03:12:44.078 Std 04505 Disconnected from DB Server âlogdbserverâ
[GCSDBStorage.cpp:299] [CGCSDBStorage] Connection with DBCluster lost. Reconnect in 1000 ms
03:12:44.078 Std 11051 Connection with DB Cluster lost
03:12:45.078 Trc 04500 Connecting to DB Server âlogdbserverâ at host âHostâ, port 5050
Thanks,
-Vikas