今天碰到一个CentOS下pptp客户端无法启动的问题。
使用/usr/sbin/pppd call xxx无法启动客户端,但是没有任何报错。
google中文未获得任何结果,尝试英文。
其实man中也能找到:
使用 /usr/sbin/pppd call xxx debug 将会把信息输出至 /etc/log/message
使用
/usr/sbin/pppd call xxx debug dump logfd 2 updetach
能直接输出更多的调试信息。
于是发现我的问题是:
sh: pptp: command not found
将 /usr/sbin 目录加入 PATH,问题解决。