Database reset on sipxcom 20.08

67 views
Skip to first unread message

Todd Hodgen

unread,
Nov 2, 2021, 4:26:12 AM11/2/21
to sipxcom-users
I am wanting to confirm for my own use, and to create a new FAQ if needed - can anyone confirm if these steps are still accurate for a complete reset within sipxcom 20.08 -
  • service sipxecs stop
  • ps -ef | grep sipx
  • Kill all processes owned by sipx that are still running - cfengine as one example
  • kill -9 above processes identified
  • service mongod stop
  • rm -rf /var/lib/mongodb/*
  • sipxecs-setup --reset-all
I think the mongodb section might be now inaccurate.


Iuliu Blaga

unread,
Nov 2, 2021, 6:33:49 AM11/2/21
to Todd Hodgen, sipxcom-users
Hi, Tom, it's

/var/lib/mongo


--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipxcom-users/b7b2f785-b928-4088-9ffb-97406577ff05n%40googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Todd Hodgen

unread,
Nov 2, 2021, 7:24:13 AM11/2/21
to Iuliu Blaga, sipxcom-users
Thank you.  I will give that a try. Fingers crossed.

sent using my two left twiddling thumbs

From: Iuliu Blaga <ibl...@coredial.com>
Sent: Tuesday, November 2, 2021 3:33:37 AM
To: Todd Hodgen <t.ho...@misiusystems.com>
Cc: sipxcom-users <sipxco...@googlegroups.com>
Subject: Re: [sipxcom-users] Database reset on sipxcom 20.08
 

Gerald Drouillard

unread,
Nov 3, 2021, 12:37:59 PM11/3/21
to Todd Hodgen, sipxcom-users
Here is what I use:

Wipe


service sipxecs stop

service postgresql stop

service mongod stop

Service freeswitch stop

Service httpd stop

yum remove $(yum list installed | grep sipX | awk '{ print $1 }')

Yum remove sipx* freeswitch postgres* mongo* httpd*

rm -rf /var/lib/mongodb/*  or (/var/lib/mongo on Centos 7)

rm -rf /etc/sipxpbx

rm -rf /var/sipxdata

rm -rf /var/log/sipxpbx

rm -rf /var/lib/pgsql/data

rm -rf /var/run/sipxpbx

rm -rf /etc/freeswitch

rm -rf /etc/httpd

rm -rf /var/tmp/freeswitch

Make sure the iptables/firewall rules are good and reboot (delete /etc/sysconfig/iptables)

Yum clean all

Yum update

Yum install sipxcom

Sipxecs-setup

reboot


Reset

Sometimes unchecking all the services under “servers” and then rechecking them will bring a machine back.  Especially SIP Trunking - uncheck - send profiles - wait - check Trunking - send profiles.


/etc/init.d/sipxconfig db drop

#remove mongo data...

mongodb-repair --obliterate

#or 

service mongod stop

rm -rf /var/lib/mongodb/*



sipxecs-setup --reset-all

Iuliu Blaga

unread,
Nov 3, 2021, 5:04:34 PM11/3/21
to Gerald Drouillard, Todd Hodgen, sipxcom-users
Hi, as I said before the mongo database path is not mongod but /var/lib/mongo on Centos 7
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipxcom-users/CAC_Y%2BMDCTNSrV8XzzqK_w88HjKsxvpaGVoBCXiv1NE7hJPy8Bw%40mail.gmail.com.

Todd Hodgen

unread,
Nov 4, 2021, 5:15:03 PM11/4/21
to Iuliu Blaga, Gerald Drouillard, sipxcom-users
Yes, duly noted.  Thank you!

sent using my two left twiddling thumbs

From: Iuliu Blaga <ibl...@coredial.com>
Sent: Wednesday, November 3, 2021 2:04:32 PM
To: Gerald Drouillard <ger...@drouillard.ca>
Cc: Todd Hodgen <t.ho...@misiusystems.com>; sipxcom-users <sipxco...@googlegroups.com>
Subject: [sipxcom-users] Database reset on sipxcom 20.08
 
Reply all
Reply to author
Forward
0 new messages