Ubuntu 14.10 サーバーの起動

Ubuntu 14.10 サーバーの起動

14.04 Server を実行しているハードウェアに OpenSSH サーバーのみをインストールします。起動時に実行されるチェック ページ以外に、USB キーボードからのスクロール ロックが認識されるはずだと考えていますが、認識されません。

ログインして次のメッセージが表示されるまではすべて問題ないようです:

[305.760849] system-logind[1419]: Failed to start unit [email protected]: 
 Unknown unit: [email protected]
[305.761004] system-logind[1419]: Failed to start user services: 
  Unknown unit: [email protected]

2 つのエラーは、OpenSSH が設定されていないために OpenSSH に関連しているのでしょうか、それとも他の何かに関連しているのでしょうか?

システムと Ubuntu のマニュアルとヘルプ ファイルを検索してみましたが、何も見つかりません。

答え1

名誉挽回のために、さらに調査を行い、サーバーでいくつかのことを試しました。次の操作を実行した後、エラーメッセージが表示されなくなり、サーバーが正常に動作しているようです。このページを使用しましたSystemdForUpstartUsersガイダンスのため。

何をしたのかは分かりませんが、動作しているようです。Upstart と Systemd が競合しているような気がします。Systemd を強制的にインストールすると、Upstart が削除されます。

apt-get --force-yes install systemd-sysv ubuntu-standard
update-initramfs -u

これが私の出力です:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ubuntu-minimal upstart ureadahead
The following NEW packages will be installed:
  systemd-sysv ubuntu-standard
0 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 8,548 B/11.4 kB of archives.
After this operation, 723 kB disk space will be freed.
Do you want to continue? [Y/n]
WARNING: The following packages cannot be authenticated!
  systemd-sysv ubuntu-standard
Install these packages without verification? [y/N] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ utopic-updates/universe systemd-sysv amd64 208-8ubuntu8.2 [8,548 B]
Fetched 8,548 B in 4s (2,042 B/s)
(Reading database ... 132103 files and directories currently installed.)
Removing ubuntu-minimal (1.327) ...
Removing ureadahead (0.100.0-16) ...
dpkg: upstart: dependency problems, but removing anyway as you requested:
 friendly-recovery depends on upstart | systemd-sysv; however:
  Package upstart is to be removed.
  Package systemd-sysv is not installed.

Removing upstart (1.13.2-0ubuntu2) ...
Processing triggers for man-db (2.7.0.2-2) ...
Selecting previously unselected package systemd-sysv.
(Reading database ... 132056 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_208-8ubuntu8.2_amd64.deb ...
Unpacking systemd-sysv (208-8ubuntu8.2) ...
Selecting previously unselected package ubuntu-standard.
Preparing to unpack .../ubuntu-standard_1.327_amd64.deb ...
Unpacking ubuntu-standard (1.327) ...
Processing triggers for man-db (2.7.0.2-2) ...

これが誰かの役に立つことを願います。

答え2

私も比較的新しいUbuntu 15.10のインストールでこの問題が発生しましたが、上記の回答で解決したとのことです。

    sudo  apt-get install systemd-sysv

私も上記と同じdmesgを表示しましたが、さらに症状にはサスペンド状態からの起動に失敗し、毎回コールドブートを余儀なくされました。

答え3

これを試してみたらうまくいきました

do-release-upgrade -d 

「-d」スイッチを使用すると開発バージョンに移行します。

この特定のサーバーでは、14.04から始めて、「do-release-upgrade」を実行して14.10にアップグレードしました。このとき、同じエラーメッセージが表示され始めました。そこで、Ubuntu 14.10 にアップデートした後...そして、これを試してみることにしました。その後、バージョン 15 にアップグレードしました。

関連情報