3cx-Server-Fehler nach Auto-Update

hofmeirmedia

Bronze Partner
Basic Certified
Mitglied seit
16. November 2014
Beiträge
94
Hallo,
eine 3cx-Anlage hat heute kurz nach 9 Uhr einen Updateversuch automatisch gestartet (ideale Zeit in Deutschland!), seitdem ist kein Login mehr möglich: Server-Fehler.
root@3cx:/var/lib/3cxpbx/Instance1/Data/Logs# tail 3cxManagementConsole.log
2023/02/03 09:05:21.065|6369|0039|Inf|[ProductUpdater.Services.UpdateService] Starting update...
2023/02/03 09:05:21.261|6369|0039|Inf|[ProductUpdater.Services.UpdateService] Updating New 18.0 Update 6 Final
2023/02/03 09:05:21.993|6369|0039|Inf|[TcxSchedule.TcxScheduler] Scheduling next run in 00:05:21.3252866 for jobs: d05e977c-d411-458f-b9bc-e2c86bdbc091-ProductUpdater-Every 02:00:00-Update.GeneralCheck-GeneralCheck

Der Webserver zeigt die Login-Seite noch an, nach dem Loginversuch kommt über dem Kasten "Server-Fehler".

root@3cx:/var/lib/3cxpbx/Data/Logs# cat unattended-upgrade.log
Hit:1 http://repo.3cx.com/debian/1806 buster InRelease
Hit:2 http://repo.3cx.com/debian-security/1806 buster InRelease
Hit:3 http://repo.3cx.com/3cx buster-testing InRelease
Hit:4 http://repo.3cx.com/3cx buster InRelease
Reading package lists...
No updates installed.

root@3cx:/var/lib/3cxpbx/Instance1/Data/Logs# ps ax | egrep -i "3cx|phone"
1872 ? Ssl 0:07 /usr/sbin/3CXSLDBServ -n -p /var/run/phonesystem/3CXCfgServ01.pid -o /var/lib/3cxpbx/Bin/Objects.cls -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini
1873 ? Ss 0:02 postgres: 9.6/main: phonesystem masterprofiles 127.0.0.1(48380) idle
1874 ? Ss 0:04 postgres: 9.6/main: phonesystem database_single 127.0.0.1(48382) idle
1875 ? Ss 0:05 postgres: 9.6/main: phonesystem database_single 127.0.0.1(48384) idle
1906 ? Ssl 0:09 /usr/sbin/3CXPhoneSystem -p /var/run/phonesystem/3CXPhoneSystem01.pid /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini
2106 pts/0 S+ 0:00 grep -E -i 3cx|phone

Zum Vergleich bei einem funktionierenden System:
238 ? Ssl 3:02 /usr/lib/3cxpbx/CloudServicesWatcher -p /var/run/phonesystem/3CXEventNotificationManager.pid -c /var/lib/3cxpbx/Bin/CloudServicesWatcher.exe.config
246 ? SLsl 2:33 /usr/sbin/3CXMediaServer -n -p /var/run/phonesystem/3CXMediaServer.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini -m /var/lib/3cxpbx/Bin/3cxmediaserver.ini
4101 ? Ssl 11:17 /usr/lib/3cxpbx/3CXManagementConsole --pid /var/run/phonesystem/3CXPhoneSystemMC01.pid -p /var/lib/3cxpbx/Instance1/Data/Http/webroot
4102 ? Ssl 1:12 /usr/sbin/3CXAudioProvider -n -p /var/run/phonesystem/3CXAudioProvider01.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini
4103 ? Ssl 0:31 /usr/lib/3cxpbx/3cxSystemService -p /var/run/phonesystem/3CXSystemService01.pid /var/lib/3cxpbx/Bin
4104 ? Ssl 2:24 /usr/sbin/3CXPhoneSystem -p /var/run/phonesystem/3CXPhoneSystem01.pid /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini
4158 ? SLsl 3:35 /usr/sbin/3CXIVR -n -p /var/run/phonesystem/3CXIVR01.pid -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini
4159 ? Ssl 0:04 /usr/lib/3cxpbx/3CXCallFlow -p /var/run/phonesystem/3CXCallFlow01.pid /var/lib/3cxpbx/Bin/config.json
4160 ? Ssl 0:12 /usr/lib/3cxpbx/TcxQMsrv -p /var/run/phonesystem/3CXQueueManager01.pid /var/lib/3cxpbx/Bin/config.json
4296 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59144) idle
4304 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59146) idle
4326 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59152) idle
4358 ? Ssl 2:20 /usr/lib/3cxpbx/3CXGatewayService
9811 ? Ssl 0:10 /usr/sbin/3CXSLDBServ -n -p /var/run/phonesystem/3CXCfgServ01.pid -o /var/lib/3cxpbx/Bin/Objects.cls -c /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini
9930 ? Ss 0:19 postgres: 11/main: phonesystem masterprofiles 127.0.0.1(32770) idle
10026 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(32844) idle
10724 ? Ss 0:01 postgres: 11/main: phonesystem database_single 127.0.0.1(33334) idle
28304 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59512) idle
28328 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59516) idle
28331 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59518) idle
28444 ? Ss 0:00 postgres: 11/main: phonesystem database_single 127.0.0.1(59522) idle
28497 pts/0 S+ 0:00 grep -E -i 3cx|phone

root@3cx:/var/lib/3cxpbx/Instance1/Data/Logs# service 3CX* status | grep ".service -\|Active"
3CXMediaServer.2019-09-29.070135.log: unrecognized service

Zum Vergleich bei einem funktionierenden System:
root@3cx:/var/lib/3cxpbx/Instance1/Data/Logs# service 3CX* status | grep ".service -\|Active"
● 3CXPhoneSystem01.service - 3CX PhoneSystem 01 SIP Server
Active: active (running) since Fri 2023-02-03 04:43:28 CET; 11h ago
● 3CXIVR01.service - 3CX PhoneSystem 01 IVR Server
Active: active (running) since Fri 2023-02-03 04:43:28 CET; 11h ago
● 3CXEventNotificationManager.service - 3CX Event Notification Manager
Active: active (running) since Fri 2023-02-03 04:43:21 CET; 11h ago
● 3CXMediaServer.service - 3CX PhoneSystem Media Server
Active: active (running) since Fri 2023-02-03 04:43:18 CET; 11h ago
● 3CXAudioProvider01.service - 3CX PhoneSystem 01 Audio Provider Server
Active: active (running) since Fri 2023-02-03 04:43:26 CET; 11h ago
● 3CXQueueManager01.service - 3CX PhoneSystem 01 Queue Manager Server
Active: active (running) since Fri 2023-02-03 04:43:41 CET; 11h ago
● 3CXGatewayService.service - 3CX Gateway Service
Active: active (running) since Fri 2023-02-03 04:44:00 CET; 11h ago
● 3CXPhoneSystemMC01.service - 3CX PhoneSystem 01 Management Console
Active: active (running) since Fri 2023-02-03 04:43:57 CET; 11h ago
● 3CXSystemService01.service - 3CX PhoneSystem 01 System Server
Active: active (running) since Fri 2023-02-03 04:43:42 CET; 11h ago
● 3CXCfgServ01.service - 3CX PhoneSystem Configuration Service
Active: active (running) since Fri 2023-02-03 04:43:26 CET; 11h ago
● 3CXCallFlow01.service - 3CX PhoneSystem 01 CallFlow Server
Active: active (running) since Fri 2023-02-03 04:43:43 CET; 11h ago
● 3CXFirewall.service - 3CX PhoneSystem Firewall
Active: active (exited) since Fri 2023-02-03 04:43:18 CET; 11h ago


Wie kann man das Problem weiter eingrenzen/fixen?
 
Wie und wo ist die 3cx denn installiert?
 
  • Like
Reaktionen: MarcosV__3CX
Die 3cx läuft in einer KVM-basierten VM unter Debian GNU/Linux 10 (buster)
 
Stimmt die Uhrzeit der 3CX? Ist die von der Linux ISO installiert worden?
 
die Uhrzeit stimmt:
date
Sun 12 Feb 2023 09:36:19 PM CET

Wie installiert? Bin ich mir nicht mehr scher, ob per ISO oder nur die Pakete auf eine Debian-Installation.
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
# cat /etc/debian_version
10.13
# dpkg -l 3cxpbx
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
iF 3cxpbx 18.0.6.908 amd64 3CX PBX
 
Hi @hofmeirmedia,

ich gehe davon aus dass updates manuell über command line angestoßen wurde.


Wie dem auch sei, ist ein Backup der Anlage vorhanden?
 
Hallo zusammen,

ich hatte das Problem auch auf einem Kundensystem. Ich habe ich dann im Update.log die Lösung gefunden.
Hoffe eure Probleme werden damit auch behoben ;)

E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »sudo dpkg --configure -a« ausführen, um das Problem zu beheben.

Grüße aus der Pfalz
 
Zuletzt bearbeitet:

Statistik des Forums

Themen
44.414
Beiträge
232.720
Mitglieder
78.330
Neuestes Mitglied
uvitas