You are currently browsing the archives for 2018.
Displaying 1 - 2 of 2 entries.

Inetutils: ftpd with extensive logging

  • Posted on December 2, 2018 at 13:58

By default this ftp-server does not log a lot by default.

To enable extensive logging to the default logger use the –debug option

Example systemd-script

[Unit]
Description=FTPD Daemon
After=network.target

[Service]
Type=forking
PIDFile=/run/ftpd.pid
ExecStart=/usr/bin/ftpd --daemon --debug
ExecStopPost=/usr/bin/rm -f /run/ftpd.pid

[Install]
WantedBy=multi-user.target

 

 

Perl and macOS Mojave: Header files not found. Use Perlbrew!

  • Posted on November 29, 2018 at 23:15

Having trouble in CPAN, getting messages like: fatal error: ‘EXTERN.h’ file not found.
Use Perlbrew and all your worries are gone.

$ brew install perl

$ brew link –overwrite perl

After this Perl and CPAN are installed /usr/local/bin:

$ which perl cpan
/usr/local/bin/perl
/usr/local/bin/cpan