ProFTPd installation / configuration help needed

2004-05-14 Thread Bruce Hunter
I have installed ProFTPd from the ports collection on a FBSD 5.2.1 
system. The only problem is, it doesn't start up. I know I have to set / 
change the ftp line in the
/etc/inetd.conf 
i also have setup a user account on the system called ftp and the group ftp.
Any help would be great
Here is the entire inetd.conf file

# Internet server configuration database
#
# Define *both* IPv4 and IPv6 entries for dual-stack support.
# To disable a service, comment it out by prefixing the line with '#'.
# To enable a service, remove the '#' at the beginning of the line.
#
ftp stream  tcp nowait  rootin.proftpd 
in.proftpd   
---
#ftpstream  tcp6nowait  root/usr/libexec/ftpd   ftpd -l
ssh stream  tcp nowait  root/usr/sbin/sshd  sshd -i -4
#imap4  stream  tcp nowait  root/usr/local/libexec/imapd
imapd
#
# example entry for the optional nntp server
#
#nntp   stream  tcp nowait  news/usr/local/libexec/nntpd
nntpd
#
# example entry for the optional uucpd server
#
#uucpd  stream  tcp nowait  root/usr/local/libexec/uucpd
uucpd
#
# Return error for all ident requests
#
#auth   stream  tcp nowait  rootinternal
#auth   stream  tcp6nowait  rootinternal
#
# Provide internally a real ident service which provides ~/.fakeid 
support,
# provides ~/.noident support, reports UNKNOWN as the operating system type
# and times out after 30 seconds.
#
#auth   stream  tcp nowait  rootinternalauth -r -f -n -o 
UNKNOWN -t 30
#auth   stream  tcp6nowait  rootinternalauth -r -f -n -o 
UNKNOWN -t 30
#
# Example entry for an external ident server
#
#auth   stream  tcp waitroot/usr/local/sbin/identd  identd 
-w -t120
#
# Example entry for the optional qmail MTA
#  NOTE: This is no longer the correct way to handle incoming SMTP
#connections for qmail.  Use tcpserver 
(http://cr.yp.to/ucspi-tcp.html)
#instead.
#
#smtp   stream  tcp nowait  qmaild  /var/qmail/bin/tcp-env  tcp-env 
/var/qmail/bin/qmail-smtpd
#
# Enable the following two entries to enable samba startup from inetd
# (from the Samba documentation).  Enable the third entry to enable the swat
# samba configuration tool.
#
#netbios-ssn stream tcp nowait  root/usr/local/sbin/smbdsmbd
#netbios-ns dgram udp   waitroot/usr/local/sbin/nmbdnmbd
#swat   stream  tcp nowait/400  root/usr/local/sbin/swatswat
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ProFTPd installation / configuration help needed

2004-05-14 Thread David E. Meier
Hi,

it seems you have ProFTPd configured as an inetd service and in this setup
it will be started by the inetd daemon upon connection. Try to connect and
see what it puts out.

You might also want to check the archive. There was a thread about a month
ago regarding setting up ProFTPd.

Dave

 I have installed ProFTPd from the ports collection on a FBSD 5.2.1
 system. The only problem is, it doesn't start up. I know I have to set /
 change the ftp line in the
 /etc/inetd.conf
 i also have setup a user account on the system called ftp and the group
 ftp.
 Any help would be great
 Here is the entire inetd.conf file
 
 # Internet server configuration database
 #
 # Define *both* IPv4 and IPv6 entries for dual-stack support.
 # To disable a service, comment it out by prefixing the line with '#'.
 # To enable a service, remove the '#' at the beginning of the line.
 #
 ftp stream  tcp nowait  rootin.proftpd
 in.proftpd
 ---
 #ftpstream  tcp6nowait  root/usr/libexec/ftpd   ftpd -l
 ssh stream  tcp nowait  root/usr/sbin/sshd  sshd -i -4
 #imap4  stream  tcp nowait  root/usr/local/libexec/imapd
 imapd
 #
 # example entry for the optional nntp server
 #
 #nntp   stream  tcp nowait  news/usr/local/libexec/nntpd
 nntpd
 #
 # example entry for the optional uucpd server
 #
 #uucpd  stream  tcp nowait  root/usr/local/libexec/uucpd
 uucpd
 #
 # Return error for all ident requests
 #
 #auth   stream  tcp nowait  rootinternal
 #auth   stream  tcp6nowait  rootinternal
 #
 # Provide internally a real ident service which provides ~/.fakeid
 support,
 # provides ~/.noident support, reports UNKNOWN as the operating system
 type
 # and times out after 30 seconds.
 #
 #auth   stream  tcp nowait  rootinternalauth -r -f -n -o
 UNKNOWN -t 30
 #auth   stream  tcp6nowait  rootinternalauth -r -f -n -o
 UNKNOWN -t 30
 #
 # Example entry for an external ident server
 #
 #auth   stream  tcp waitroot/usr/local/sbin/identd  identd
 -w -t120
 #
 # Example entry for the optional qmail MTA
 #  NOTE: This is no longer the correct way to handle incoming SMTP
 #connections for qmail.  Use tcpserver
 (http://cr.yp.to/ucspi-tcp.html)
 #instead.
 #
 #smtp   stream  tcp nowait  qmaild  /var/qmail/bin/tcp-env  tcp-env
 /var/qmail/bin/qmail-smtpd
 #
 # Enable the following two entries to enable samba startup from inetd
 # (from the Samba documentation).  Enable the third entry to enable the
 swat
 # samba configuration tool.
 #
 #netbios-ssn stream tcp nowait  root/usr/local/sbin/smbd
 smbd
 #netbios-ns dgram udp   waitroot/usr/local/sbin/nmbd
 nmbd
 #swat   stream  tcp nowait/400  root/usr/local/sbin/swat
 swat
 -
 ___
 [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: ProFTPd installation / configuration help needed

2004-05-14 Thread Robert Storey
On Fri, 14 May 2004 14:57:53 -0400
Bruce Hunter [EMAIL PROTECTED] wrote:

 I have installed ProFTPd from the ports collection on a FBSD 5.2.1 
 system. The only problem is, it doesn't start up. I know I have to set / 
 change the ftp line in the
 /etc/inetd.conf 
 i also have setup a user account on the system called ftp and the group ftp.
 Any help would be great

As I recall, you have to manually create a directory /var/run/proftpd - the man
page erroneously tells you to use /var/run/run/proftpd. Permission levels and
ownership are like this:

  # ls -dl /var/run/proftpd
  drwxr-xr-x  2 root  wheel  512 Apr 16 20:19 /var/run/proftpd

If you're starting from /etc/inetd.conf, you need to edit
/usr/local/etc/proftpd.conf and comment out the line that says:

  ServerType  standalone

and add a line that says:

  ServerType  inetd

See man proftpd for more details.

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