Distro keeps shutting


(Ilouie) #1

Guys, has anyone seen this distro to be constantly shutting off, and the only way to bring it back is to turn server on and off?.. If so, please advice on how to fix. I currently have it installed on a Centos 7 in a Digitalocean droplet. Thanks


(Ilouie) #2

It’s done… It won’t start at all.


(Defcomllc) #3

Nope. Never. You have something misconfigured


#4

The DigitalOcean Console shoud show you either it is not stppped or if it is, then why it stoppped


(Chris Dolese) #5

turning it off and it coming back could also indicate firewall safety trip allowing you in for a bit

if its truly shutting down or crashing it would be logged , use the last command below for shutdowns

~]# last -x 
root     pts/0        73.121.230.37    Sun Aug 15 17:40   still logged in   
runlevel (to lvl 3)   3.10.0-1127.19.1 Sun Aug 15 17:37 - 17:40  (00:02)    
reboot   system boot  3.10.0-1127.19.1 Sun Aug 15 17:37 - 17:40  (00:03)    
shutdown system down  3.10.0-1127.19.1 Sun Aug 15 17:36 - 17:37  (00:00)    
root     pts/0        73.121.230.37    Sun Aug 15 17:05 - down   (00:30)    
root     pts/0        66.185.28.100    Thu Aug 12 18:47 - 19:18  (00:31)    
runlevel (to lvl 3)   3.10.0-1127.19.1 Thu Aug 12 17:51 - 17:36 (2+23:44)   
reboot   system boot  3.10.0-1127.19.1 Thu Aug 12 17:50 - 17:36 (2+23:45)   
root     ttyS0                         Thu Aug 12 17:25 - 17:47  (00:22)    
runlevel (to lvl 3)   3.10.0-1127.19.1 Thu Aug 12 14:50 - 17:51  (03:01)    

to check if asterisk is crashing, look for a core file in /tmp or better yet have a notification for safe_asterisk defined and tested

last but not least insure your far end network is a trusted firewall network and also added to intrusion detection


(Ilouie) #6

Thanks guys, but I bit the dust. After 3 hours of fighting with it, I decided to call it quits. I destroyed it and re-started it. I think this is a more stable install. I didn’t get any of the errors from before. Hopefully this one will work.


(Ilouie) #7

O.K. guys, that didn’t work either. The new one is also shutting down.


(Defcomllc) #8

What are you installing? The distro?

I use Vultr which allows you to upload your own ISO. Have multiple installs running for over a year without issue on there.


(Ilouie) #9

I never had an issue until I connected phones. Then I had to re-install and now it doesn’t turn on and the second install s well.


(Ilouie) #10

Wow… All day wasted on this…


(Defcomllc) #11

Your issue isn’t FreePBX, it’s your install, setup, configuration.


(Ilouie) #12

What could I be doing wrong?.. Setting up Firewall?..


#13

A) Back to DO,

B) Search the marketplace for FreePBX

C) Deploy it.

D) Send @billsimon a beer if it works (you will need to do that :wink: )


(Lorne Gaetz) #14

You have probably misconfigured a sip device and getting your IP banned by fail2ban. Once you’re banned, you will lose all access until the ban clears


#15

Can he successfully install “The Firewall” on Centos 7 ?


#16

If you are using @billsimon 's image from the market place then likely @lgaetz post applies (but you will not be “using Centos 7” )


(Jared Busch) #17

This is 100% not distro then. How many other things are you not telling us?


(Ilouie) #18

This is what I’m using. Issue with Distro


(Ilouie) #19

I had the phones set up with 5160 and they were 5060… Thanks


(Simon Telephonics) #20

Then yes, you are using Distro. It is called CentOS on DO because DO doesn’t know what a “SangomaOS” is.