So I think I can cause it to crash in this way. My openspot1 had been connected over night until this evening. I just got home from work and unplugged the power from the openspot1. I turned on the open spot2 and the shark server crashed. Now I have to keep rebooting the pi until I can get the server to work again. I will test this theory and let you know if it holds true.
These are the logs from tonight after the server crashed.
Thank you for your help.
Gary
From Apache2 access.log
192.168.1.101 - - [11/Apr/2019:16:59:24 -0400] "GET /api.php?req=lastheard-list HTTP/1.1" 200 279 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
192.168.1.101 - - [11/Apr/2019:16:59:25 -0400] "GET /api.php?req=client-list HTTP/1.1" 200 279 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
192.168.1.101 - - [11/Apr/2019:16:59:25 -0400] "GET /api.php?req=lastheard-list HTTP/1.1" 200 279 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
::1 - - [11/Apr/2019:16:59:26 -0400] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.25 (Raspbian) (internal dummy connection)"
192.168.1.101 - - [11/Apr/2019:16:59:26 -0400] "GET /api.php?req=client-list HTTP/1.1" 200 279 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
192.168.1.101 - - [11/Apr/2019:16:59:26 -0400] "GET /api.php?req=lastheard-list HTTP/1.1" 200 279 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
::1 - - [11/Apr/2019:16:59:27 -0400] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.25 (Raspbian) (internal dummy connection)"
::1 - - [11/Apr/2019:16:59:34 -0400] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.25 (Raspbian) (internal dummy connection)"
::1 - - [11/Apr/2019:16:59:35 -0400] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.25 (Raspbian) (internal dummy connection)"
192.168.1.101 - - [11/Apr/2019:17:00:17 -0400] "GET /api.php?req=client-list HTTP/1.1" 200 280 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
192.168.1.101 - - [11/Apr/2019:17:00:17 -0400] "GET /api.php?req=server-details HTTP/1.1" 200 280 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
192.168.1.101 - - [11/Apr/2019:17:00:17 -0400] "GET /api.php?req=lastheard-list HTTP/1.1" 200 280 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
192.168.1.101 - - [11/Apr/2019:17:00:18 -0400] "GET /api.php?req=client-list HTTP/1.1" 200 279 "
http://192.168.1.237/
" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
From Apace2 error.log
[Thu Apr 11 06:25:05.015810 2019] [mpm_prefork:notice] [pid 462] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Thu Apr 11 06:25:05.015946 2019] [core:notice] [pid 462] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 11 16:59:20.007340 2019] [:error] [pid 3037] [client 192.168.1.101:64382] PHP Warning: stream_socket_client(): unable to connect to unix:///var/sharkrf/srf-ip-conn-srv.socket (Connection refused) in /var/sharkrf/srf-ip-conn-srv/dashboard/api.php on line 11, referer:
http://192.168.1.237/
[Thu Apr 11 16:59:20.007801 2019] [:error] [pid 5101] [client 192.168.1.101:64380] PHP Warning: stream_socket_client(): unable to connect to unix:///var/sharkrf/srf-ip-conn-srv.socket (Connection refused) in /var/sharkrf/srf-ip-conn-srv/dashboard/api.php on line 11, referer:
http://192.168.1.237/
[Thu Apr 11 16:59:20.007948 2019] [:error] [pid 4093] [client 192.168.1.101:64374] PHP Warning: stream_socket_client(): unable to connect to unix:///var/sharkrf/srf-ip-conn-srv.socket (Connection refused) in /var/sharkrf/srf-ip-conn-srv/dashboard/api.php on line 11, referer:
http://192.168.1.237/
[Thu Apr 11 16:59:20.008381 2019] [:error] [pid 5104] [client 192.168.1.101:64378] PHP Warning: stream_socket_client(): unable to connect to unix:///var/sharkrf/srf-ip-conn-srv.socket (Connection refused) in /var/sharkrf/srf-ip-conn-srv/dashboard/api.php on line 11, referer:
http://192.168.1.237/
From syslog
Apr 11 16:58:20 w2ofd150 srf-ip-conn-srv[420]: client: connected clients:
Apr 11 16:58:20 w2ofd150 srf-ip-conn-srv[420]: 3136259 69.114.53.98:37384
Apr 11 16:58:51 w2ofd150 srf-ip-conn-srv[420]: client: connected clients:
Apr 11 16:58:51 w2ofd150 srf-ip-conn-srv[420]: 3136259 69.114.53.98:37384
Apr 11 16:59:10 w2ofd150 srf-ip-conn-srv[420]: packet: client 3136259 69.114.53.98:26264: new login
Apr 11 16:59:10 w2ofd150 srf-ip-conn-srv[420]: packet: client 3136259 69.114.53.98:26264: new login
Apr 11 16:59:20 w2ofd150 srf-ip-conn-srv[420]: client 3136259 69.114.53.98:26264: login timeout
Apr 11 16:59:20 w2ofd150 srf-ip-conn-srv[420]: client 8265728 (null):0: login timeout