Re: Proftp

2004-02-24 Thread Aaron Peterson
I prefer putting:

ScoreboardFile  /var/run/proftpd.scoreboard

in /usr/local/etc/proftpd.conf, personally

and touching the file did seem to solve that particular error message for
me.  However, this was not a particularly intuitive solution, and I'm not
sure why the port is set up to require the manual step of either creating
the directory for the default location of the scoreboard file or moving
it.  Even after this, the default rc.d script from ports doesn't seem to
work for me.  Instead of figuring it out, i just ran proftpd the manual
way you did from the command line with:

/usr/local/libexec/proftpd

and that started the daemon.

I haven't done it yet, but probably rewriting the init script more simply
so that it does only what worked for me at the command line would solve
that problem.

> I've decided to install proftpd from ports since (it is said) to be more
> robust than the FBSD ftpd daemon.
>
> I went to /usr/ports/ftp/proftpd. The port downloaded, compiled, and
> appeared to install correctly. I edited /etc/rc.conf to make sure that
> the /usr/local/etc/rc.d/proftpd.sh would run at boot time. I checked
> file proftpd.conf to make sure it was in standalone mode.
>
> However, it does not start. If I manually run the command
> "/usr/local/libexec/proftpd start", I receive this error message:
>
>   error opening scoreboard: no such file or directory
>
> According to the man page, there should be a file called
> /var/run/run/proftpd/proftpd.scoreboard but I see that it does not exist
> on my machine. I tried creating it with the "touch" command, but  that
> doesn't really do anything useful. In fact, I know from running
> Slackware that this should be a binary file, not an empty file, so I
> didn't have much hope that this would solve anything.
>
> I also tried starting Proftp from /etc/inetd.conf, but that was also
> unsuccessful. Again, I received the same error about the missing
> scoreboard.
>
> At this point, I'm stumped, so I hope that somebody who has succeeded in
> getting Proftp working on FBSD has some advice.
>
> TIA,
> Robert
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Proftp

2004-02-24 Thread Kris Kennaway
On Wed, Feb 25, 2004 at 11:02:41AM +0800, Robert Storey wrote:
> I've decided to install proftpd from ports since (it is said) to be more
> robust than the FBSD ftpd daemon.

Said by who?  Note that proftpd has had a number of security
vulnerabilities in the last few years, so there's more to consider
than just "robustness".  Anyway, since you're having problems setting
it up, you should give serious thought to the FreeBSD ftpd unless you
require a feature it does not have.

Kris


pgp0.pgp
Description: PGP signature


Re: Proftp [SOLVED]

2004-02-25 Thread Robert Storey
Thanks to those who responded. Manually creating the directory
/var/run/proftpd did indeed solve the problem, and yes, the man page is
incorrect as it suggests /var/run/run/proftpd.

best regards,
Robert

On Wed, 25 Feb 2004 09:25:19 -0500
Paul Mather <[EMAIL PROTECTED]> wrote:

> The problem with the port is that it does not create the default
> directory in which the scoreboard file is created.  The man page that
> is installed is also apparently incorrect.  The correct default
> directory is /var/run/proftpd.  If you create that directory, the port
> should run happily with the default proftpd.conf file.
> 
> Alternatively, as someone else suggested, you can explicitly set the
> scoreboard file to be stored in a known existing directory (e.g.,
> /var/run) via the "ScoreboardFile" directive in proftpd.conf.
> 
> You don't need to create the scoreboard file itself.  It will be
> created when proftpd starts up (so long as the directory in which it
> is supposed to reside exists).
> 
> Cheers,
> 
> Paul.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"