Sametime 11 Chat is blank...typed messages don't appear or sent

Hello,

We are performing a fresh installation of Sametime 11.0FP2 Community Server on Linux. Installation was smooth with no issues and all 3 servers (Community/Proxy/MongoDB) are talking to each other and users also can able to login. But when users tried to initiate a chat the types messages neither appear nor received by the recipient.

When i checked sametime.log under trace directory i found the following. I am running MongoDB v4.4.1...is this is an issue here? should i have to downgrade to atleast 4.2 to make it work as stated in this link (https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0079273&sys_kb_id=63256a4e1b9b1058a2f48661cd4bcb1a)

I stchatlogging 06/Nov/20, 22:45:57 ChatLoggingMgr::setMode: mode <1>
E stchatlogging 06/Nov/20, 22:45:57 Failed to load chatLogging BB or find one of its functions
E stchatlogging 06/Nov/20, 22:45:57 Logging initialization failed for ChatLog library [libstchatloggingmongodb]
I stchatlogging 06/Nov/20, 22:45:57 Terminated
I stcommlnch 06/Nov/20, 22:45:57 stchatlogging ended with exit code 101 and is out of recovery limits. will not be restarted
I stcommlnch 06/Nov/20, 22:45:57 stfiletransfer ended with exit code 101 and is out of recovery limits. will not be restarted
I StChat 06/Nov/20, 22:45:57 Started, version SAMETIME10.0_20160523-1708
I STPresence 06/Nov/20, 22:45:58 Logged in, loginId [411d2fe6 0c0a8740a]
I STPresenceCompatibility 06/Nov/20, 22:45:58 Logged in, loginId [411d2fe7 0c0a8740a]
I stconvomap 06/Nov/20, 22:45:58 Logged in, loginId [411d2fe8 0c0a8740a]
I stconvomap 06/Nov/20, 22:45:58 Sametime ConvoMap service is up
I STUserInfoSA 06/Nov/20, 22:45:59 Logged in, loginId [411d2fe9 0c0a8740a]
I STPresenceSubscriptions 06/Nov/20, 22:45:59 Logged in, loginId [411d2fea 0c0a8740a]
I stpolicy 06/Nov/20, 22:45:59 Sametime StPolicyNotes Library is initialized. Version SAMETIME10.0_20200722-1107 Hotfix: IMAN-9M9HQ3, Defects: 17251
I STPolicy 06/Nov/20, 22:45:59 Started, version SAMETIME10.0_20160523-1708 Hotfix:IMAN-9P2LCG Defects: 22250, 18880
I STOfflineMessages 06/Nov/20, 22:46:01 Logged in, loginId [411d2feb 0c0a8740a]
I StChat 06/Nov/20, 22:46:02 Blackbox initialized successfully
I StChat 06/Nov/20, 22:46:02 Logged in, loginId [411d2fec 0c0a8740a]
I STPolicy 06/Nov/20, 22:46:03 Logged in, loginId [411d2fed 0c0a8740a]
I stlogger 06/Nov/20, 22:46:15 Loading STLogResource library: [/local/notesdata/stlogresources.res],
I stlogger 06/Nov/20, 22:46:15 Successfully loaded resource dll. [/local/notesdata/stlogresources.res],
I stusers 06/Nov/20, 22:46:21 Sametime StAuthTokenNotes Library SAMETIME10.0_20200722-1107

One more issue is that the sametime server fail to start when i try to start through '/opt/hcl/domino/bin/server' it will only start through by issuing the command './ststart'. Is this how it needs to behave?

Does the following error with loading of servlet has anything to do with the above issues?

[099861:000002-00007F720D979740] 11/12/2020 06:30:54 PM HTTP JVM: com.lotus.sametime.configuration.DominoBootstrapServlet: init
[099861:000002-00007F720D979740] 11/12/2020 06:30:57 PM HTTP JVM: com.lotus.sametime.configuration.DominoConfigurationServlet: init
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: Error occurred while loading Servlet (scs)
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: -----Servlet Information-----
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: Servlet name: scs
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: Servlet class: com.lotus.sametime.configuration.DominoConfigurationServlet
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: Servlet state: <Error>
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: Configuration parameters: ServletURL=scs AccessControl.Roles=[SametimeAdmin] UnchainedAccessEnabled=true
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: Info for: com.lotus.sametime.configuration.DominoConfigurationServlet@48d39325
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: javax.servlet.ServletException: Unable to get configuration object: Exception while generating Server List: Database open failed (%1): Unable to get configuration object: Exception while generating Server List: Database open failed (%1)
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: com.lotus.sametime.admin.authentication.AccessControlServlet: init
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: com.lotus.sametime.admin.DominoAdminXPathRequestServletJAXP: init
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: com.lotus.sametime.statistics.StatisticsServlet: init
[099861:000002-00007F720D979740] 11/12/2020 06:30:59 PM HTTP JVM: com.lotus.sametime.admin.namechange.NameChangeServlet: init

Thanks & Regards,
Prashanth

Hello,

Would need to see additional logs from the trace directory before determining any issues with MongoDB 4.4.x. Was the chatlogging.ini reviewed/updated after install?

./ststart is the supported (required) method of starting Sametime Community server.

Thanks,
Trevor

Hello Trevor,

Thanks for the reply.

Actually after i posting this query i downgraded the MongoDB to 4.2.10 but i still see the same issue.

I stfiletransfer 13/Nov/20, 06:51:54 Started, version SAMETIME10.0_20200722-1107 Loading Libraries: Threadsafe - SAMETIME10.0_20200722-1107 StLib - SAMETIME10.0_20200722-1107 Socket - SAMETIME10.0_20200722-1107 Vpk - SAMETIME10.0_20200722-1107
I stchatlogging 13/Nov/20, 06:51:54 Started, version SAMETIME10.0_20200722-1107 Loading Libraries: Threadsafe - SAMETIME10.0_20200722-1107 StLib - SAMETIME10.0_20200722-1107 Socket - SAMETIME10.0_20200722-1107 Vpk - SAMETIME10.0_20200722-1107
E stusers 13/Nov/20, 06:51:54 Anonymous authentication manager was not initialized!
I stusers 13/Nov/20, 06:51:54 Initialization completed
I stmux 13/Nov/20, 06:51:54 server ip:127.0.0.1 provides all the essential services
I stfiletransfer 13/Nov/20, 06:51:54 ChatLoggingMgr::setMode: mode <1>
E stfiletransfer 13/Nov/20, 06:51:54 Failed to load chatLogging BB or find one of its functions
E stfiletransfer 13/Nov/20, 06:51:54 Logging initialization failed for ChatLog library [libstchatloggingmongodb]
I stfiletransfer 13/Nov/20, 06:51:54 Terminated

After the installation yes i reviewed the chatlogging.ini and made sure the following parameters are updated. But once the server is restarted these parameters will become empty and i understand thats the expected behavior.

CL_MONGO_USER=
CL_MONGO_PASSWORD=

Regarding ./ststart command, i understood and also got the following in the official documentation. I was trying the old ways...:-)

https://help.hcltechsw.com/sametime/11.5/admin/starting_and_stopping_community_server.html

Thanks & Regards,

Prashanth

I had a similar issue.

Check if the MongoDB is running under correct hostname instead of loopback address. Before updating, ensure that the IP\hostname can trace\ping.

Here is the procedure for updating hostname in the Mongo.
-> use admin
-> cfg = rs.conf()
-> cfg.members[0].host = "server.company.com:27017"
=> Here, put the correct FQDN or IP address
-> rs.reconfig(cfg)
==> Exit the mongo shell and restart MongoDB.

Update the same information on chatlogging.ini & Sametime.ini Chatlogging.ini CL_MONGO_HOST= Sametime.ini Under [stconvomap] section MONGO_URI= [just replace 127.0.0.1 with correct IP\hostname]


Once done, restart Sametime Community\Domino & Proxy server.

Hello Milan,

Thanks for the reply. I tried your approach but the result is still the same. I added the parameter 'bindIpAll: true' and added both local host ip and system ip to the 'bindIp' parameter but still ChatLog library is failing to initialize. I have tried all possible version of MongoDB now with same result. So looks like not an issue with Mongo but Sametime itself but cannot able to find any other clue.

Thanks & Regards,

Prashanth

@Prashanth Dharmaraj

Have you checked if the replica set is accessible. are there any errors in the logs

pointing to that? what about the blackbox does it show as started in the stcommunity log?

I do not believe that this is a domino issue but more than likely a configuration problem

As Trevor pointed out we would need additional data.

I recommend that you collect the stdiagzip from the community server

and the conf and logs directory from the proxy server, open with support and we'll assist you to get this

issue resolved

Hello Daniel,

Thanks for the reply. I have checked the MongoDB logs and there i can Sametime is getting connected to MongoDB with sametimeUser.

I am not saying its a Domino issue but yes a configuration issue on Domino end which i am unable to figure it out.

I have also opened a case (CS0183498) where i have attached the logs along with the conf files.

Now i am planning to verify as stated in the following blogs as i am seeing the same errors in my logs

https://blog.darrenduke.net/darren/ddbz.nsf/dx/sametime-v11-on-centos-8....head-meet-desk.htm

http://www.surfdomino.com/web.nsf/pages/ST11FP1

when i execute the following command i am see the same files so planning to perform the same as suggested.

ldd /opt/hcl/domino/notes/11000100/linux/libstchatloggingmongodb.so

Thanks & Regards,

Prashanth

Hello All,

Thanks for your help!

Finally got it working. In my case its needed to create symbolic link from the /usr/lib directory instead of /usr/lib64 to open ssl libraries. I will perform further tests and update here if i encounter any further issues.

At the moment the chats are fine but there is bit lagging in group chats when there is already some chat history. The typed message is taking 5 to 6 secs before appearing on the screen. Did anyone noticed such behavior?

Thanks & regards,
Prashanth

Hello All,

Just FYI,

as stated in my earlier reply that i was exactly getting the following error in the logs after enabling 'VP_TRACE_ALL=1'

libssl.so.10: cannot open shared object file: No such file or directory
or
Failed to load libstchatloggingmongodb (/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /opt/hcl/domino/notes/latest/)
so i followed the following blogs and articles but didn't worked. But in my case its needed to create symbolic link from the /usr/lib directory instead of /usr/lib64 to open ssl libraries. Once i have these links the chats are working again. Hope my debugging here can help someone who is facing similar issue even after creating links under /usr/lib64
  • https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0076238&sys_kb_id=f64f1c931b071454a2f48661cd4bcb45
  • https://hclpnpsupport.hcltech.com/nav_to.do?uri=%2Fkb_view.do%3Fsysparm_article%3DKB0076004
  • https://blog.darrenduke.net/darren/ddbz.nsf/dx/sametime-v11-on-centos-8....head-meet-desk.htm
  • http://www.surfdomino.com/web.nsf/pages/ST11FP1

Thanks & Regards,

Prashanth