Solved

Astea Cache Server not running

  • 4 September 2023
  • 6 replies
  • 97 views

Userlevel 1
Badge +6

Hi Team,

 

We are creating a new QA environment from scratch. We installed the base Astea application and publisher so far. We are yet to create DB synchronization and profiles.
It is on a halt because the services “Astea cache service”, “Astea cache monitoring service” and “Astea DSE service” are all not running.

 

DSE and cache monitor is failing because cache service is not running.

 

We also received error message as “Error 1053: The service did not respond to the start or control request in a timely fashion.”



To get more information, we checked the error logs (event viewer) and found the below 2 logs:

1)

Recovering loop failed at 9/4/2023 2:57:11 PM
Process owner: ConfigurationEditor
Process ID: 9940
Exception: _isCacheFactoryValid = false. Possible reason: cache server is not running.

2)

Cache failed at 9/4/2023 2:57:11 PM
Process owner:ConfigurationEditor
Process ID:9940
Message:It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING
Hosts: IP-ADDRESS-OF-THE-SAME-APP-SERVER
Ports: 6379
MaxConnectionsToServer: 5

 

 

Can someone please help us make the cache server work as expected?
 

icon

Best answer by Reid Gilbert 8 September 2023, 15:46

View original

6 replies

Userlevel 7
Badge +15

Can you check the Cache settings in the Configuration Editor under General/Cache and make sure it’s set to “localhost” or the exact IP address of the QA server?  And make sure there is only ONE cache entry in there...(don’t have localhost AND the IP address in there as separate entries otherwise it may thing you have it configured as a cache cluster), it should look like the following:
 

Then try restarting the cache services, see if that helps.
Thanks,
Reid

Userlevel 1
Badge +6

we checked it and found that the IP address of the hosting machine is provided there (we have only one application server for QA). 
So, we just changed it as localhost and tried restarting the service. But it did not work.


Let us know what else we can do to resolve this.

Userlevel 7
Badge +15

Try launching the Redis Configuration Tool in the \Program Files\Astea Alliance 15.0\Bin\External\IT Tools\Redis Configuration Tool folder (called Astea.Redis.Configuration.exe) as an Administrator.  Then click on the View .conf files button on there and see if any servers are showing in red (if so then stop the Cache and Cache Monitoring services, click on Update/Create .conf files and then restart the Cache and Cache Monitoring services afterwards).

Userlevel 1
Badge +6

Thanks for the reply once again.
However, under the path \Program Files\Astea Alliance 14.0\Bin\External\IT Tools we only have below listed folders,

ApplicationPoolPasswordUpdater
Astea.LogViewer.Service
Astea.TestPlatform
Monitoring Tool
MscordacwksCollector
SSL and SSO Tool

Is the Redis config tool present in some other location in Astea Alliance 14.0 ??
 

Userlevel 7
Badge +15

I took a look on one of our V14 environments and I couldn’t find it, either, so I suspect that tool might only exist/work in the V15 versions of Alliance.  So unless anybody else has other ideas for you to try then I would suggest reaching out to your Project Manager, they can arrange some time with a resource from our Services team (they have experts that are well versed in new installations and should be able to assist with the configuration in this environment).
Thanks,
Reid

Userlevel 7
Badge +10

Based on the error message provided, check the firewall rules to make sure the port isn’t being blocked.  You can also check out this article on StackOverflow: Can't bind TCP listener *:6379 using Redis on Windows - Stack Overflow

Reply