You are not logged in.

#1 2015-01-16 01:56:58

vanitas
Member
From: Guangzhou, China
Registered: 2014-05-31
Posts: 16

proftpd failed to autostart

I have enabled proftpd.service, but it always failed to autostart.

The output of  `systemctl status profptd -l` is as follows:

proftpd.service - ProFTPD FTP Server
   Loaded: loaded (/usr/lib/systemd/system/proftpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Fri 2015-01-16 08:53:15 CST; 19min ago
  Process: 422 ExecStart=/usr/bin/proftpd (code=dumped, signal=ABRT)

Jan 16 08:53:15 xbull proftpd[422]: Assertion 'canonical' failed at src/nss-myhostname/nss-myhostname.c:204, function fill_in_hostent(). Aborting.
Jan 16 08:53:15 xbull systemd[1]: proftpd.service: control process exited, code=dumped status=6
Jan 16 08:53:15 xbull systemd[1]: Failed to start ProFTPD FTP Server.
Jan 16 08:53:15 xbull systemd[1]: Unit proftpd.service entered failed state.
Jan 16 08:53:15 xbull systemd[1]: proftpd.service failed.
Jan 16 08:53:15 xbull systemd-coredump[436]: Process 422 (proftpd) of user 0 dumped core.

I once compared proftpd.service(/etc/systemd/system/multi-user.target.wants/proftpd.service) with httpd.service, and found that the parameter of 'After'  is not the same.
proftpd.service: After=network.target
httpd.service: After=network.target remote-fs.target nss-lookup.target

I also noticed that 'nss' is present in the output of `systemctl status proftpd -l`, so it may has something to do with nss-lookup.target. I added nss-lookup.target to proftpd.service, but it did not work.

I noticed https://bugs.archlinux.org/task/43215, too.

But I still wonder how could I get rid of it.

Offline

Board footer

Powered by FluxBB