Solved [Solved] 3CX Failed to Start

Status
Not open for further replies.

dieschittigs

Free User
Joined
Feb 10, 2020
Messages
3
Reaction score
0
Hi there,

i have a raspberry, running the 3CX. Installation was quite easy, everything was working fine. I had to restart the system and now the 3CX won't start. Nginx and postgre are running. I am not that firm with all that linux stuff ...

sudo 3CXStartServices
gives me
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 3CXHotelModule01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXAudioProvider01.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 3CXQueueManager01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXIVR01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXPhoneSystemMC01.service failed. See 'journalctl -xe' for details.
A dependency job for 3CXSystemService01.service failed. See 'journalctl -xe' for details.


systemctl status 3CXCfgServ01.service
Code:
● 3CXCfgServ01.service - 3CX PhoneSystem Configuration Service
   Loaded: loaded (/lib/systemd/system/3CXCfgServ01.service; enabled; vendor preset: enabled)
   Active: failed (Result: protocol) since Mon 2020-02-10 14:02:31 CET; 2min 27s ago
  Process: 1111 ExecStart=/usr/sbin/3CXSLDBServ -n -p /var/run/phonesystem/3CXCfgServ01.pid -o /var/lib/3cxpbx/Bin/  Process: 1129 ExecStopPost=/bin/rm -f /var/run/phonesystem/3CXCfgServ01.pid (code=exited, status=0/SUCCESS)     
 Main PID: 1111 (code=exited, status=0/SUCCESS)

Feb 10 14:02:06 raspberrypi systemd[1]: Starting 3CX PhoneSystem Configuration Service...
Feb 10 14:02:31 raspberrypi systemd[1]: 3CXCfgServ01.service: Failed with result 'protocol'.
Feb 10 14:02:31 raspberrypi systemd[1]: Failed to start 3CX PhoneSystem Configuration Service.


and journalctl -xe

Code:
--  
-- The job identifier is 2027 and the job result is dependency.
Feb 10 14:02:31 raspberrypi systemd[1]: 3CXIVR01.service: Job 3CXIVR01.service/start failed with result 'dependencyFeb 10 14:02:31 raspberrypi systemd[1]: 3CXPhoneSystem01.service: Job 3CXPhoneSystem01.service/start failed with reFeb 10 14:02:31 raspberrypi systemd[1]: Dependency failed for 3CX PhoneSystem 01 Management Console.
-- Subject: A start job for unit 3CXPhoneSystemMC01.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit 3CXPhoneSystemMC01.service has finished with a failure.
--
-- The job identifier is 1927 and the job result is dependency.
Feb 10 14:02:31 raspberrypi systemd[1]: 3CXPhoneSystemMC01.service: Job 3CXPhoneSystemMC01.service/start failed witFeb 10 14:02:31 raspberrypi systemd[1]: Dependency failed for 3CX PhoneSystem 01 System Server.
-- Subject: A start job for unit 3CXSystemService01.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit 3CXSystemService01.service has finished with a failure.
--
-- The job identifier is 2186 and the job result is dependency.
Feb 10 14:02:31 raspberrypi systemd[1]: 3CXSystemService01.service: Job 3CXSystemService01.service/start failed witFeb 10 14:02:31 raspberrypi sudo[1083]: pam_unix(sudo:session): session closed for user root
Feb 10 14:05:01 raspberrypi CRON[1220]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 10 14:05:01 raspberrypi CRON[1224]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 10 14:05:01 raspberrypi CRON[1220]: pam_unix(cron:session): session closed for user root
Feb 10 14:07:31 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: A start job for unit systemd-tmpfiles-clean.service has begun execution 
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit systemd-tmpfiles-clean.service has begun execution.
--
-- The job identifier is 2373.
Feb 10 14:07:31 raspberrypi systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit systemd-tmpfiles-clean.service has successfully entered the 'dead' state.
Feb 10 14:07:31 raspberrypi systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: A start job for unit systemd-tmpfiles-clean.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit systemd-tmpfiles-clean.service has finished successfully.
--
-- The job identifier is 2373.

Any ideas?
 
Try just starting the phone system management with this

systemctl start 3CXPhoneSystemMC01
 
This takes a while, then:
Code:
A dependency job for 3CXPhoneSystemMC01.service failed. See 'journalctl -xe' for details.

and journalclt -xe
Code:
-- 
-- The unit 3CXCfgServ01.service has entered the 'failed' state with result 'protocol'.
Feb 10 14:22:59 raspberrypi systemd[1]: Failed to start 3CX PhoneSystem Configuration Service.
-- Subject: A start job for unit 3CXCfgServ01.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit 3CXCfgServ01.service has finished with a failure.
--
-- The job identifier is 3009 and the job result is failed.
Feb 10 14:22:59 raspberrypi sudo[2596]: pam_unix(sudo:session): session closed for user root
Feb 10 14:25:01 raspberrypi CRON[2676]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 10 14:25:01 raspberrypi CRON[2680]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 10 14:25:01 raspberrypi CRON[2676]: pam_unix(cron:session): session closed for user root
Feb 10 14:26:25 raspberrypi sudo[2723]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/systemctl stFeb 10 14:26:25 raspberrypi sudo[2723]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Feb 10 14:26:25 raspberrypi systemd[1]: Starting 3CX PhoneSystem Configuration Service...
-- Subject: A start job for unit 3CXCfgServ01.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit 3CXCfgServ01.service has begun execution.
--
-- The job identifier is 3057.
Feb 10 14:26:50 raspberrypi systemd[1]: 3CXCfgServ01.service: Failed with result 'protocol'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit 3CXCfgServ01.service has entered the 'failed' state with result 'protocol'.
Feb 10 14:26:50 raspberrypi systemd[1]: Failed to start 3CX PhoneSystem Configuration Service.
-- Subject: A start job for unit 3CXCfgServ01.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit 3CXCfgServ01.service has finished with a failure.
--
-- The job identifier is 3057 and the job result is failed.
Feb 10 14:26:50 raspberrypi systemd[1]: Dependency failed for 3CX PhoneSystem 01 Management Console.
-- Subject: A start job for unit 3CXPhoneSystemMC01.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit 3CXPhoneSystemMC01.service has finished with a failure.
--
-- The job identifier is 3056 and the job result is dependency.
Feb 10 14:26:50 raspberrypi systemd[1]: 3CXPhoneSystemMC01.service: Job 3CXPhoneSystemMC01.service/start failed witFeb 10 14:26:50 raspberrypi sudo[2723]: pam_unix(sudo:session): session closed for user root

The other services are active an running:
3CXEventNotificationManager
3CXMediaServer
3CXTunnel01

Just restarted the [email protected] because it was not running. Now is active but the 3CXPhoneSystem can not start anyway
 
Last edited:
Can you try making sure its all up to date

sudo apt-get update
sudo apt-get upgrade
 
  • Like
Reactions: dieschittigs
Well, that's it ;) Everything runs now, exept for the hotelModule. But we are no Hotel, so :cool:

Thank you for your help!
 
Status
Not open for further replies.

Forum statistics

Threads
111,935
Messages
589,823
Members
164,818
Latest member
Guriqbal Singh