citect waiting for alarm database initialization

Hi,

I have this issue with Citect 2016, I restarted the server standby. it stays on the "starting" status with this message "waiting for alarm database initialization" on the alarm service. thank you per advance for your help.

Parents
  • Hello.

    I have the same issue with Citect 2018R2, running as a service. In my case the secondary Alarm server is running well and the primary is always starting with the same message "waiting for alarm database initialization".

    I found this: https://www.se.com/in/en/faqs/FA235872/ My topology is ok, but I have two IP adresses in each AlarmServer (and just one is defined in topology - network adresses). I already tried with or without DSN name configured in topology - computers configuration and the result is the same. 

    Any hint?

  • I found in ...\logs\tracelog.Alarm.??MyProject??.ALR_SRV_1 with:

    2021-06-08 12:53:32.870              Error      Transport                           TcpipTransport::EndConnect() [CLIENT 0.0.0.0:62964 --> 172.????:2082 #1] SocketException: No connection could be made because the target machine actively refused it 172.????:2082

    2021-06-08 12:53:59.342              Error      Transport                           TcpipTransport::EndConnect() [CLIENT 0.0.0.0:63055 --> 172.????:2082 #2] SocketException: No connection could be made because the target machine actively refused it 172.????:2082

    2021-06-08 12:54:04.343              Error      Transport                           TcpipTransport::EndConnect() [CLIENT 0.0.0.0:63070 --> 172.????:2082 #2] SocketException: No connection could be made because the target machine actively refused it 172.????:2082

    it appears to be firewall related, but citect runtime  and citect runtime 64 are in the allowed processes.

  • When you say two IP addresses in each alarm server, are there two network cards on the same subnet? It might be worth temporarily disabling one network card and just run the one IP address configured in the project. The DSN name is really required when running with encryption enabled.

    Is this machine you are testing on a VM? I have heard of another tester internally having trouble where his client process could never connect to local processes, which turned out to be an issue with the VM and host network config.

    Try run the Example project and see if it runs and connections work. Then if that works, run your project and check using netstat -a that the processes are listening on those expected ports defined in the project

  •  I believe while the DNS name is required when you define the Computer, for the Network, it is better to use one IP address for the moment as per other issues that may be raised.
     let continue with support.

Reply Children
No Data