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.

smbpasswd database is corrupt?

  • Minor

I found an odd bug, which I so far, have reproduced twice.

The symptoms- logging into ssh will just time out.

 

Jun 10 10:07:18 Tower sshd[51491]: Connection from 10.100.10.3 port 2782 on 10.100.4.24 port 22 rdomain ""
Jun 10 10:07:46 Tower sshd[53503]: Connection from 10.100.10.3 port 2790 on 10.100.5.2 port 22 rdomain ""
Jun 10 10:08:46 Tower sshd[58123]: Connection from 10.100.10.3 port 2803 on 10.100.5.2 port 22 rdomain ""
Jun 10 10:08:59 Tower sshd[58123]: Received disconnect from 10.100.10.3 port 2803:11: Session closed [preauth]
Jun 10 10:08:59 Tower sshd[58123]: Disconnected from 10.100.10.3 port 2803 [preauth]
Jun 10 10:09:15 Tower sshd[51491]: Received disconnect from 10.100.10.3 port 2782:11: Session closed [preauth]
Jun 10 10:09:15 Tower sshd[51491]: Disconnected from authenticating user root 10.100.10.3 port 2782 [preauth]
Jun 10 10:09:36 Tower sshd[62244]: Connection from 10.100.10.3 port 2812 on 10.100.5.2 port 22 rdomain ""
Jun 10 10:09:43 Tower sshd[53503]: Connection closed by authenticating user root 10.100.10.3 port 2790 [preauth]
Jun 10 10:09:54 Tower sshd[63481]: Connection from 10.100.10.3 port 2818 on 10.100.4.24 port 22 rdomain ""

 

However, it will never connect.
image.thumb.png.0bb6298d875201248aafca4345570b37.png


As well, when trying "su root" (when run as root), this also hangs.

 

image.png.7df3125f2885a4179647aa748100d95c.png

 

 

 

the logs, however, will show a successful su.

 

Jun 10 10:34:05 Tower su[51135]: Successful su for root by root
Jun 10 10:34:05 Tower su[51135]: + /dev/pts/0 root:root

 

When this issue occurs, there is nothing of interest from the dmesg output.

 

As well, using the terminal from the web interface works fine, SMB and NFS works fine, and I am unable to identify anything else impacted aside from su, and ssh/sftp.

SFTP exhibits the same symptoms noticed by SSH, which is expected.

 

image.png.3269e02e80dba87953f5b1ba1fb3cf3c.png

 

I can confirm, restarting the server does correct this.

 

Restarting the service using:

 

root@Tower:~# /etc/rc.d/rc.sshd stop
root@Tower:~# /etc/rc.d/rc.sshd start

 

However, does not help this. 

Will note, when this does occur, I am unable to su to ANY user account.

 

The logs, however, do show success.

 

Jun 10 10:41:06 Tower su[17603]: Successful su for scanner by root
Jun 10 10:41:06 Tower su[17603]: + /dev/pts/0 root:scanner
Jun 10 10:41:16 Tower su[18337]: Successful su for root by root
Jun 10 10:41:16 Tower su[18337]: + /dev/pts/0 root:root
Jun 10 10:41:19 Tower su[18640]: Successful su for root by root
Jun 10 10:41:19 Tower su[18640]: + /dev/pts/0 root:root
Jun 10 10:41:23 Tower su[18844]: Successful su for root by root
Jun 10 10:41:23 Tower su[18844]: + /dev/pts/0 root:root



Based on what I have seen, I don't think this is related to SSH, but, rather, it seems something is getting hung when creating a new session somewhere in linux. 

I have attached diagnostics, and I don't have any need to reboot currently, so- if you have any other steps you would like executed, please let me know.... and I should be able to execute them while in this "broken" state.

 

Diagnostics are attached.

tower-diagnostics-20230610-1044.zip

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.