Where to put “-p” for solving “pptpd is not running”?
来源:互联网 发布:深圳淘宝培训班免费 编辑:程序博客网 时间:2024/05/17 15:58
down votefavorite
I'm working with pptpd on 14.04 and got a problem that when run /etc/init.d/pptpd start
and /etc/init.d/pptpd status
, it states that /use/sbin/pptpd is not running
.
I'm searching for a reason and foundhttps://bugs.launchpad.net/ubuntu/+source/pptpd/+bug/1296835
However, I can't understand about -p
, where to put it in?
Thank you for your helping, I'm stuck in this part for a week :)
You need to edit /etc/init.d/pptpd
, and look for a line like:
status_of_proc "$PIDFILE" "$DAEMON" ...
And add -p
before $PIDFILE
:
status_of_proc -p "$PIDFILE" "$DAEMON" ...
转自: http://askubuntu.com/questions/612462/where-to-put-p-for-solving-pptpd-is-not-running
0 0
- Where to put “-p” for solving “pptpd is not running”?
- Where to put the const?
- Where is the best place to put <script> tags in HTML markup?
- The run destination''''is not valid for Running the scheme
- A Proof That P Is Not Equal To NP?
- Zabbix server is not running
- EM daemon is not running
- scan listener is not running
- Guest is not running ---KVM
- Anroid 异常:Unable to add window …… is not valid; is your activity running?
- Unable to add window is not valid; is your activity running?
- view.WindowManager$BadTokenException: Unable to add window…is not valid; is your activity running?
- "Firefox is already running but is not responding" error message - How to fix it
- Unable to add window — token android.os.BinderProxy is not valid; is your activity running?
- PopupWindow出现Unable to add window -- token null is not valid; is your activity running?
- Anroid 异常:Unable to add window 。。is not valid; is your activity running?
- Anroid 异常:Unable to add window …… is not valid; is your activity running?
- Unable to add window -- token android.os.BinderProxy@XXX is not valid; is your activity running?
- Libxml2 2.9.4 编译失败 error C2275 处理方法
- 青蛙的烦恼
- Leetcode-best-time-to-buy-and-sell-stock
- Java实现字符串转换成可执行代码
- Heroku 安装教程
- Where to put “-p” for solving “pptpd is not running”?
- Android事件分发机制
- 代理模式与装饰模式的异同
- Android5.0 MediaSession框架
- hibernate有哪些状态?
- mongodb全量备份,简单的实现方式
- 程序化交易系统的搭建
- android 腾讯微博
- linux 端口转发工具