[FreeBSD-users-jp 95217] メジャーアップグレード完了後に再起動したらログインできない

RejuvenationSystem info at reju.jp
Tue Jun 17 16:08:09 UTC 2014


守田と申します。

7.3-RELEASEで利用していた機材をハンドブックを参照して、8.4-RELEASE -> 10.0-RELEASEと
メジャーバージョンアップグレードしました。10.0-RELEASEにアップグレード完了後に再起動し、
sshでログインしようとすると以下の表示が出てアクセスできなくなってしまいました。

> FreeBSD 10.0-RELEASE-p4 (GENERIC) #0: Tue Jun  3 13:14:57 UTC 2014
> 
> Welcome to FreeBSD!
> 
> Before seeking technical support, please use the following resources:
> 
> o  Security advisories and updated errata information for all releases are
>   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
>   for your release first as it's updated frequently.
> 
> o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
>   along with the mailing lists, can be searched by going to
>   http://www.FreeBSD.org/search/.  If the doc distribution has
>   been installed, they're also available formatted in /usr/share/doc.
> 
> If you still have a question or problem, please take the output of
> `uname -a', along with any relevant error messages, and email it
> as a question to the questions at FreeBSD.org mailing list.  If you are
> unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
> manual page.  If you are not familiar with manual pages, type `man man'.
> 
> You may also use sysinstall(8) to re-enter the installation and
> configuration utility.  Edit /etc/motd to change this login announcement.
> 
> /libexec/ld-elf.so.1: Shared object "libncurses.so.7" not found, required by "bash"
> Connection to HOSTNAME.DOMAIN.COM closed.

sshはwheelにしているユーザー1名のみが公開鍵でアクセスできるように設定しているのですが、
上記のように libncurses.so.7 が見つからないから入れて貰えない状況です。このユーザーさえログイン
できればbashをインストールし直すか、別のシェルに切替えるかで対応できると思うのですが、コマンド
が実行できない状況に陥ってしまっております。

ポートスキャンして動いているサービスは以下の通りでした。

Open TCP Port: 	21     		ftp
Open TCP Port: 	22     		ssh
Open TCP Port: 	110    		pop3

そこでftpでアクセスしてみたら、このwheelのユーザーでログインが出来ました。
ftpではコマンド実行できないのでchshを実行するシェルスクリプトを作ってみて、以下のように
sshから実行を試みたのですが、駄目でした。

> ssh USER at HOSTNAME.DOMAIN.COM /home/USER/chshell.sh
/libexec/ld-elf.so.1: Shared object "libncurses.so.7" not found, required by "bash"

どなたかこの状況を打破するお知恵を拝借願えないでしょうか?


More information about the freebsd-users-jp mailing list