Services not starting after reboot

Status
Not open for further replies.

Alphabetic

3CX MVP
Silver Partner
Advanced Certified
Joined
Jul 1, 2016
Messages
6,571
Reaction score
2,582
Good morning

I've got a Debian server running v18 update 1

When I reboot it the nginx and event service stay stopped. This happens on every reboot or when I reboot all services at once.

If I do them all one by one this doesnt occur.

Hosted PBX, No custom templates, everything supported.

I've reinstalled it twice.

any advise?
 
Hi @kieferschild,

Could it be that a dependency isn't coming up fast enough and therefore some services can't start? Does this happen on other instances or only this one?
 
Hi @kieferschild,

Can you cat the log /var/log/syslog to see why the services didn't start? What does it tell you? I'd suggest doing a restart prior to viewing the log, that way it should be easier to check.
 
Had a look through what I've got and all I can see are lines for stopping, stopped, starting, started.

Nothing in between to indicate a problem with this service.

i'm unable to restart it anymore for now as it's needed
 
it's the same with me. The 3CX Event Notification Manager and 3CX PhoneSystem Media Server services are not starting.
this was not the case with version 18.
 
it's the same with me. The 3CX Event Notification Manager and 3CX PhoneSystem Media Server services are not starting.
this was not the case with version 18.
same here on raspios...
manual service start works...

only this is suspicious at the log /var/log/syslog:
Code:
nginx: [warn] duplicate network "::0/0", value: "0", old value: "1" in /etc/nginx/sites-enabled/3cxpbx:14
nginx: [warn] duplicate network "::0/0", value: "0", old value: "1" in /etc/nginx/sites-enabled/3cxpbx:14
 
Last edited:
Hi @kieferschild, @paurus and @Bronko,

To investigate this further I'll need a few logs from you guys.

Can you enable verbose mode on the PBX (Activity Log >> Settings >> Verbose), then perform the restart of all services. If your two services stay down (stopped), I want a copy of your entire /var/log/ folder as well as the generated support info (Management Console, top right >> Support >> Generate Support Info), upload it to a sharing site and PM me the link.
 
Hi @kieferschild, @paurus and @Bronko,

To investigate this further I'll need a few logs from you guys.

Can you enable verbose mode on the PBX (Activity Log >> Settings >> Verbose), then perform the restart of all services. If your two services stay down (stopped), I want a copy of your entire /var/log/ folder as well as the generated support info (Management Console, top right >> Support >> Generate Support Info), upload it to a sharing site and PM me the link.
Logs sent.
 
Hi @kieferschild, @paurus and @Bronko,

To investigate this further I'll need a few logs from you guys.

Can you enable verbose mode on the PBX (Activity Log >> Settings >> Verbose), then perform the restart of all services. If your two services stay down (stopped), I want a copy of your entire /var/log/ folder as well as the generated support info (Management Console, top right >> Support >> Generate Support Info), upload it to a sharing site and PM me the link.
this is a production system and I can't do it yet.
 
  • Like
Reactions: VasilisV_3CX
Have the same issue Build 18.0 (1880) , new installation today

3X Event Notification Manager and 3CX PhoneSystem Media Server not starting after a reboot

Will upload logs, later
 
Last edited:
  • Like
Reactions: VasilisV_3CX
Have to same issue Build 18.0 (1880) , new installation today

3X Event Notification Manager and 3CX PhoneSystem Media Server not starting after a reboot

Will upload logs, later
Did you install with ISO or command line?
 
  • Like
Reactions: VasilisV_3CX
Hi @kieferschild @Saqqara @paurus @Bronko ,

It has come to our attention that on new installs of V18 U1 in some cases (new installs of V18 build 1880 should be OK), some services seem to be disabled which would explain the behavior you are seeing.

Could you please check on the installations that you are seeing this and tell us if this is the case?
Use the following commands one-by-one to check if services are enabled:
Bash:
systemctl is-enabled 3CXIVR01.service
systemctl is-enabled 3CXPhoneSystem01.service
systemctl is-enabled 3CXMediaServer.service
systemctl is-enabled 3CXCallFlow01.service
systemctl is-enabled 3CXFirewall.service
systemctl is-enabled 3CXAudioProvider01.service
systemctl is-enabled 3CXCfgServ01.service
systemctl is-enabled 3CXEventNotificationManager.service
systemctl is-enabled 3CXSystemService01.service
systemctl is-enabled 3CXGatewayService.service
systemctl is-enabled 3CXPhoneSystemMC01.service
systemctl is-enabled 3CXQueueManager01.service
systemctl is-enabled nginx.service

We are working on a permanent solution for this, but if there are some that are disabled and you need it addressed now, you can run these commands to set all services to 'enabled':
Bash:
systemctl enable 3CXIVR01.service
systemctl enable 3CXPhoneSystem01.service
systemctl enable 3CXMediaServer.service
systemctl enable 3CXCallFlow01.service
systemctl enable 3CXFirewall.service
systemctl enable 3CXAudioProvider01.service
systemctl enable 3CXCfgServ01.service
systemctl enable 3CXEventNotificationManager.service
systemctl enable 3CXSystemService01.service
systemctl enable 3CXGatewayService.service
systemctl enable 3CXPhoneSystemMC01.service
systemctl enable 3CXQueueManager01.service
systemctl enable nginx
 
  • Like
Reactions: paurus
Hi @kieferschild @Saqqara @paurus @Bronko ,

It has come to our attention that on new installs of V18 U1 in some cases (new installs of V18 build 1880 should be OK), some services seem to be disabled which would explain the behavior you are seeing.

Could you please check on the installations that you are seeing this and tell us if this is the case?
Use the following commands one-by-one to check if services are enabled:
Bash:
systemctl is-enabled 3CXIVR01.service
systemctl is-enabled 3CXPhoneSystem01.service
systemctl is-enabled 3CXMediaServer.service
systemctl is-enabled 3CXCallFlow01.service
systemctl is-enabled 3CXFirewall.service
systemctl is-enabled 3CXAudioProvider01.service
systemctl is-enabled 3CXCfgServ01.service
systemctl is-enabled 3CXEventNotificationManager.service
systemctl is-enabled 3CXSystemService01.service
systemctl is-enabled 3CXGatewayService.service
systemctl is-enabled 3CXPhoneSystemMC01.service
systemctl is-enabled 3CXQueueManager01.service
systemctl is-enabled nginx.service

We are working on a permanent solution for this, but if there are some that are disabled and you need it addressed now, you can run these commands to set all services to 'enabled':
Bash:
systemctl enable 3CXIVR01.service
systemctl enable 3CXPhoneSystem01.service
systemctl enable 3CXMediaServer.service
systemctl enable 3CXCallFlow01.service
systemctl enable 3CXFirewall.service
systemctl enable 3CXAudioProvider01.service
systemctl enable 3CXCfgServ01.service
systemctl enable 3CXEventNotificationManager.service
systemctl enable 3CXSystemService01.service
systemctl enable 3CXGatewayService.service
systemctl enable 3CXPhoneSystemMC01.service
systemctl enable 3CXQueueManager01.service
systemctl enable nginx
as you assumed, some services were disabled. in my case, these are 3CXMediaServer.service and 3CXEventNotificationManager.service. after executing these commands, all services are started after a reboot.

Thank you very much!
 
  • Like
Reactions: NickD_3CX
Hi,

did a fresh new installation of 'V18.0 update 1 (build 234)' on a rasp4 and had the same problems with 2 services, media and notification server, that had to be started manually after a reboot.

Problem is fixed by using the suggestion by NickD_3cx above, "systemctl enable" for those 2 sevices.

Thanks
Hans
 
  • Like
Reactions: NickD_3CX
Hi,

OK, my installation history is about that:

Fresh install of 16.0.7.1078 on Raspi3 B+ -> update to 16.0.8.9 -> update to 18.0.0.1880 -> update to 18.0.1.234 -> backup and restore on Raspi4.

Didn't checked reboot behavior after update to 18.0.1.234 due to directly switched to Raspi4.

Enabling both concerned services solved the problem. Thanks for support...
 
  • Like
Reactions: NickD_3CX
Just an FYI, I had the following services disabled too:

Code:
3CXMediaServer.service
disabled

3CXEventNotificationManager.service
disabled

I've set these to enable and will reboot tomorrow.

Thanks to the 3CX team.
 
Last edited:
  • Like
Reactions: NickD_3CX
there is an update to version 18.0.1.237. is this to solve these problems?
 
  • Like
Reactions: VasilisV_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,976
Messages
590,088
Members
164,904
Latest member
gdstratton