Debian Management Console Service Won't Start

Discussion in '3CX Phone System - General' started by tecnoinfo, Mar 22, 2018.

Thread Status:
Not open for further replies.
  1. tecnoinfo

    Joined:
    Feb 5, 2017
    Messages:
    7
    Likes Received:
    0
    I no longer have access to the console, it gives me a server error

    [​IMG]

    I edited the file /lib/systemd/system/3CXPhoneSystemMC01.service
    setting the parameter TimeoutStartSec = 600
    as recommended in other posts, but nothing

    does anyone have any advice?

    3cx is debian 8 SO installed in VM Hyperv
    in the last 4 months it has always worked without problems


    Thanks
     
  2. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,216
    Likes Received:
    88
    can you go onto the debian via ssh and type
    apt-get update
    apt-get install 3cxpbx

    plz snapshot hos before execution (just in case...)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tecnoinfo

    Joined:
    Feb 5, 2017
    Messages:
    7
    Likes Received:
    0

    already done, nothing has changed. :(
     
  4. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,216
    Likes Received:
    88
    does it update any packages on your host while running the statement?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. tecnoinfo

    Joined:
    Feb 5, 2017
    Messages:
    7
    Likes Received:
    0
    I can also reinstall everything but I have only an old backup.
    and when I try to backup the backup via SSH
    I get this error:

    root@aigespbx:~# sudo -u phonesystem /usr/sbin/3CXBackupCmd --file=backuptest.zip --options=ALL --log=/tmp/backuptest.log

    TCX.Configuration.Exceptions.PhoneSystemException: ConfigServer is not connected
    at TCX.Configuration.PhoneSystem.Connect()
    at TCX.Configuration.PhoneSystem.get_Root()
    at GenericUtilsNet.ApplicationConfiguration.get_PhoneSystemRoot()
    at BackupCmd.Program.Main(String[] args)
    root@aigespbx:~#
     
  6. tecnoinfo

    Joined:
    Feb 5, 2017
    Messages:
    7
    Likes Received:
    0
    Code:
    root@aigespbx:~#  apt-get update
    Trovato http://downloads.3cx.com jessie-testing InRelease
    Scaricamento di:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
    Trovato http://downloads.3cx.com  InRelease
    Trovato http://downloads.3cx.com jessie-testing/main amd64 Packages
    Scaricamento di:2 http://security.debian.org jessie/updates/main Sources [216 kB]
    Ign http://httpredir.debian.org jessie InRelease
    Trovato http://downloads.3cx.com  Packages
    Scaricamento di:3 http://httpredir.debian.org jessie-updates InRelease [145 kB]
    Scaricamento di:4 http://security.debian.org jessie/updates/main amd64 Packages [514 kB]
    Trovato http://security.debian.org jessie/updates/main Translation-en
    Trovato http://httpredir.debian.org jessie Release.gpg
    Ign http://downloads.3cx.com jessie-testing/main Translation-it_CH
    Ign http://downloads.3cx.com jessie-testing/main Translation-it
    Ign http://downloads.3cx.com jessie-testing/main Translation-en
    Trovato http://httpredir.debian.org jessie Release
    Ign http://downloads.3cx.com  Translation-it_CH
    Ign http://downloads.3cx.com  Translation-it
    Ign http://downloads.3cx.com  Translation-en
    Trovato http://httpredir.debian.org jessie-updates/main Sources
    Scaricamento di:5 http://httpredir.debian.org jessie-updates/main amd64 Packages/DiffIndex [10.9 kB]
    Scaricamento di:6 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [3'688 B]
    Trovato http://httpredir.debian.org jessie/main Sources
    Trovato http://httpredir.debian.org jessie/main amd64 Packages
    Trovato http://httpredir.debian.org jessie/main Translation-it
    Trovato http://httpredir.debian.org jessie/main Translation-en
    Recuperati 952 kB in 6s (140 kB/s)
    Lettura elenco dei pacchetti... Fatto
    root@aigespbx:~# apt-get upgrade 3cxpbx
    Lettura elenco dei pacchetti... Fatto
    Generazione albero delle dipendenze
    Lettura informazioni sullo stato... Fatto
    Calcolo dell'aggiornamento... 3cxpbx è già alla versione più recente.
    Eseguito
    I seguenti pacchetti sono stati mantenuti alla versione attuale:
      linux-image-amd64
    0 aggiornati, 0 installati, 0 da rimuovere e 1 non aggiornati.
     
  7. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,216
    Likes Received:
    88
    you seam to have a stopped service which is called config service it self
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. tecnoinfo

    Joined:
    Feb 5, 2017
    Messages:
    7
    Likes Received:
    0
    I discovered that postgresql starts and then goes off. Perhaps this is the problem.
    does anyone have any idea how to solve?
     
  9. Legop

    Joined:
    Feb 22, 2018
    Messages:
    15
    Likes Received:
    0
    I've had this happen twice, both times when creating an extension (and probably some specific misc steps during that). first time was on debian 8, and I rebooted the appliance. Ended up having to reinstall 3cx. Luckily I did have a recent backup.
    Second time was on debian 9, did not restart the appliance, instead typed this
    systemctl start 3CXPhoneSystemMC01
    directly into the console. After that it worked again.
     
Thread Status:
Not open for further replies.