0
1

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.

ProFTPdが起動しない現象のリカバリ(RHEL6.6)

Last updated at Posted at 2018-07-30

本記事で起こった件の環境の諸versionは以下の通り

  • OS: Red Hat Enterprise Linux Server release 6.6 (Santiago)
  • ProFTPd: ProFTPD Version 1.3.3g

いつものAWSメンテナンスでEC2 instanceのStop & Startを実施した後にProFTPdをいつもの通り

/etc/init.d/proftpd start

しても戻ってこなかった。

上記起動スクリプトでは「FAILED」しか返してくれなかったが

/usr/sbin/proftpd

を打ったところ以下エラーを返してくれた

- warning: unable to determine IP address of 'ip-xxx-xxx-xxx-xxx.ap-northeast-1.compute.internal'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd.conf'

どうやら自分をホスト名で検索して見つからずエラーとなっている。(xxx部分は自分のプライベートIP)
AWSで設定されているプライベート DNSの値を見ている模様。(AWSのマネコンで確認可能)
hostsに以下を足して

vi /etc/hosts
127.0.0.1 localhost.localdomain localhost ip-xxx-xxx-xxx-xxx.ap-northeast-1.compute.internal
::1 localhost.localdomain localhost ip-xxx-xxx-xxx-xxx.ap-northeast-1.compute.internal

再度起動を実行

/etc/init.d/proftpd start
proftpd を起動中: [OK]

起動に成功した

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?