nktm85 Posted April 13, 2022 Share Posted April 13, 2022 So I haven't turned on my server for a few weeks to save some energy, but needed to use server for some backups. When turning on, system boots up fine and I can login on system itself, however, I cannot access the web interface from server, or via IP address or server name from system or other computers on same network. It just gives me an "unable to connect" or refused to connect error page. Telnet/SSH still works, but idk how else to access the web interface to start the array so I can access the files on my server. BTW - I have booted normally, and in safe mode with no plugins, and both cannot access web interface while using the gui on system itself. please help, need to access some files today! syslog.txt Quote Link to comment
itimpi Posted April 13, 2022 Share Posted April 13, 2022 It might be worth trying to connect via IP address in case there is any sort of name resolution issue. You are likely to get better informed feedback if you post your system’s diagnostics zip file rather than just the syslog. Quote Link to comment
Squid Posted April 13, 2022 Share Posted April 13, 2022 Or 127.0.0.1 if using the built-in GUI Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 6 minutes ago, itimpi said: It might be worth trying to connect via IP address in case there is any sort of name resolution issue. You are likely to get better informed feedback if you post your system’s diagnostics zip file rather than just the syslog. Yes, I've tried IP, and name, 127.0.0.1, and localhost all which are not able to connect/refuse to connect. Since firefox is loaded, I am able to browse other regular websites like yahoo.com and such. here are the system diagnostics I've also renamed all the plugin plg files in config folder to make sure any plugins were causing issues. gardenhill-diagnostics-20190622-1054.zip Quote Link to comment
Squid Posted April 13, 2022 Share Posted April 13, 2022 Do you live in China? Assuming you don't (and if you did I'd recommend the same thing) Don't forward the management ports or put your server into your router's DMZ. It's only a matter of time before someone actually gets in Jun 22 10:52:08 Gardenhill sshd[14268]: Disconnecting authenticating user root 218.92.0.187 port 51316: Too many authentication failures [preauth] Jun 22 10:52:11 Gardenhill sshd[14483]: Failed password for root from 218.92.0.187 port 55662 ssh2 Can you access the system from a different computer? Can you try this: https://wiki.unraid.net/My_Servers#How_to_access_your_server_when_DNS_is_down Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 I definitely do not port forward any management ports other than plex to the server, so don't know how they are getting in? Seems like they are trying to gain access via SSH, but that was a while ago. And no, I cannot access the system from another computer, or on the actual unraid server. This was working a few weeks ago, and I only shut it down 😭 I just tried to create a new USB with copied config folder to the new usb drive. Same symptoms. Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 Those diagnostics are from 20190622 so maybe your aren't currently being hacked. If you can get to the command line try to get new diagnostics Quote Link to comment
Squid Posted April 13, 2022 Share Posted April 13, 2022 2 minutes ago, trurl said: 20190622 Nice catch. Obviously I don't read filenames... This is in your syslog (which is presumably current ) Apr 13 10:30:08 Gardenhill root: nginx: [emerg] PEM_read_bio_X509("/etc/ssl/certs/unraid_bundle.pem") failed (SSL: error:0908F070:PEM routines:get_header_and_data:short header) Try deleting the contents of /config/ssl and /config/ssh on the flash drive and reboot. Any change Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 (edited) yes i know I generated the system log with a cmd via ssh. How can I generate a system diagnostics from command line? edit, I am dumb...just type diagnostics in cmd line 😅 Edited April 13, 2022 by nktm85 Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 5 minutes ago, Squid said: Obviously I don't read filenames I often don't but seemed relevant given the timestamps in the syslog you quoted. Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 here is updated diagnostics. This was generated from the NEW USB drive I created using Unraid's flash drive tool with 6.9.2 and copied all my config contents to the new drive gardenhill-diagnostics-20220413-1158.zip Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 just to add on, the unraid box does get an ip address which is what I've been using to telnet into the server Quote Link to comment
Solution Squid Posted April 13, 2022 Solution Share Posted April 13, 2022 Apr 13 11:48:03 Gardenhill root: nginx: [emerg] cannot load certificate "/etc/ssl/certs/unraid_bundle.pem": PEM_read_bio_X509() failed (SSL: error:0908F066:PEM routines:get_header_and_data:bad end line) Try deleting /config/ssl and /config/ssh reboot if still no go, then post a new set Quote Link to comment
Squid Posted April 13, 2022 Share Posted April 13, 2022 38 minutes ago, trurl said: I often don't but seemed relevant given the timestamps in the syslog you quoted. Ahh... Must be because of Day light saving's time. Didn't the calendar just spring ahead 2 months??? Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 whoa! that did the trick! I can see the web interface now! BUT I have another issue, the array seems to be looking for older hard drives, which I have since replaced. Is there any way I can see the array config from only a couple of weeks ago? Which file would that be under. I just want to makes sure I am using the correct drives for slots that I was using before when it was working so I don't lose any files. Quote Link to comment
Squid Posted April 13, 2022 Share Posted April 13, 2022 No because you restored a backup. Do a New Config (Tools) and assign the drives accordingly. If anything comes up as unmountable stop whatever your doing and post diagnostics Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 oh ok =( do I need to preserve any current assignments? I only have one cache drive which was known. Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 18 minutes ago, nktm85 said: Is there any way I can see the array config from only a couple of weeks ago? Do you have a flash backup that recent? You must always keep a current backup of flash. Any setting you make in the webUI is stored on flash, so any setting made after the last flash backup is lost if you need to restore. You can always download a current backup of flash from Main - Boot Device - Flash - Flash Backup. Or the flash backup feature of My Servers will keep one automatically on Unraid cloud. Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 1 minute ago, nktm85 said: oh ok =( do I need to preserve any current assignments? I only have one cache drive which was known. Do you have a screenshot, syslog, or diagnostics from your current configuration? Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 i thought i did, but the one I loaded was a year ago before I swapped some drives. I can sort of figure out which drives I swapped in order to figure out the array. If i do a new config and get the drives wrong, will it not start or mount? Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 1 minute ago, trurl said: Do you have a screenshot, syslog, or diagnostics from your current configuration? Here is all we have from that syslog you posted earlier. Obviously it was missing some drives at the time, disk0 is parity (missing) and disk29 is parity2. Apr 13 10:30:05 Gardenhill kernel: mdcmd (1): import 0 Apr 13 10:30:05 Gardenhill kernel: md: import_slot: 0 missing Apr 13 10:30:05 Gardenhill kernel: mdcmd (2): import 1 sdi 64 9766436812 0 WDC_WD100EMAZ-00WJTA0_JEGHSNRN Apr 13 10:30:05 Gardenhill kernel: md: import disk1: (sdi) WDC_WD100EMAZ-00WJTA0_JEGHSNRN size: 9766436812 Apr 13 10:30:05 Gardenhill kernel: mdcmd (3): import 2 sde 64 7814026532 0 WDC_WD80EMAZ-00WJTA0_7HJYTWXF Apr 13 10:30:05 Gardenhill kernel: md: import disk2: (sde) WDC_WD80EMAZ-00WJTA0_7HJYTWXF size: 7814026532 Apr 13 10:30:05 Gardenhill kernel: mdcmd (4): import 3 sdc 64 7814026532 0 WDC_WD80EMAZ-00WJTA0_1SJM168Z Apr 13 10:30:05 Gardenhill kernel: md: import disk3: (sdc) WDC_WD80EMAZ-00WJTA0_1SJM168Z size: 7814026532 Apr 13 10:30:05 Gardenhill kernel: mdcmd (5): import 4 Apr 13 10:30:05 Gardenhill kernel: md: import_slot: 4 missing Apr 13 10:30:05 Gardenhill kernel: mdcmd (6): import 5 Apr 13 10:30:05 Gardenhill kernel: md: import_slot: 5 missing Apr 13 10:30:05 Gardenhill kernel: mdcmd (7): import 6 Apr 13 10:30:05 Gardenhill kernel: md: import_slot: 6 missing Apr 13 10:30:05 Gardenhill kernel: mdcmd (8): import 7 Apr 13 10:30:05 Gardenhill kernel: mdcmd (9): import 8 Apr 13 10:30:05 Gardenhill kernel: mdcmd (10): import 9 Apr 13 10:30:05 Gardenhill kernel: mdcmd (11): import 10 Apr 13 10:30:05 Gardenhill kernel: mdcmd (12): import 11 Apr 13 10:30:05 Gardenhill kernel: mdcmd (13): import 12 Apr 13 10:30:05 Gardenhill kernel: mdcmd (14): import 13 Apr 13 10:30:05 Gardenhill kernel: mdcmd (15): import 14 Apr 13 10:30:05 Gardenhill kernel: mdcmd (16): import 15 Apr 13 10:30:05 Gardenhill kernel: mdcmd (17): import 16 Apr 13 10:30:05 Gardenhill kernel: mdcmd (18): import 17 Apr 13 10:30:05 Gardenhill kernel: mdcmd (19): import 18 Apr 13 10:30:05 Gardenhill kernel: mdcmd (20): import 19 Apr 13 10:30:05 Gardenhill kernel: mdcmd (21): import 20 Apr 13 10:30:05 Gardenhill kernel: mdcmd (22): import 21 Apr 13 10:30:05 Gardenhill kernel: mdcmd (23): import 22 Apr 13 10:30:05 Gardenhill kernel: mdcmd (24): import 23 Apr 13 10:30:05 Gardenhill kernel: mdcmd (25): import 24 Apr 13 10:30:05 Gardenhill kernel: mdcmd (26): import 25 Apr 13 10:30:05 Gardenhill kernel: mdcmd (27): import 26 Apr 13 10:30:05 Gardenhill kernel: mdcmd (28): import 27 Apr 13 10:30:05 Gardenhill kernel: mdcmd (29): import 28 Apr 13 10:30:05 Gardenhill kernel: mdcmd (30): import 29 sdf 64 9766436812 0 WDC_WD100EMAZ-00WJTA0_2YK5TGED Apr 13 10:30:05 Gardenhill kernel: md: import disk29: (sdf) WDC_WD100EMAZ-00WJTA0_2YK5TGED size: 9766436812 Apr 13 10:30:05 Gardenhill emhttpd: import 30 cache device: (nvme0n1) INTEL_SSDPEKNW010T8_PHNH9134021L1P0B Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 1 minute ago, nktm85 said: If i do a new config and get the drives wrong, will it not start or mount? It won't know it is wrong and will proceed to build parity on any disk assigned to any parity slot, possibly overwriting data. Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 18 minutes ago, Squid said: Do a New Config (Tools) and assign the drives accordingly. If anything comes up as unmountable stop whatever your doing and post diagnostics Don't assign any disk to any parity slot. The unmountable disks will be parity disks, since they have no filesystem to mount. That is, assuming you don't have any data disks that are actually unmountable. Quote Link to comment
nktm85 Posted April 13, 2022 Author Share Posted April 13, 2022 4 minutes ago, trurl said: Do you have a screenshot, syslog, or diagnostics from your current configuration? yea, that's what I am asking if syslogs or diagnostics have any info on which disk is to which slot. I just to make sure i get drives right before starting the array. here is a later diagnostics from my original usb drive that was after the old backup I loaded =( I also have a screenshot of my array with hdd serial's that I can dm if it makes it easier to search gardenhill-diagnostics-20210410-1433.zip Quote Link to comment
trurl Posted April 13, 2022 Share Posted April 13, 2022 Several ways to get your disk assignments from those diagnostics. Just look in the SMART folder, for example. 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.