Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Server seems to be refusing connections?

Featured Replies

Hey guys.

 

None of my networked machines are able to connect to my server through SMB or via putty. If I try every machine throws a different network error (one says server is refusing connections, another says it needs to reinstall TCP/IP, the other said something different still). However, I can still connect to the dashboard via HTTP and everything seems fine. Array is up, disks are read fine, SMB enabled. I wasn't poking any settings before this happened either, just normal operation then when I went to grab a file the server wasn't there.

 

This persists through multiple reboots on both the server and remote machines, and updating Unraid didn't solve anything either. The only other symptoms are that the Web interface is very sluggish now, taking over a minute to access pages but nothing has changed on the networking side as far as I know.

 

I tried to connect via IP address instead of server name to no avail and in the browser just http://tower gets me the page so it seems not to be a name/Ip issue but I can't rule that out.

 

Any ideas what I can do would b greatly appreciated!

 

 

  • Author

Anyone? I hate to be that guy but right now my sever just doesn't work in any useful way and seemingly there's nothing I can do about that. A little help?

You need to attach your diagnostics. See the 'need help?' sticky in this forum

 

Sent from my ONEPLUS A3000 using Tapatalk

 

 

OK, that's a syslog, and it may be enough. But unRAID 6 actually has a separate "diagnostic" function that provides a lot more helpful info.  Even if the GUI isn't working, you can pull diagnostics from the command line as described in the Need help? Read me first! post.

 

I'm not an expert, but what stands out to me is that you don't have any users:

 

Oct 27 00:39:19 Tower rsyslogd-3003: ID for user 'root' could not be found or error

Oct 27 00:40:31 Tower su: FAILED su for  by 
Oct 27 00:40:31 Tower su: -  ???:

Oct 27 00:41:09 Tower avahi-daemon[3835]: Failed to find user 'avahi'.

 

That may point to a problem with your /boot/config/passwd file, or there may be a different underlying problem that is causing it.  Hopefully someone else will know what to do.

  • Author

I've managed to acquire a new error message;

 

In putty when trying to telnet into the server it'll now throw 'login: Cannot possible work without effective root' at me. So that seems to suggest that there indeed is something very wrong with users or passwords or similar here.

 

Following ljm42's suggestion I opened up /boot/config/passwd and it only reads:

 

'unraid-plex:x:999:100::/homfalsee/unraid-plex:/sbin/nologin

root:x:1001:100::/:/bin/'

 

Since I have no idea if that's what it's supposed to say I don't know where to start with fixing that; as best I can see there isn't a fresh version of the file in the download package; presumably it's created during first boot, but that means I can't just copy a new version over. Since my server runs headless I'm not in a hurry to start deleting stuff and repeatedly rebooting to see if I can spur it to remake users without knowing what I'm doing.

 

So...

 

What to do?

Your /boot/config/passwd file is corrupted, so no users are defined.  Your flash drive has tons of FSCK*.REC files on it, unfortunately it is possible that other configuration files have been corrupted as well.

 

Here's what I would do:

* Rename /boot/config/passwd to passwd.sav and /boot/config/shadow to shadow.sav (depending on how slow the system is, it might be easier to put the flash drive in another computer to rename the files)

* Reboot.  This will give you all the default users.

* Hopefully when the system comes back up it will be faster

* Set a root password and re-create your users

* Walk through the interface looking for other settings that need to be fixed

* Upload a new diagnostics file if you need help

 

BTW, were you aware your data drives are almost full?

  • Author

Thanks, I'll give it a go.

 

Yeah, I know my drives are really full but I need to wait for my Christmas pay check to get a couple of new drives in there.

  • Author

The fix you suggested worked! The server is now connectable again.

 

However one of my user shares is showing up as empty via Windows Explorerer. The files are still visible there through the web gui and looking through the putty command line so there's nothing actually missing, but the files are not accessible. The share still works; no error is thrown when I try to view the folder, it just appears empty.

  • Community Expert

If you want anyone to be able to give sensible advice you need to post your diagnostics file (Tools->Diagnostics).

  • Author

If you want anyone to be able to give sensible advice you need to post your diagnostics file (Tools->Diagnostics).

 

My diag file is like four posts up and the problem it relates to was solved by another user. So super good contribution here dude. Thanks a lot.

If you want anyone to be able to give sensible advice you need to post your diagnostics file (Tools->Diagnostics).

 

My diag file is like four posts up and the problem it relates to was solved by another user. So super good contribution here dude. Thanks a lot.

 

Nice attitude, "dude".

 

As you yourself put it - that diagnostics file relates to another problem. Things have changed since then and you have encountered a new problem. That other user you refer to also wrote "Upload a new diagnostics file if you need help", right? ;)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.