echo '== /var/run mgr =='
ls -la /var/run/ 2>/dev/null | grep -iE 'mgr|isp|1500' 
ls -la /usr/local/mgr5/var/run 2>/dev/null
echo '== processes =='
ps aux 2>/dev/null | grep -iE 'ispmgr|mgr5|nginx|mysql|php' | grep -v grep | head -15
echo '== port test localhost:1500 =='
(timeout 3 bash -c 'cat < /dev/null > /dev/tcp/127.0.0.1/1500' 2>&1 && echo OPEN) || echo CLOSED
echo '== try read ispmgr sock =='
ls -la /usr/local/mgr5/var/ispmgr.sock 2>/dev/null; ls -la /var/run/ispmgr.sock 2>/dev/null
