CentOS7 ~ # systemctl start proftpd
Job for proftpd.service failed. See 'systemctl status proftpd.service' and 'journalctl -xn' for details.
CentOS7 ~ #
あれ?立ち上がらない。
どういうエラーが出てるのかと。。。
CentOS7 ~ # systemctl status -l proftpd
...
unable to determine IP address of 'cent7.macbook'
error: no valid servers configured
fatal: error processing configuration file '/etc/proftpd.conf'
...
CentOS7 ~ #
気になるエラーの文言は上の3行。
unable to determine ip address
この文をgoogle翻訳すると、ip addressを特定できないと。
このOSはVirtualBox上で作成しているので、
ネットワークはNATとHost-Only-Adapter の2つで、
両方ともautomatic でip address を割り当ててたので、
static にしたら良いのかとstatic に変更したが、
ProFTPDは立ち上がらず、
/etc/hosts ファイルに以下のように追記したら立ち上がった。
192.168.56.5 cent7.macbook
自身のip-addressってhosts ファイルに記載しないとあかんねんなぁと。
初歩的なところだと思うけど、つまづいたので、備忘録として。