问题现象:打开零信任提示核心服务启动失败 排查步骤:1、ps aux | grep aTrustAgent | grep -v grep 命令查看核心服务没有运行 正常会运行如下的进程: 正常情况下是存在3个进程: Core进程: /Applications/aTrust.app/Contents/Resources/bin/aTrustAgent --plugin plugins/aTrustCore --enable-http --enable-event-center Tunnel进程: /Applications/aTrust.app/Contents/Resources/bin/aTrustAgent --plugin plugins/aTrustTunnel Deamon进程: /Applications/aTrust.app/Contents/Resources/bin/aTrustAgent --plugin plugin-daemon --plugin-cmd | 1、mac电脑系统设置>通用>登录项与扩展>允许在后台;在列表中找到SANGFOR Technolegies Conpany Limited,发现已经打开,重新关闭打开后依然报错 2、手动拉起核心进程 Core进程(执行如下命令可手动拉起) sudo /Applications/aTrust.app/Contents/Resources/bin/aTrustAgent --plugin plugins/aTrustCore --enable-http --enable-event-center Deamon进程(执行如下命令可手动拉起) sudo sh "/Library/Application Support/aTrust/aTrustTunnelLaunch.sh" 手动拉起进程可以正常运行,但命令行页面在零信任运行时不可关闭,关闭后运行的进程再次关闭,需要进一步排查 3、排查发现零信任日志缺少root日志,怀疑缺少root权限。 定位终端环境上,对/User/root目录进行了uchg加锁,导致atrust服务无法写入,从而运行异常,手动取消加锁后,登陆正常。 |