立即注册  找回密码
 立即注册
CeraNetworksBGVM服务器主机交流会员请立即修改密码Sharktech防护
查看: 51|回复: 5

ipsec报错,有会解决的大佬吗?

[复制链接]

ipsec报错,有会解决的大佬吗?

[复制链接]

167

主题

122

回帖

1357

积分

金牌会员

积分
1357
李不兴

167

主题

122

回帖

1357

积分

金牌会员

积分
1357
2024-4-23 22:33:27 | 显示全部楼层 |阅读模式
本帖最后由 李不兴 于 2024-4-23 23:33 编辑

Job for ipsec.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status ipsec.service" and "journalctl -xe" for details.
谷歌了好久的资料,一直没解决,有会的大佬指点一下吗,小鸡系统ubuntu 20.04

具体报错信息如下:

root@evoxt:~# ipsec restart
Redirecting to: systemctl restart ipsec.service
Job for ipsec.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status ipsec.service" and "journalctl -xe" for details.
root@evoxt:~# systemctl status ipsec.service
● ipsec.service - Internet Key Exchange (IKE) Protocol Daemon for IPsec
     Loaded: loaded (/lib/systemd/system/ipsec.service; enabled; vendor preset: enabled)
     Active: failed (Result: core-dump) since Tue 2024-04-23 17:29:14 CEST; 5s ago
       Docs: man:ipsec(8)
             man:pluto(8)
             man:ipsec.conf(5)
    Process: 67877 ExecStartPre=/usr/local/libexec/ipsec/addconn --config /etc/ipsec.conf --checkconfig (code=exited, status=0/SUCCESS)
    Process: 67878 ExecStartPre=/usr/local/libexec/ipsec/_stackmanager start (code=exited, status=0/SUCCESS)
    Process: 68131 ExecStartPre=/usr/local/sbin/ipsec --checknss (code=exited, status=0/SUCCESS)
    Process: 68132 ExecStartPre=/usr/local/sbin/ipsec --checknflog (code=exited, status=0/SUCCESS)
    Process: 68143 ExecStart=/usr/local/libexec/ipsec/pluto --leak-detective --config /etc/ipsec.conf --nofork (code=dumped, signal=AB>
    Process: 68149 ExecStopPost=/sbin/ip xfrm policy flush (code=exited, status=0/SUCCESS)
    Process: 68150 ExecStopPost=/sbin/ip xfrm state flush (code=exited, status=0/SUCCESS)
    Process: 68151 ExecStopPost=/usr/local/sbin/ipsec --stopnflog (code=exited, status=0/SUCCESS)
   Main PID: 68143 (code=dumped, signal=ABRT)

Apr 23 17:29:14 evoxt.com systemd[1]: ipsec.service: Scheduled restart job, restart counter is at 5.
Apr 23 17:29:14 evoxt.com systemd[1]: Stopped Internet Key Exchange (IKE) Protocol Daemon for IPsec.
Apr 23 17:29:14 evoxt.com systemd[1]: ipsec.service: Start request repeated too quickly.
Apr 23 17:29:14 evoxt.com systemd[1]: ipsec.service: Failed with result 'core-dump'.
Apr 23 17:29:14 evoxt.com systemd[1]: Failed to start Internet Key Exchange (IKE) Protocol Daemon for IPsec.

还有下面的报错:

root@evoxt:~# journalctl -xe
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin

mfile' (module 'builtin

mfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin

mfile' (module 'builtin

mfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin

mfile' (module 'builtin

mfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin

mfile' (module 'builtin

mfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin

mfile' (module 'builtin

mfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin:omfile' (module 'builtin:omfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin:omfile' (module 'builtin:omfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin:omfile' (module 'builtin:omfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin:omfile' (module 'builtin:omfile') message lost, could not be process>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-err>
Apr 23 17:32:19 evoxt.com rsyslogd[571]: action 'action-2-builtin:omfile' (module 'builtin:omfile') message lost, could not be process>
回复

使用道具 举报

5

主题

73

回帖

585

积分

高级会员

积分
585
mtdickens

5

主题

73

回帖

585

积分

高级会员

积分
585
2024-4-23 23:07:33 | 显示全部楼层
提示不是说了看 systemctl status ipsec.service" and "journalctl -xe",所以看日志啊
回复

使用道具 举报

10

主题

308

回帖

1126

积分

金牌会员

积分
1126
dupit8

10

主题

308

回帖

1126

积分

金牌会员

积分
1126
2024-4-23 23:17:32 | 显示全部楼层
这个跟ipsec没啥关系,大概率你系统升级不完整,导致系统处于一个乱七八糟的状态。你这个要解决需要连进系统去调,仅仅这一点信息,除了神仙没有人能解决
回复

使用道具 举报

167

主题

122

回帖

1357

积分

金牌会员

积分
1357
李不兴 楼主

167

主题

122

回帖

1357

积分

金牌会员

积分
1357
2024-4-23 23:33:47 | 显示全部楼层

mtdickens 发表于 2024-4-23 23:07

提示不是说了看 systemctl status ipsec.service" and "journalctl -xe",所以看日志啊

已贴上报错信息
回复

使用道具 举报

167

主题

122

回帖

1357

积分

金牌会员

积分
1357
李不兴 楼主

167

主题

122

回帖

1357

积分

金牌会员

积分
1357
2024-4-23 23:07:00 | 显示全部楼层

dupit8 发表于 2024-4-23 23:17

这个跟ipsec没啥关系,大概率你系统升级不完整,导致系统处于一个乱七八糟的状态。你这个要解决需要连进系 ...

报错信息已附上,大佬帮忙看下
回复

使用道具 举报

5

主题

73

回帖

585

积分

高级会员

积分
585
mtdickens

5

主题

73

回帖

585

积分

高级会员

积分
585
2024-4-23 23:35:24 | 显示全部楼层
看看这个命令能给出什么日志?journalctl -u ipsec.service
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|小黑屋|HS2V主机综合交流论坛

GMT+8, 2024-12-23 15:38 , Processed in 0.019411 second(s), 2 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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