0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pptpdがいつまでたっても起動しない時は設定ファイルの末尾改行を確認しよう

Posted at
> sudo service pptpd start
Starting PPTP Daemon:

で止まってしまう時がある。
そんなときは /var/log/syslog のログを確認しよう。

/var/log/syslog
pptpd[***]: Long config file line ignored

のようなログがある時は、設定ファイル /etc/pptpd.conf のファイル末尾に空行が存在するか確認する。
どうやら設定ファイルの末尾に空行が無いとハングアップしてしまうらしい。

おまけ

ハングアップしたプロセスがずっと残っていることがあるので、psやtopで固まっているpptpdが居ないか確認しておく。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?