全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2126|回复: 1
打印 上一主题 下一主题

各位大佬,求助一下,ubuntu 16.04安装pptpd出错

[复制链接]
跳转到指定楼层
1#
发表于 2018-7-7 18:56:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位大佬,求助一下,ubuntu 16.04安装pptpd出错

root@ns3106597:~# apt install pptpd
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  bcrelay ppp
The following NEW packages will be installed:
  bcrelay ppp pptpd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 415 kB of archives.
After this operation, 1,269 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/main amd64 bcrelay amd64 1.4.0-7ubuntu0.2 [11.7 kB]
Get:2 http://ubuntu.mirrors.ovh.net/ubuntu xenial/main amd64 ppp amd64 2.4.7-1+2ubuntu1 [329 kB]
Get:3 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/main amd64 pptpd amd64 1.4.0-7ubuntu0.2 [74.5 kB]
Fetched 415 kB in 0s (1,624 kB/s)
Selecting previously unselected package bcrelay.
(Reading database ... 54555 files and directories currently installed.)
Preparing to unpack .../bcrelay_1.4.0-7ubuntu0.2_amd64.deb ...
Unpacking bcrelay (1.4.0-7ubuntu0.2) ...
Selecting previously unselected package ppp.
Preparing to unpack .../ppp_2.4.7-1+2ubuntu1_amd64.deb ...
Unpacking ppp (2.4.7-1+2ubuntu1) ...
Selecting previously unselected package pptpd.
Preparing to unpack .../pptpd_1.4.0-7ubuntu0.2_amd64.deb ...
Unpacking pptpd (1.4.0-7ubuntu0.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up bcrelay (1.4.0-7ubuntu0.2) ...
Setting up ppp (2.4.7-1+2ubuntu1) ...
Setting up pptpd (1.4.0-7ubuntu0.2) ...
Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
systemd-modules-load.service couldn't restart.
dpkg: error processing package pptpd (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
pptpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

没看懂是什么错误。


执行systemctl status systemd-modules-load.service
root@ns3106597:~# systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-07-07 12:50:25 CEST; 52s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
Main PID: 13414 (code=exited, status=1/FAILURE)

Jul 07 12:50:25 ns3106597 systemd[1]: Starting Load Kernel Modules...
Jul 07 12:50:25 ns3106597 systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 12:50:25 ns3106597 systemd[1]: Failed to start Load Kernel Modules.
Jul 07 12:50:25 ns3106597 systemd[1]: systemd-modules-load.service: Unit entered failed state.
Jul 07 12:50:25 ns3106597 systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.


执行journalctl -xe
root@ns3106597:~# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has begun shutting down.
Jul 07 12:50:25 ns3106597 systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has begun starting up.
Jul 07 12:50:25 ns3106597 systemd-modules-load[13414]: could not open moddep file '/lib/modules/4.9.103-xxxx-std-ipv6-64/modules.dep.bin'
Jul 07 12:50:25 ns3106597 systemd-modules-load[13414]: Failed to lookup alias 'nf_nat_pptp': Function not implemented
Jul 07 12:50:25 ns3106597 systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 12:50:25 ns3106597 systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
Jul 07 12:50:25 ns3106597 systemd[1]: systemd-modules-load.service: Unit entered failed state.
Jul 07 12:50:25 ns3106597 systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jul 07 12:50:25 ns3106597 systemd[1]: Reloading.
Jul 07 12:50:45 ns3106597 sshd[13465]: Invalid user mitchell from 200.241.37.82
Jul 07 12:50:45 ns3106597 sshd[13465]: input_userauth_request: invalid user mitchell [preauth]
Jul 07 12:50:45 ns3106597 sshd[13465]: pam_unix(sshd:auth): check pass; user unknown
Jul 07 12:50:45 ns3106597 sshd[13465]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=200.241.37.82
Jul 07 12:50:47 ns3106597 sshd[13465]: Failed password for invalid user mitchell from 200.241.37.82 port 36885 ssh2
Jul 07 12:50:47 ns3106597 sshd[13465]: Received disconnect from 200.241.37.82 port 36885:11: Normal Shutdown, Thank you for playing [preauth]
Jul 07 12:50:47 ns3106597 sshd[13465]: Disconnected from 200.241.37.82 port 36885 [preauth]
Jul 07 12:52:30 ns3106597 sshd[13469]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=217.59.246.27  user=root
Jul 07 12:52:32 ns3106597 sshd[13469]: Failed password for root from 217.59.246.27 port 28672 ssh2
Jul 07 12:52:32 ns3106597 sshd[13469]: Received disconnect from 217.59.246.27 port 28672:11: Normal Shutdown, Thank you for playing [preauth]
Jul 07 12:52:32 ns3106597 sshd[13469]: Disconnected from 217.59.246.27 port 28672 [preauth]

求大神指点一下是什么问题
2#
 楼主| 发表于 2018-7-7 19:10:30 | 只看该作者
顶起来,大神们快来指点一下啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-13 16:34 , Processed in 0.056837 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表