vw-kombi Posted March 26, 2021 Share Posted March 26, 2021 (edited) Lost console access. Dockers and shares still working. I had a preclear running on a 10TB new drive, and I had a vnc connection to a VM. I assume I can run something from the command line to restart this ? I dont really want to power down and up. Only other change is I upgraded to 6.9.1 three days back. No issues till now. My VNC session to the VM is also still working. Edited March 26, 2021 by vw-kombi updated. Quote Link to comment
vw-kombi Posted March 27, 2021 Author Share Posted March 27, 2021 as ssh, dockers, networking and nas shares are all fine, this is only holding me up...... I have run a diagnostocs from the commnd line. Now I have to figure out how to restart nginx it seems from the googling. Quote Link to comment
vw-kombi Posted March 27, 2021 Author Share Posted March 27, 2021 So, I ran /etc/rc.d/rc.nginx restart, and it said : Checking configuration for correct syntax and then trying to open files referenced in configuration... nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Shutdown Nginx gracefully... Nginx is already running And still I cant access the console. Can anyone give me some sort of direction ? I got no assistance from my last post so I am looking for some love. Quote Link to comment
vw-kombi Posted March 27, 2021 Author Share Posted March 27, 2021 Seems it cant stop it : root@Tower:~# /etc/rc.d/rc.nginx stop Shutdown Nginx gracefully... root@Tower:~# /etc/rc.d/rc.nginx status Nginx is running root@Tower:~# /etc/rc.d/rc.nginx start Nginx is already running root@Tower:~# /etc/rc.d/rc.nginx status Nginx is running root@Tower:~# Quote Link to comment
vw-kombi Posted March 27, 2021 Author Share Posted March 27, 2021 So.... broke out the kill command....... root@Tower:~# /etc/rc.d/rc.nginx stop Shutdown Nginx gracefully... root@Tower:~# ps -ef | grep nginx nobody 2725 9941 0 02:00 ? 00:02:16 nginx: worker process nobody 2726 9941 0 02:00 ? 00:00:25 nginx: worker process root 9243 1 0 Mar23 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf root 9244 9243 0 Mar23 ? 00:05:34 nginx: worker process is shutting down root 9935 9543 0 Mar23 ? 00:00:00 s6-supervise nginx root 9941 9935 0 Mar23 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /config/nginx/nginx.conf nobody 9962 9941 0 Mar23 ? 00:18:53 nginx: worker process is shutting down nobody 14112 13786 0 04:40 ? 00:00:00 nginx: master process nginx -c /opt/nginx.conf nobody 14114 14112 0 04:40 ? 00:00:00 nginx: worker process root 32312 15859 0 16:02 pts/2 00:00:00 grep nginx root@Tower:~# kill 9244 root@Tower:~# ps -ef | grep nginx nobody 2725 9941 0 02:00 ? 00:02:16 nginx: worker process nobody 2726 9941 0 02:00 ? 00:00:25 nginx: worker process root 3809 15859 0 16:03 pts/2 00:00:00 grep nginx root 9935 9543 0 Mar23 ? 00:00:00 s6-supervise nginx root 9941 9935 0 Mar23 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /config/nginx/nginx.conf nobody 9962 9941 0 Mar23 ? 00:18:53 nginx: worker process is shutting down nobody 14112 13786 0 04:40 ? 00:00:00 nginx: master process nginx -c /opt/nginx.conf nobody 14114 14112 0 04:40 ? 00:00:00 nginx: worker process root@Tower:~# kill 9262 -bash: kill: (9262) - No such process root@Tower:~# ps -ef | grep nginx nobody 2725 9941 0 02:00 ? 00:02:16 nginx: worker process nobody 2726 9941 0 02:00 ? 00:00:25 nginx: worker process root 5650 15859 0 16:03 pts/2 00:00:00 grep nginx root 9935 9543 0 Mar23 ? 00:00:00 s6-supervise nginx root 9941 9935 0 Mar23 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /config/nginx/nginx.conf nobody 9962 9941 0 Mar23 ? 00:18:53 nginx: worker process is shutting down nobody 14112 13786 0 04:40 ? 00:00:00 nginx: master process nginx -c /opt/nginx.conf nobody 14114 14112 0 04:40 ? 00:00:00 nginx: worker process root@Tower:~# /etc/rc.d/rc.nginx stop Nginx is not running root@Tower:~# /etc/rc.d/rc.nginx status Nginx is not running root@Tower:~# /etc/rc.d/rc.nginx start Starting Nginx server daemon... root@Tower:~# And so something different - both the remote desktop and the unraid gui console are just spinning when they try to go to http://192.168.1.7/main (my console IP), then after about 30 seconds, 500 Internal Server Error nginx. I need some help / ideas. and if this cant be fixed for the command line (it should be), then console commands for stop array and restart. Quote Link to comment
vw-kombi Posted March 27, 2021 Author Share Posted March 27, 2021 more searching and then I found this which is the missing piece - whatever that is/does : /etc/rc.d/rc.php-fpm restart 1 Quote Link to comment
vw-kombi Posted March 29, 2021 Author Share Posted March 29, 2021 so this has happened again. This time, I just restarted php-fpm. root@Tower:~# /etc/rc.d/rc.php-fpm restart Gracefully shutting down php-fpm . done Starting php-fpm done root@Tower:~# This MUST be an issue with the latest unraid release - as I have never had this before. Do I raise this as an issue ? I just dont seem to get any replies. I seem to just be posting replies to my self. Quote Link to comment
John_M Posted March 29, 2021 Share Posted March 29, 2021 On 3/27/2021 at 5:53 AM, vw-kombi said: I have run a diagnostocs from the commnd line. Post the zip file that it created in the logs directory in the root of your boot flash device. Quote Link to comment
vw-kombi Posted March 29, 2021 Author Share Posted March 29, 2021 And this has happened again. While it was stopped, I took the liberty to again run the disagnistics from the command line. Pulled the flash drive and inserted it into the PC and copied the zip file to here as instructed. tower-diagnostics-20210329-1829.zip Quote Link to comment
vw-kombi Posted March 29, 2021 Author Share Posted March 29, 2021 (edited) Oh dear - after restarting this c.php-fpm this time, all my console is white (not black) and in the top right I have 'missing key file' in red. If I click on that, and try to paste in my install key from the email from years back, I get Error (1) the bottom of the screen keeps f;ashing something about 'starting services', then warning something but it is too quick. to make matters worse, I cant stop the array as it says 'mover is running' to do a restart. In the end - a power off and on with the big button - and now the parity check I could do without !!!!!! Edited March 29, 2021 by vw-kombi edits Quote Link to comment
JonathanM Posted March 29, 2021 Share Posted March 29, 2021 2 hours ago, vw-kombi said: Pulled the flash drive and inserted it into the PC You stopped the array and powered down before you removed the flash, right? Quote Link to comment
vw-kombi Posted March 29, 2021 Author Share Posted March 29, 2021 Nope....... I assumed the diagnostics was wanted when the issue was in place. The issue causes no console, so I could not use the console to stop the array - or read the flash drive. In hindsight, I assume I could have figured out how to copy the diagnostics from the flash via the command line - as in I could cd to there, but not sure how I would have copied it off there. Quote Link to comment
trurl Posted March 29, 2021 Share Posted March 29, 2021 Lots of this in syslog Mar 29 06:40:01 Tower Sync-Home-Monitoring-to-Laptop: Started Mar 29 06:40:01 Tower Sync-Home-Monitoring-to-Laptop: RSync Home_Monitoring to Hidden Laptop NFS drive Mar 29 06:40:40 Tower unassigned.devices: SMB/NFS server '192.168.1.9' is not responding to a ping and appears to be offline. ### [PREVIOUS LINE REPEATED 3 TIMES] ### If you get rid of that does the problem still occur? Also Quote Link to comment
vw-kombi Posted March 29, 2021 Author Share Posted March 29, 2021 (edited) Thanks for that - the first issue was waiting for me to climb in the loft of all places. I replaced my pfsense with ubiquiti USG (all on another thread as pfsense VM let me down), so I had to change the wifi's. This old laptop up in the loft is taking CCTV and storing it there every 5 minutes....... so robbers can be recorded and if they steal the unraid server, they are still on film. That is fixed now. Its just the console that is crashing. That support thing has not been an issue for me in the years of running unraid. Edited March 29, 2021 by vw-kombi updated after research Quote Link to comment
vw-kombi Posted April 2, 2021 Author Share Posted April 2, 2021 Been 4 days and no console crash. Fingers crossed it has settled down. Quote Link to comment
vw-kombi Posted April 8, 2021 Author Share Posted April 8, 2021 another week and no crashes - lets assume that is the back of it!!!! Quote Link to comment
Jokerigno Posted April 22, 2021 Share Posted April 22, 2021 (edited) I had this issue this morning with 6.9.2 and /etc/rc.d/rc.php-fpm restart make the trick. During the issue I tried to download a diagnostics but cli command does not worked as expected. I tried to download it after gui came back but no luck. System was still unresponsible in some way. I tried to reboot first via gui then use powerdown but no changes. So I tried shutdown and poweroff and finally it shut down. Of course a parity check started. I hope it is useful. Edited April 22, 2021 by Jokerigno Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.