우분투 14.10 서버 시작

우분투 14.10 서버 시작

14.04 서버를 실행하는 하드웨어에 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]

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

위의 답변에 따르면 우분투 15.10을 비교적 새로 설치할 때에도 이 문제가 발생했습니다.

    sudo  apt-get install systemd-sysv

위와 동일한 dmesg가 있었고 추가로 내 증상에는 일시 중지된 상태에서 부팅하지 못해 매번 콜드 부팅을 해야 하는 경우가 포함되었습니다.

답변3

나는 이것을 시도했고 효과가 있었다

do-release-upgrade -d 

"-d" 스위치를 사용하여 개발 버전으로 이동합니다.

이 특정 서버를 사용하여 14.04로 시작한 다음 14.10으로 업그레이드하는 "릴리스 업그레이드"를 수행했습니다. 이때부터 동일한 오류 메시지가 나타나기 시작했습니다. 그래서 찾았어요우분투 14.10으로 업데이트 후...그리고 이것을 시도하기로 결정했습니다. 그런 다음 버전 15로 업그레이드했습니다.

관련 정보