• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Rebooted VPS and now PBX wont start

Status
Not open for further replies.

OCWI

Platinum Partner
Advanced Certified
Joined
Jan 17, 2017
Messages
166
Reaction score
57
My production PBX is hosted on OVH on debian jessie. I know very little about linux. Somehow the VPS restart and now the pbx wont come up. I can SSH into it and i can see the vps is running.

Im not even sure what command to type to diagnose or what to try next - any help would be much appreciated.
 
verify the IP hasn't changed
ifconfig

verify you can ping the outside world
ping 8.8.8.8
ctrl+c to stop the ping

see what's running
ps -ale

restart services:
service nginx restart
service 3cxPhoneSystem restart
service ManagementConso restart
service 3cxSystemService restart

if no results...

reboot
 
Last edited:
much appreciate the reply.

I can indeed ping google

restarting nginx produced no errors, but the other ones all say no such file or directory. Eek!!
 
ouch

ls /var/lib/3cxpbx

anything there?
 
Do you have a backup?
 
a very old one - looks like im in the restoring stage!! CRAP!

THANK YOU for walking me through it though @jimbo59
 
You need to use that backup
echo 'deb http://ftp.de.debian.org/debian/ jessie main' | tee -a /etc/apt/sources.list
apt-get update
apt-get install libicu52 libssl1.0.0 libcurl3=7.38.0-4+deb8u5

wget -O- http://downloads.3cx.com/downloads/3cxpbx/public.key | apt-key add -
echo "deb http://downloads.3cx.com/downloads/3cxpbx/ /" | tee /etc/apt/sources.list.d/3cxpbx.list
apt-get update
apt-get install 3cxpbx

After the last command it will take you to the install where you will use the backup for restore.

https://www.3cx.com/blog/docs/linux-version-9-stretch/
 
good to know, in the meantime i think i found /var/lib/3cxbx i read the output wrong before, when i type that in it says "/var/lib/3cxpbx: Is a directory"
 
good. It doesn't make sense the system was removed.

Try using those service commands with start instead of restart.
 
hmm, still same output, no such file or directory
 
when i ls in that directory i dont see 3cxphonesystem , is that relevant?
 
did you reboot the system
 
yes, i can again though
 
3 directories in /var/lib/3cxpbx
Bin Data Instance1
 
cd /var/lib/3cxpbx
ls -l

cd Instance1/Bin
ls -l

cat 3CXPhoneSystem.ini

cd ..
(backup one directory)
 
confirmed, 3 directories
 
what about when you do a ps -e
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.