3CX service wont start

Status
Not open for further replies.

Rhys Haskell

Advanced Certified
Joined
Jul 30, 2018
Messages
314
Reaction score
74
I cant get the 3CXphonesystemmc01 to start no matter what I do. The process times out, I changed the time out to 600s but it still times out. Is there any kind of log that can show me whats going on?
 
you do not mention your platform - Windows/Linux... and local or hosted.
 
you do not mention your platform - Windows/Linux... and local or hosted.
Sorry it is Linux and hosted with OVH. I have raised a ticket with 3CX however this probabaly wont be picked up till the morning now.
 
I have seen this when there is not enough memory allocated to the virtual machine.
 
I have seen this when there is not enough memory allocated to the virtual machine.
I run a TOP and there is plenty of free memory. We have 4GB of RAM and there is only 12 or 13 extensions on this server.
 
From the journalctl I pulled the below info:
Mar 19 21:12:02 ovh-custom-uk1-2018-09-27-12-36-36-sop5s systemd[1]: 3CXPhoneSystemMC01.service: Unit entered failed state.
Mar 19 21:12:02 ovh-custom-uk1-2018-09-27-12-36-36-sop5s systemd[1]: 3CXPhoneSystemMC01.service: Failed with result 'timeout'.
Mar 19 21:12:02 ovh-custom-uk1-2018-09-27-12-36-36-sop5s systemd[1]: Reached target Multi-User System.
 
Potentially, you could also check to see if any other process is listening on your SIP port, that may cause the service to fail by using the below command as an example:

sudo lsof -i :5060 where 5060 would be your SIP port assuming you haven't changed that during installation

For example the output you would normally expect to see would be your 3CX phone system only listening there:

Code:
root@Myserver:~# lsof -i :5060
COMMAND    PID        USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
3CXPhoneS 2768 phonesystem   13u  IPv4 722363      0t0  UDP *:sip
3CXPhoneS 2768 phonesystem   16u  IPv4 722368      0t0  TCP *:sip (LISTEN)
3CXPhoneS 2768 phonesystem   19u  IPv6 722371      0t0  TCP *:sip (LISTEN)
3CXPhoneS 2768 phonesystem   28u  IPv6 722380      0t0  UDP *:sip

Hence if you see some other process holding the sip port then you won't be able to start your sip server
 
As much as i hate saying this because it goes against every fiber of my being because i like knowing what is broken.. but.. with the time it takes to re-install a 3CX in hosted solution.. i just take my backup and re-install fresh, takes about 30 to 45mins and it's all done.
 
Status
Not open for further replies.

Forum statistics

Threads
111,916
Messages
589,722
Members
164,787
Latest member
IWalter