Problem with service 3CXPhoneSystemMC01

Status
Not open for further replies.

Albert464

Customer
Intermediate Cert.
Joined
Oct 21, 2017
Messages
110
Reaction score
9
Hello,
yesterday I saw that I received an email telling me that the 3CXPhoneSystemMC01 service has stopped.

Through SSH I entered the command:

systemctl start 3CXPhoneSystemMC01.service

But the answer is:
"Failed to start 3CXPhoneSystemMC01.service: The name org.freedesktop.PolicyKit1 was not provided by any .ser
vice files "

What should I do?
 
Have you already tried to restart the services from the Dashboard?
Or just reboot the VM
 
The dashboard is not accessible without that service. I haven't restarted the VM yet because I didn't want to create customer disruptions. I wanted to first understand if it is possible to intervene from the command line.
 
Can you please run "systemctl status 3CXPhoneSystemMC01.service" and "journalctl -xe" for more details?
 
Sure!

Code:
admin@ip-xx-xx-xx-xx:~$ systemctl status 3CXPhoneSystemMC01.service
● 3CXPhoneSystemMC01.service - 3CX PhoneSystem 01 Management Console
   Loaded: loaded (/lib/systemd/system/3CXPhoneSystemMC01.service; enabled; vendor preset:
   Active: failed (Result: signal) since Wed 2019-11-20 00:48:16 CET; 1 day 11h ago
  Process: 10018 ExecStopPost=/bin/rm -f /var/run/phonesystem/management_console01.socket (
  Process: 10016 ExecStopPost=/bin/rm -f /var/run/phonesystem/3CXPhoneSystemMC01.pid (code=
 Main PID: 3062 (code=killed, signal=ABRT)

Nov 19 21:55:47 ip-xx-xx-xx-xx sudo[4368]: pam_unix(sudo:session): session opened for user
Nov 19 21:55:47 ip-xx-xx-xx-xx sudo[4436]: phonesystem : TTY=unknown ; PWD=/var/lib/3cxpbx
Nov 19 21:55:47 ip-xx-xx-xx-xx sudo[4436]: pam_unix(sudo:session): session opened for user
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8677]: phonesystem : TTY=unknown ; PWD=/var/lib/3cxpbx
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8677]: pam_unix(sudo:session): session opened for user
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8745]: phonesystem : TTY=unknown ; PWD=/var/lib/3cxpbx
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8745]: pam_unix(sudo:session): session opened for user
Nov 20 00:48:16 ip-xx-xx-xx-xx systemd[1]: 3CXPhoneSystemMC01.service: Main process exited
Nov 20 00:48:16 ip-xx-xx-xx-xx systemd[1]: 3CXPhoneSystemMC01.service: Unit entered failed
Nov 20 00:48:16 ip-xx-xx-xx-xx systemd[1]: 3CXPhoneSystemMC01.service: Failed with result
lines 1-17/17 (END)...skipping...
● 3CXPhoneSystemMC01.service - 3CX PhoneSystem 01 Management Console
   Loaded: loaded (/lib/systemd/system/3CXPhoneSystemMC01.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Wed 2019-11-20 00:48:16 CET; 1 day 11h ago
  Process: 10018 ExecStopPost=/bin/rm -f /var/run/phonesystem/management_console01.socket (code=exited, status=0/SUCCESS)
  Process: 10016 ExecStopPost=/bin/rm -f /var/run/phonesystem/3CXPhoneSystemMC01.pid (code=exited, status=0/SUCCESS)
 Main PID: 3062 (code=killed, signal=ABRT)

Nov 19 21:55:47 ip-xx-xx-xx-xx sudo[4368]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 19 21:55:47 ip-xx-xx-xx-xx sudo[4436]: phonesystem : TTY=unknown ; PWD=/var/lib/3cxpbx ; USER=root ; COMMAND=/usr/bin/apt-get up
Nov 19 21:55:47 ip-xx-xx-xx-xx sudo[4436]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8677]: phonesystem : TTY=unknown ; PWD=/var/lib/3cxpbx ; USER=root ; COMMAND=/usr/bin/apt-get up
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8677]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8745]: phonesystem : TTY=unknown ; PWD=/var/lib/3cxpbx ; USER=root ; COMMAND=/usr/bin/apt-get up
Nov 19 23:55:47 ip-xx-xx-xx-xx sudo[8745]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 20 00:48:16 ip-xx-xx-xx-xx systemd[1]: 3CXPhoneSystemMC01.service: Main process exited, code=killed, status=6/ABRT
Nov 20 00:48:16 ip-xx-xx-xx-xx systemd[1]: 3CXPhoneSystemMC01.service: Unit entered failed state.
Nov 20 00:48:16 ip-xx-xx-xx-xx systemd[1]: 3CXPhoneSystemMC01.service: Failed with result 'signal'.

Code:
admin@ip-xx-xx-xx-xx:~$ journalctl -xe
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 13474 has been created for the user admin.
--
-- The leading process of the session is 17306.
Nov 21 12:26:24 ip-xx-xx-xx-xx sshd[17313]: Accepted publickey for admin from xx.xx.xx.xx port 8370 ssh2: RSA-CERT ID 785462252323
Nov 21 12:26:24 ip-xx-xx-xx-xx sshd[17313]: pam_unix(sshd:session): session opened for user admin by (uid=0)
Nov 21 12:26:24 ip-xx-xx-xx-xx systemd[1]: Started Session 13475 of user admin.
-- Subject: Unit session-13475.scope has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit session-13475.scope has finished starting up.
--
-- The start-up result is done.
Nov 21 12:26:24 ip-xx-xx-xx-xx systemd-logind[492]: New session 13475 of user admin.
-- Subject: A new session 13475 has been created for user admin
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 13475 has been created for the user admin.
--
-- The leading process of the session is 17313.
Nov 21 12:27:04 ip-xx-xx-xx-xx sshd[17358]: Received disconnect from xx.xx.xx.xx port 33362:11: Bye Bye [preauth]
Nov 21 12:27:04 ip-xx-xx-xx-xx sshd[17358]: Disconnected from xx.xx.xx.xx port 33362 [preauth]
Nov 21 12:27:24 ip-xx-xx-xx-xx sshd[16508]: pam_unix(sshd:session): session closed for user admin
Nov 21 12:27:24 ip-xx-xx-xx-xx systemd-logind[492]: Removed session 13469.
-- Subject: Session 13469 has been terminated
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID 13469 has been terminated.
Nov 21 12:27:24 ip-xx-xx-xx-xx dhclient[381]: XMT: Solicit on eth0, interval 112380ms.
Nov 21 12:27:46 ip-xx-xx-xx-xx sshd[17383]: Invalid user adm from xx.xx.xx.xx port 37646
Nov 21 12:27:46 ip-xx-xx-xx-xx sshd[17383]: input_userauth_request: invalid user adm [preauth]
Nov 21 12:27:46 ip-xx-xx-xx-xx sshd[17383]: Received disconnect from xx.xx.xx.xx port 37646:11: Bye Bye [preauth]
Nov 21 12:27:46 ip-xx-xx-xx-xx sshd[17383]: Disconnected from xx.xx.xx.xx port 37646 [preauth]
 
Has your "admin" user the same permissions as root?

Otherwise you should run: sudo systemctl start 3CXPhoneSystemMC01.service
 
  • Like
Reactions: Alphabetic
It worked, thank you very much!
 
  • Like
Reactions: Zol
Status
Not open for further replies.

Forum statistics

Threads
111,934
Messages
589,819
Members
164,811
Latest member
aurorasigntrtechitnet