Unraid console 'internal server error' not responding - everything else working ?


Recommended Posts

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 by vw-kombi
updated.
Link to comment

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.

Link to comment

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:~#

 

Link to comment

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.

 

Link to comment

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.

 

Link to comment

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 by vw-kombi
edits
Link to comment

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.

 

Link to comment

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

 

Link to comment

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 by vw-kombi
updated after research
Link to comment
  • 2 weeks later...

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 by Jokerigno
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.