Debian 8, latest IncrediblePBX.
When I SSH into the server, it hangs. I tracked it down to pbxstatus. It was working until a couple of days ago. I have not done anything with it to cause the problem.
Right before it hangs, this is what is happening:
Any ideas?
Thanks
Edit: I removed the extra square brackets in line 83 which got rid of that error, but it still hangs.
When I SSH into the server, it hangs. I tracked it down to pbxstatus. It was working until a couple of days ago. I have not done anything with it to cause the problem.
Right before it hangs, this is what is happening:
Code:
+ fail2ban=\Zr\Z2UP\Z0\ZR
+ ps aux
+ grep -c ntpd
+ test=2
+ [ 2 -lt 2 ]
+ ntpd=\Zr\Z2UP\Z0\ZR
+ grep -c DROP
+ sudo iptables -nL
+ test=1
+ [ 1 -lt 1 ]
+ IPtables=\Zr\Z2UP\Z0\ZR
+ ifconfig
+ grep venet0
+ test=
+ [[ ! -z ]]
/usr/local/sbin/pbxstatus: 83: /usr/local/sbin/pbxstatus: [[: not found
+ IPPORT=eth0
+ /sbin/ifconfig eth0
+ grep -c inet
+ test=2
+ [ 2 -lt 2 ]
+ eth0=\Zr\Z2UP\Z0\ZR
+ cut -f 4 -d
+ + tail -1
grep -m+ tr 2 ^
-s+ free -h
+ RAM=2.6GB
+ cut -f 4 -d
+ head -n 1
+ grep /$
+ tr -s
+ df -h
Any ideas?
Thanks
Edit: I removed the extra square brackets in line 83 which got rid of that error, but it still hangs.
Last edited: