header

Freebsd and Proftpd

I just installed Proftpd from FreeBSD’s ports (/usr/ports/ftp/proftpd/) today and noticed that when I tried to start it, it wouldn’t start by default. I would get this:


-su# /usr/local/etc/rc.d/proftpd.sh start
Starting proftpd.
-su# /usr/local/etc/rc.d/proftpd.sh status
proftpd is not running.

I inspected /var/log/messages, and found this message
Feb 10 15:59:42 {hostname} proftpd [4375]: {hostname} - error opening scoreboard: No such file or directory.

What you have to do is edit /usr/local/etc/proftpd.conf and add the line

ScoreboardFile /var/run/proftpd.scoreboard

then execute the command

touch /var/run/proftpd.scoreboard

to create the file. Then when you run the startup script, you will get this message

-su# /usr/local/etc/rc.d/proftpd.sh start
Starting proftpd.
-su# /usr/local/etc/rc.d/proftpd.sh status
proftpd is running as pid 4576.

6 Comments »

  1. wilco Said,

    June 16, 2005 @ 12:47 pm

    Thanks,I am also encountering the same problem. I did they same way that you do and it solves.
    Regards
    Wilco

  2. Raybdbomb Said,

    June 16, 2005 @ 1:33 pm

    Good to hear.

  3. avidan Said,

    July 12, 2005 @ 11:28 am

    ya, it worked for me too. thanks much. perhaps the port-keeper for proftpd should be notified.
    thanks again.
    -avidan

  4. Louis Said,

    July 21, 2005 @ 6:14 pm

    Thanks, adding the scoreboard file solved my problem!

  5. A.Gurcan Ozturk Said,

    August 18, 2005 @ 1:01 am

    Its worked for me too, thanks.

  6. jason Said,

    September 20, 2005 @ 3:31 pm

    Thank you very much for finding this out! Worked like a charm!

RSS feed for comments on this post

Leave a Comment

blogtimes