Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 00:09:09 +0900
From:      RejuvenationSystem <info@reju.jp>
To:        freebsd-users-jp@FreeBSD.org
Subject:   [FreeBSD-users-jp 95217] =?utf-8?b?44Oh44K444Oj44O844Ki44OD44OX44Kw44Os44O844OJ5a6M5LqG?= =?utf-8?b?5b6M44Gr5YaN6LW35YuV44GX44Gf44KJ44Ot44Kw44Kk44Oz44Gn44GN44Gq?= =?utf-8?b?44GE?=
Message-ID:  <A5276C00-2413-4CC4-AF33-3F15155012E9@reju.jp>

index | next in thread | raw e-mail

守田と申します。

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@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@HOSTNAME.DOMAIN.COM /home/USER/chshell.sh
/libexec/ld-elf.so.1: Shared object "libncurses.so.7" not found, required by "bash"

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5276C00-2413-4CC4-AF33-3F15155012E9>