My ssh sessions are "dumb terminals" now

Status
Not open for further replies.
Joined
Oct 19, 2016
Messages
3
I haven't changed any settings and now every time I log into my server ( with root) I get "this is a dumb terminal" so I can't VI files.

It was working correctly this weekend and a few days ago it just stopped. I'm using the newest version of Putty and I've rebooted the machine (I've actually applied an update since then)


What happened and how can I fix it?
 
Joined
Oct 19, 2016
Messages
3


thanks for the suggestio, but still no go.

Here is a snippet of what I get when I log in.

Code:
Using username "root".
root@192.168.1.98's password:
Last login: Thu Oct 20 19:43:25 2016 from 192.168.1.127
FreeBSD 10.3-STABLE (FreeNAS.amd64) #0 r295946+0ea9076(9.10-STABLE): Mon Oct  3 06:51:23 UTC 2016

		FreeNAS (c) 2009-2016, The FreeNAS Development Team
		All rights reserved.
		FreeNAS is released under the modified BSD license.

		For more information, documentation, help or support, go here:
		http://freenas.org
Welcome to FreeNAS
csh: Cannot open /etc/termcap.
csh: using dumb terminal settings.
[root@freenas] ~#



I then tried a recommendation on the internet, and got

Code:
root@freenas] /etc# setenv TERM xterm
csh: Cannot open /etc/termcap.
csh: using dumb terminal settings.


what else is interesting, is that I lost ssh access to my jails.


after more investigation, I have more errors on my machine

Code:
[root@freenas] /etc# zpool status -v freenas-boot
  pool: freenas-boot
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
		corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
		entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 0 in 0h0m with 0 errors on Tue Oct  4 03:45:53 2016
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  DEGRADED	 0	 0	26
		  da0p2	 DEGRADED	 0	 0	52  too many errors

errors: Permanent errors have been detected in the following files:

		freenas-boot/ROOT/9.10.1-U1:/usr/share/misc/termcap
		freenas-boot/ROOT/9.10.1-U1:/usr/share/misc/termcap.db
		//usr/share/misc/termcap
		//usr/share/misc/termcap.db
[root@freenas] /etc#



seems to be the root of my issue, question is, where do i go from here.
 
Last edited:

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
That's easy. Backup config from GUI. Install FreeNAS to new USB. Restore config.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Lucky it was only trivial files.

Suggest using two usbs in a mirror.

I use sandisk cruiser fit 16GB USBs
 
Status
Not open for further replies.
Top