Not able to login to Admin (Server Error)

Status
Not open for further replies.

buzzclan

Forum User
Joined
Aug 10, 2020
Messages
5
Reaction score
1
Hi,
The system was working fine. But started to have login issues today (Monday morning) .

We tried restoring from our snapshots (we keep daily lightsail snapshot going back 7 days) None of them was able to restore login.
We tried installing a new instance, which is working. But looks like the backup files are password protected, and we don't have the password :(

The system is working for the folks who had the mobile app installed beforehand. Mojority of our team uses web/desktop client and they are not able to make/receive calls.

Any help please...

We have restarted the services & system once.

One thing we noticed as a difference between the new install and is a missing socket file. Can this be the cause??

Working machine:
/var/run/phonesystem$ ls
3CXAudioProvider01.pid 3CXCfgServ01.pid 3CXIVR01.pid 3CXPhoneSystem01.pid 3CXQueueManager01.pid 3CXTunnel01.pid
3CXCallFlow01.pid 3CXEventNotificationManager.pid 3CXMediaServer.pid 3CXPhoneSystemMC01.pid 3CXSystemService01.pid management_console01.socket

Non-working Machine
/var/run/phonesystem$ ls
3CXAudioProvider01.pid 3CXCfgServ01.pid 3CXIVR01.pid 3CXPhoneSystem01.pid 3CXSystemService01.pid
3CXCallFlow01.pid 3CXEventNotificationManager.pid 3CXMediaServer.pid 3CXQueueManager01.pid 3CXTunnel01.pid


admin@ip-LOCALHOST:/lib/systemd/system$ sudo systemctl status 3CXPhoneSystemMC01.service
● 3CXPhoneSystemMC01.service - 3CX PhoneSystem 01 Management Console
Loaded: loaded (/lib/systemd/system/3CXPhoneSystemMC01.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Mon 2020-08-10 16:34:41 CDT; 6s ago
Process: 30578 ExecStopPost=/bin/rm -f /var/run/phonesystem/management_console01.socket (code=exited, status=0/SUCCESS)
Process: 30576 ExecStopPost=/bin/rm -f /var/run/phonesystem/3CXPhoneSystemMC01.pid (code=exited, status=0/SUCCESS)
Process: 30564 ExecStart=/usr/lib/3cxpbx/3CXManagementConsole --pid /var/run/phonesystem/3CXPhoneSystemMC01.pid -p /var/lib/3cxpbx/Instance1/Data/Http/webroot (code=exited, st
Main PID: 30564 (code=exited, status=0/SUCCESS)

Service Status:

admin@ip-LOCLAHOST:~$ sudo service 3CX* status ● 3CXPhoneSystem01.service - 3CX PhoneSystem 01 SIP Server Loaded: loaded (/lib/systemd/system/3CXPhoneSystem01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:18 CDT; 31min ago Main PID: 23856 (3CXPhoneSystem) Tasks: 19 (limit: 4915) CGroup: /system.slice/3CXPhoneSystem01.service └─23856 /usr/sbin/3CXPhoneSystem -p /var/run/phonesystem/3CXPhoneSystem01.pid /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 SIP Server... Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 SIP Server. ● 3CXCallFlow01.service - 3CX PhoneSystem 01 CallFlow Server Loaded: loaded (/lib/systemd/system/3CXCallFlow01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:21 CDT; 30min ago Main PID: 23910 (3CXCallFlow) Tasks: 15 (limit: 4915) CGroup: /system.slice/3CXCallFlow01.service └─23910 /usr/lib/3cxpbx/3CXCallFlow -p /var/run/phonesystem/3CXCallFlow01.pid /var/lib/3cxpbx/Bin/config.json Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 CallFlow Server... Aug 10 15:52:21 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 CallFlow Server. ● 3CXTunnel01.service - 3CX PhoneSystem 01 SIP/RTP Tunneling Proxy Loaded: loaded (/lib/systemd/system/3CXTunnel01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:18 CDT; 31min ago Main PID: 23810 (3CXTunnel) Tasks: 14 (limit: 4915) CGroup: /system.slice/3CXTunnel01.service └─23810 /usr/sbin/3CXTunnel -n -p /var/run/phonesystem/3CXTunnel01.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 SIP/RTP Tunneling Proxy... Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 SIP/RTP Tunneling Proxy. ● 3CXSystemService01.service - 3CX PhoneSystem 01 System Server Loaded: loaded (/lib/systemd/system/3CXSystemService01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:20 CDT; 31min ago Main PID: 23857 (3cxSystemServic) Tasks: 31 (limit: 4915) CGroup: /system.slice/3CXSystemService01.service └─23857 /usr/lib/3cxpbx/3cxSystemService -p /var/run/phonesystem/3CXSystemService01.pid /var/lib/3cxpbx/Bin Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 System Server... Aug 10 15:52:20 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 System Server. ● 3CXEventNotificationManager.service - 3CX Event Notification Manager Loaded: loaded (/lib/systemd/system/3CXEventNotificationManager.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:18 CDT; 31min ago Main PID: 23805 (CloudServicesWa) Tasks: 20 (limit: 4915) CGroup: /system.slice/3CXEventNotificationManager.service └─23805 /usr/lib/3cxpbx/CloudServicesWatcher -p /var/run/phonesystem/3CXEventNotificationManager.pid -c /var/lib/3cxpbx/Bin/CloudServicesWatcher.exe.config Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX Event Notification Manager... Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Started 3CX Event Notification Manager. ● 3CXQueueManager01.service - 3CX PhoneSystem 01 Queue Manager Server Loaded: loaded (/lib/systemd/system/3CXQueueManager01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:21 CDT; 30min ago Main PID: 23911 (TcxQMsrv) Tasks: 21 (limit: 4915) CGroup: /system.slice/3CXQueueManager01.service └─23911 /usr/lib/3cxpbx/TcxQMsrv -p /var/run/phonesystem/3CXQueueManager01.pid /var/lib/3cxpbx/Bin/config.json Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 Queue Manager Server... Aug 10 15:52:21 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 Queue Manager Server. ● 3CXIVR01.service - 3CX PhoneSystem 01 IVR Server Loaded: loaded (/lib/systemd/system/3CXIVR01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:19 CDT; 31min ago Main PID: 23912 (3CXIVR) Tasks: 15 (limit: 4915) CGroup: /system.slice/3CXIVR01.service └─23912 /usr/sbin/3CXIVR -n -p /var/run/phonesystem/3CXIVR01.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 IVR Server... Aug 10 15:52:19 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 IVR Server. ● 3CXCfgServ01.service - 3CX PhoneSystem Configuration Service Loaded: loaded (/lib/systemd/system/3CXCfgServ01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:18 CDT; 31min ago Main PID: 23809 (3CXSLDBServ) Tasks: 17 (limit: 4915) CGroup: /system.slice/3CXCfgServ01.service └─23809 /usr/sbin/3CXSLDBServ -n -p /var/run/phonesystem/3CXCfgServ01.pid -o /var/lib/3cxpbx/Bin/Objects.cls -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem Configuration Service... Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem Configuration Service. ● 3CXAudioProvider01.service - 3CX PhoneSystem 01 Audio Provider Server Loaded: loaded (/lib/systemd/system/3CXAudioProvider01.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:18 CDT; 31min ago Main PID: 23855 (3CXAudioProvide) Tasks: 6 (limit: 4915) CGroup: /system.slice/3CXAudioProvider01.service └─23855 /usr/sbin/3CXAudioProvider -n -p /var/run/phonesystem/3CXAudioProvider01.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem 01 Audio Provider Server... Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem 01 Audio Provider Server. ● 3CXMediaServer.service - 3CX PhoneSystem Media Server Loaded: loaded (/lib/systemd/system/3CXMediaServer.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-08-10 15:52:18 CDT; 31min ago Main PID: 23808 (3CXMediaServer) Tasks: 17 (limit: 4915) CGroup: /system.slice/3CXMediaServer.service └─23808 /usr/sbin/3CXMediaServer -n -p /var/run/phonesystem/3CXMediaServer.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini -m /var/lib/3cxpbx/Bin/3cxmediaserver.ini Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Starting 3CX PhoneSystem Media Server... Aug 10 15:52:18 ip-LOCLAHOST systemd[1]: Started 3CX PhoneSystem Media Server. lines 51-109/109 (END)
 
  • 3CX Version, Standard Annual 16.0.2.910
  • Server OS, Debian 9
  • Is the 3CX Hoisted AWS LIghsail
 
We ended up re-building and re-configuring the system.

Lesson learnt - backup/backup/backup. Apparently AWS Snapshots are not the answers. Need to setup and store frequent configuration backups.
 
Status
Not open for further replies.

Forum statistics

Threads
111,956
Messages
589,927
Members
164,858
Latest member
MichaelRussell3