- Joined
- Jul 22, 2022
- Messages
- 4
- Reaction score
- 0
Running version 18.0 Update 8 (Built 917), originally deployed as self-managed Azure instance.
Rebooted the VM today and now 3CX will not startup. Probably the first time that the VM has been restarted since deployment as a fresh install. Had to redeployed a new VM because of a similar issue with the previous instance.
Errors in /var/lib/3cxpbx/Data/Logs/CloudServiceWatcher.log:
When restarting the services via: 3CXStartServices
Postgresql starts up without a problem, but 3CX fails on Configuration Service with "3CXCfgServ01.service: Failed with result 'protocol'.".
Rebooted the VM today and now 3CX will not startup. Probably the first time that the VM has been restarted since deployment as a fresh install. Had to redeployed a new VM because of a similar issue with the previous instance.
Errors in /var/lib/3cxpbx/Data/Logs/CloudServiceWatcher.log:
Code:
023/09/08 10:26:44.093|0006|Excpt(03)| Npgsql.NpgsqlException (0x80004005): Exception while connecting
---> System.Net.Sockets.SocketException (111): Connection refused
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.RawOpen(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<>c__DisplayClass41_0.<<Open>g__OpenAsync|0>d.MoveNext()
--- End of stack trace from previous location ---
at Npgsql.NpgsqlConnection.Open()
at PostInstall.DBConnection.get_Connection()
at PostInstall.DBConnection.Execute(String sqlQuery, IDictionary`2 parameters, Action`1 readAction)
at CloudServicesWatcher.ServiceWatcher.BuildTenants()
2023/09/08 10:28:49.106|0007|Excpt(03)| Npgsql.NpgsqlException (0x80004005): Exception while connecting
---> System.Net.Sockets.SocketException (111): Connection refused
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.RawOpen(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<>c__DisplayClass41_0.<<Open>g__OpenAsync|0>d.MoveNext()
--- End of stack trace from previous location ---
at Npgsql.NpgsqlConnection.Open()
at PostInstall.DBConnection.get_Connection()
at PostInstall.DBConnection.Execute(String sqlQuery, IDictionary`2 parameters, Action`1 readAction)
at CloudServicesWatcher.ServiceWatcher.BuildTenants()
2023/09/08 10:30:54.113|0004|Excpt(03)| Npgsql.NpgsqlException (0x80004005): Exception while connecting
---> System.Net.Sockets.SocketException (111): Connection refused
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.RawOpen(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<>c__DisplayClass41_0.<<Open>g__OpenAsync|0>d.MoveNext()
--- End of stack trace from previous location ---
at Npgsql.NpgsqlConnection.Open()
at PostInstall.DBConnection.get_Connection()
at PostInstall.DBConnection.Execute(String sqlQuery, IDictionary`2 parameters, Action`1 readAction)
at CloudServicesWatcher.ServiceWatcher.BuildTenants()
When restarting the services via: 3CXStartServices
Code:
Job for 3CXCfgServ01.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status 3CXCfgServ01.service" and "journalctl -xe" for details.
A dependency job for 3CXPhoneSystemMC01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXGatewayService.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXSystemService01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXPhoneSystem01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXCallFlow01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXIVR01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXQueueManager01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXHotelModule01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXAudioProvider01.service failed. See 'journalctl -xe' for details.
Postgresql starts up without a problem, but 3CX fails on Configuration Service with "3CXCfgServ01.service: Failed with result 'protocol'.".
Code:
Sep 8 10:38:48 vm-tnet-prod-uks-orpheus systemd[1]: postgresql.service: Succeeded.
Sep 8 10:38:48 vm-tnet-prod-uks-orpheus systemd[1]: Stopped PostgreSQL RDBMS.
Sep 8 10:38:48 vm-tnet-prod-uks-orpheus systemd[1]: Stopping PostgreSQL RDBMS...
Sep 8 10:38:48 vm-tnet-prod-uks-orpheus systemd[1]: Stopping PostgreSQL Cluster 11-main...
Sep 8 10:38:49 vm-tnet-prod-uks-orpheus systemd[1]: [email protected]: Succeeded.
Sep 8 10:38:49 vm-tnet-prod-uks-orpheus systemd[1]: Stopped PostgreSQL Cluster 11-main.
Sep 8 10:38:49 vm-tnet-prod-uks-orpheus systemd[1]: Starting PostgreSQL Cluster 11-main...
Sep 8 10:38:51 vm-tnet-prod-uks-orpheus systemd[1]: Started PostgreSQL Cluster 11-main.
Sep 8 10:38:51 vm-tnet-prod-uks-orpheus systemd[1]: Starting PostgreSQL RDBMS...
Sep 8 10:38:51 vm-tnet-prod-uks-orpheus systemd[1]: Started PostgreSQL RDBMS.
Sep 8 10:39:00 vm-tnet-prod-uks-orpheus systemd[1]: Reloading.
Sep 8 10:39:01 vm-tnet-prod-uks-orpheus systemd[1]: Starting 3CX PhoneSystem Configuration Service...
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXCfgServ01.service: Failed with result 'protocol'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Failed to start 3CX PhoneSystem Configuration Service.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 Management Console.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX Gateway Service.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXGatewayService.service: Job 3CXGatewayService.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXPhoneSystemMC01.service: Job 3CXPhoneSystemMC01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 System Server.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXSystemService01.service: Job 3CXSystemService01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 SIP Server.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 CallFlow Server.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXCallFlow01.service: Job 3CXCallFlow01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 IVR Server.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXIVR01.service: Job 3CXIVR01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 Queue Manager Server.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXQueueManager01.service: Job 3CXQueueManager01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXPhoneSystem01.service: Job 3CXPhoneSystem01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 Hotel Module.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXHotelModule01.service: Job 3CXHotelModule01.service/start failed with result 'dependency'.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: Dependency failed for 3CX PhoneSystem 01 Audio Provider Server.
Sep 8 10:39:26 vm-tnet-prod-uks-orpheus systemd[1]: 3CXAudioProvider01.service: Job 3CXAudioProvider01.service/start failed with result 'dependency'.