开发者社区> 问答> 正文

服务器ssh连接不上,通过控制台连接,启动服务时,报错,polkit.service未启动

机器不能通过ssh工具连接,ping不通,阿里云控制台显示机器运行着的 ,通过控制台连接后,启动mysql等服务时,报错,说Polkit.service is not running ! 通过systemctl status polkit查看状态时,状态时inactive(dead);请问怎么解决呢? image.png

Changing serial settings was 0/0 now 3/0
SeaBIOS (version 3288b3c)
BUILD: gcc: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28) binutils: version 2.23.52.0.1-55.1.alios7 20130226
Running on QEMU (i440fx)
Running on KVM
RamSize: 0xc0000000 [cmos]
Relocating init from 0x000da090 to 0xbffac720 (size 79952)
Found QEMU fw_cfg
RamBlock: addr 0x0000000000000000 len 0x00000000c0000000 [e820]
RamBlock: addr 0x0000000100000000 len 0x0000000040000000 [e820]
Moving pm_base to 0x600
boot order:
1: /pci@i0cf8/scsi@5/disk@0,0
2: HALT
=== PCI bus & bridge init ===
PCI: pci_bios_init_bus_rec bus = 0x0
=== PCI device probing ===
Found 12 PCI devices (max PCI bus is 00)
=== PCI new allocation pass #1 ===
PCI: check devices
=== PCI new allocation pass #2 ===
PCI: IO: c000 - c16f
PCI: 32: 00000000c0000000 - 00000000fec00000
PCI: map device bdf=00:03.0  bar 0, addr 0000c000, size 00000040 [io]
PCI: map device bdf=00:05.0  bar 0, addr 0000c040, size 00000040 [io]
PCI: map device bdf=00:06.0  bar 0, addr 0000c080, size 00000040 [io]
PCI: map device bdf=00:07.0  bar 0, addr 0000c0c0, size 00000040 [io]
PCI: map device bdf=00:01.2  bar 4, addr 0000c100, size 00000020 [io]
PCI: map device bdf=00:04.0  bar 0, addr 0000c120, size 00000020 [io]
PCI: map device bdf=00:08.0  bar 0, addr 0000c140, size 00000020 [io]
PCI: map device bdf=00:01.1  bar 4, addr 0000c160, size 00000010 [io]
PCI: map device bdf=00:03.0  bar 6, addr feb80000, size 00040000 [mem]
PCI: map device bdf=00:02.0  bar 6, addr febc0000, size 00010000 [mem]
PCI: map device bdf=00:02.0  bar 1, addr febd0000, size 00001000 [mem]
PCI: map device bdf=00:03.0  bar 1, addr febd1000, size 00001000 [mem]
PCI: map device bdf=00:04.0  bar 1, addr febd2000, size 00001000 [mem]
PCI: map device bdf=00:05.0  bar 1, addr febd3000, size 00001000 [mem]
PCI: map device bdf=00:06.0  bar 1, addr febd4000, size 00001000 [mem]
PCI: map device bdf=00:07.0  bar 1, addr febd5000, size 00001000 [mem]
PCI: map device bdf=00:02.0  bar 0, addr fc000000, size 02000000 [prefmem]
PCI: init bdf=00:00.0 id=8086:1237
PCI: init bdf=00:01.0 id=8086:7000
PIIX3/PIIX4 init: elcr=00 0c
PCI: init bdf=00:01.1 id=8086:7010
PCI: init bdf=00:01.2 id=8086:7020
PCI: init bdf=00:01.3 id=8086:7113
Using pmtimer, ioport 0x608
PCI: init bdf=00:02.0 id=1013:00b8
PCI: init bdf=00:03.0 id=1af4:1000
PCI: init bdf=00:04.0 id=1af4:1003
PCI: init bdf=00:05.0 id=1af4:1001
PCI: init bdf=00:06.0 id=1af4:1001
PCI: init bdf=00:07.0 id=1af4:1001
PCI: init bdf=00:08.0 id=1af4:1002
PCI: Using 00:02.0 for primary VGA
handle_smp: apic_id=0x1
Found 2 cpu(s) max supported 2 cpu(s)
Copying PIR from 0xbffbfca0 to 0x000f5b00
Copying MPTABLE from 0x00006dc4/bffa3490 to 0x000f59f0
Copying SMBIOS entry point from 0x00006dc4 to 0x000f5800
Scan for VGA option rom
Running option rom at c000:0003
pmm call arg1=0
Turning on vga text mode console
SeaBIOS (version 3288b3c)
Machine UUID 63c7c48e-0bcd-44a4-980e-1dff652eaa6d
UHCI init on dev 00:01.2 (io=c100)
ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9)
ATA controller 2 at 170/374/0 (irq 15 dev 9)
found virtio-blk at 00:05.0
pci dev 00:05.0 using legacy (0.9.5) virtio mode
Searching bootorder for: /pci@i0cf8/*@5
found virtio-blk at 00:06.0
pci dev 00:06.0 using legacy (0.9.5) virtio mode
Searching bootorder for: /pci@i0cf8/*@6
PS2 keyboard initialized
found virtio-blk at 00:07.0
pci dev 00:07.0 using legacy (0.9.5) virtio mode
Searching bootorder for: /pci@i0cf8/*@7
Found 0 lpt ports
Found 1 serial ports
All threads complete.
Scan for option roms
Running option rom at c980:0003
pmm call arg1=1
pmm call arg1=0
pmm call arg1=1
pmm call arg1=0
Searching bootorder for: /pci@i0cf8/*@3
Searching bootorder for: /rom@genroms/kvmvapic.bin
Searching bootorder for: HALT
drive 0x000ecdd0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=83886080
drive 0x000ecd60: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=419430400
drive 0x000eccf0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=419430400
Running option rom at ca80:0003
Space available for UMB: cd000-e6800, f5380-f5790
Returned 131072 bytes of ZoneHigh
e820 map has 8 items:
  0: 0000000000000000 - 000000000009fc00 = 1 RAM
  1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
  3: 0000000000100000 - 00000000bffe0000 = 1 RAM
  4: 00000000bffe0000 - 00000000c0000000 = 2 RESERVED
  5: 00000000feffc000 - 00000000ff000000 = 2 RESERVED
  6: 00000000fffc0000 - 0000000100000000 = 2 RESERVED
  7: 0000000100000000 - 0000000140000000 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Booting from 0000:7c00
[[32m  OK  [0m] Started Show Plymouth Boot Screen.

[[32m  OK  [0m] Reached target Paths.

[[32m  OK  [0m] Started Forward Password Requests to Plymouth Directory Watch.

[[32m  OK  [0m] Reached target Basic System.

%G%G[[32m  OK  [0m] Found device /dev/disk/by-uuid/1114fe9e-2309-4580-b183-d778e6d97397.

         Starting File System Check on /dev/...e-2309-4580-b183-d778e6d97397...

[[32m  OK  [0m] Started dracut initqueue hook.

[[32m  OK  [0m] Reached target Remote File Systems (Pre).

[[32m  OK  [0m] Reached target Remote File Systems.

[[32m  OK  [0m] Started File System Check on /dev/d...e9e-2309-4580-b183-d778e6d97397.

         Mounting /sysroot...

[[32m  OK  [0m] Mounted /sysroot.

[[32m  OK  [0m] Reached target Initrd Root File System.

         Starting Reload Configuration from the Real Root...

[[32m  OK  [0m] Started Reload Configuration from the Real Root.

[[32m  OK  [0m] Reached target Initrd File Systems.

[[32m  OK  [0m] Reached target Initrd Default Target.

         Starting dracut pre-pivot and cleanup hook...

[[32m  OK  [0m] Started dracut pre-pivot and cleanup hook.

         Starting Cleaning Up and Shutting Down Daemons...

[[32m  OK  [0m] Stopped target Timers.

         Starting Plymouth switch root service...

[[32m  OK  [0m] Stopped Cleaning Up and Shutting Down Daemons.

[[32m  OK  [0m] Stopped dracut pre-pivot and cleanup hook.

[[32m  OK  [0m] Stopped target Remote File Systems.

[[32m  OK  [0m] Stopped target Remote File Systems (Pre).

[[32m  OK  [0m] Stopped dracut initqueue hook.

[[32m  OK  [0m] Stopped target Initrd Default Target.

[[32m  OK  [0m] Stopped target Basic System.

[[32m  OK  [0m] Stopped target Sockets.

[[32m  OK  [0m] Stopped target Paths.

[[32m  OK  [0m] Stopped target Slices.

[[32m  OK  [0m] Stopped target System Initialization.

         Stopping udev Kernel Device Manager...

[[32m  OK  [0m] Stopped Apply Kernel Variables.

[[32m  OK  [0m] Stopped target Swap.

[[32m  OK  [0m] Stopped target Local File Systems.

[[32m  OK  [0m] Stopped udev Coldplug all Devices.

[[32m  OK  [0m] Stopped udev Kernel Device Manager.

[[32m  OK  [0m] Stopped dracut pre-udev hook.

[[32m  OK  [0m] Stopped dracut cmdline hook.

[[32m  OK  [0m] Stopped Create Static Device Nodes in /dev.

[[32m  OK  [0m] Stopped Create list of required sta...ce nodes for the current kernel.

[[32m  OK  [0m] Closed udev Control Socket.

[[32m  OK  [0m] Closed udev Kernel Socket.

         Starting Cleanup udevd DB...

[[32m  OK  [0m] Started Cleanup udevd DB.

[[32m  OK  [0m] Reached target Switch Root.

[[32m  OK  [0m] Started Plymouth switch root service.

         Starting Switch Root...



Welcome to [0;31mCentOS Linux 7 (Core)[0m!



[[32m  OK  [0m] Stopped Switch Root.

[[32m  OK  [0m] Stopped Journal Service.

         Starting Journal Service...

[[32m  OK  [0m] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.

[[32m  OK  [0m] Listening on /dev/initctl Compatibility Named Pipe.

[[32m  OK  [0m] Listening on udev Kernel Socket.

[[32m  OK  [0m] Stopped target Switch Root.

[[32m  OK  [0m] Created slice system-serial\x2dgetty.slice.

[[32m  OK  [0m] Set up automount Arbitrary Executab...ats File System Automount Point.

         Mounting POSIX Message Queue File System...

[[32m  OK  [0m] Created slice User and Session Slice.

[[32m  OK  [0m] Stopped target Initrd File Systems.

[[32m  OK  [0m] Created slice system-getty.slice.

[[32m  OK  [0m] Listening on udev Control Socket.

[[32m  OK  [0m] Reached target Remote File Systems.

[[32m  OK  [0m] Listening on LVM2 metadata daemon socket.

[[32m  OK  [0m] Reached target Local Encrypted Volumes.

         Starting Remount Root and Kernel File Systems...

[[32m  OK  [0m] Listening on Device-mapper event daemon FIFOs.

         Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...

         Mounting Debug File System...

[[32m  OK  [0m] Started Forward Password Requests to Wall Directory Watch.

[[32m  OK  [0m] Reached target Swap.

         Mounting Huge Pages File System...

[[32m  OK  [0m] Reached target Paths.

         Starting Apply Kernel Variables...

[[32m  OK  [0m] Listening on Delayed Shutdown Socket.

         Starting Read and set NIS domainname from /etc/sysconfig/network...

[[32m  OK  [0m] Stopped target Initrd Root File System.

[[32m  OK  [0m] Reached target Slices.

[[32m  OK  [0m] Listening on LVM2 poll daemon socket.

         Starting Create list of required st... nodes for the current kernel...

[[32m  OK  [0m] Started Create list of required sta...ce nodes for the current kernel.

         Starting Create Static Device Nodes in /dev...

[[32m  OK  [0m] Started Apply Kernel Variables.

[[32m  OK  [0m] Started Journal Service.

[[32m  OK  [0m] Mounted POSIX Message Queue File System.

[[32m  OK  [0m] Mounted Debug File System.

[[32m  OK  [0m] Mounted Huge Pages File System.

[[32m  OK  [0m] Started Remount Root and Kernel File Systems.

         Starting udev Coldplug all Devices...

         Starting Configure read-only root support...

         Starting Flush Journal to Persistent Storage...

[[32m  OK  [0m] Started udev Coldplug all Devices.

[[32m  OK  [0m] Started Read and set NIS domainname from /etc/sysconfig/network.

[[32m  OK  [0m] Started Configure read-only root support.

         Starting Load/Save Random Seed...

[[32m  OK  [0m] Started Load/Save Random Seed.

[[32m  OK  [0m] Started Create Static Device Nodes in /dev.

         Starting udev Kernel Device Manager...

[[32m  OK  [0m] Started LVM2 metadata daemon.

[[32m  OK  [0m] Started udev Kernel Device Manager.

[[32m  OK  [0m] Found device /dev/vdb.

[[32m  OK  [0m] Found device /dev/ttyS0.

[[32m  OK  [0m] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.

[[32m  OK  [0m] Reached target Local File Systems (Pre).

         Mounting /home/data_disk_01...

[[1;31mFAILED[0m] Failed to mount /home/data_disk_01.

See 'systemctl status home-data_disk_01.mount' for details.

[[1;33mDEPEND[0m] Dependency failed for Local File Systems.

[[1;33mDEPEND[0m] Dependency failed for Relabel all filesystems, if necessary.

[[1;33mDEPEND[0m] Dependency failed for Migrate local... structure to the new structure.

[[32m  OK  [0m] Reached target Timers.

[[32m  OK  [0m] Reached target Login Prompts.

[[32m  OK  [0m] Reached target Network.

[[32m  OK  [0m] Reached target Network is Online.

[[32m  OK  [0m] Reached target Sockets.

         Starting Import network configuration from initramfs...

         Starting Tell Plymouth To Write Out Runtime Data...

[[32m  OK  [0m] Started Tell Plymouth To Write Out Runtime Data.

[[32m  OK  [0m] Started Import network configuration from initramfs.

[[32m  OK  [0m] Started Emergency Shell.

[[32m  OK  [0m] Reached target Emergency Mode.

%G%G[[32m  OK  [0m] Started Flush Journal to Persistent Storage.

         Starting Create Volatile Files and Directories...

[[32m  OK  [0m] Started Create Volatile Files and Directories.

         Starting Security Auditing Service...

[[32m  OK  [0m] Started Security Auditing Service.

         Starting Update UTMP about System Boot/Shutdown...

[[32m  OK  [0m] Started Update UTMP about System Boot/Shutdown.

         Starting Update UTMP about System Runlevel Changes...

[[32m  OK  [0m] Started Update UTMP about System Runlevel Changes.

Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Give root password for maintenance
(or press Control-D to continue): Welcome to emergGive root password for maintenance
(or press Control-D to continue): 

展开
收起
mrajoe 2019-09-09 09:58:50 6445 0
1 条回答
写回答
取消 提交回答
  • 香港数据湾Q428167514,香港数据湾CN2高速直接、多元化BGP线路接入,业务遍及香港、美国、韩国、越南、柬埔寨、日本、菲律宾、马来西亚、台湾新加坡等多地,现机交付,中高配置,优化线路,带宽充足,品质服务有保障,多地区和国家服务器可租赁,连通率达99.99%,24小时随时免费重启主机服务,IDC常驻机房技术人员随时解决服务器使用中的任何问题

    2019-09-10 10:13:30
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS块储存产品全面解析 立即下载