./usr/local/etc/rc.d/proftpd start reports nothing

I was trying to post the error message that Proftpd was kicking out when I tried to run it. But, now when I do:

# /usr/local/etc/rc.d/proftpd

It does nothing. I restarted the machine, and still get nothing.
Very difficult to troubleshoot error messages when it give me nothing.
Any ideas?

# ps -aux | grep ftp shows nothing save the grep.

Code:
[root@BSD]/usr/local/etc-> ls
ConsoleKit              alpine.conf.sample      fonts                   pam.d                   rc.d
Muttrc                  aspell.ver              gnome.subr              polkit-1                slsh.rc
Muttrc.dist             bash_completion.d       hal                     profile.d               urlview.conf.sample
PolicyKit               dbus-1                  man.d                   proftpd.conf            xml2Conf.sh
alpine.conf             devd                    mime.types              proftpd.conf.safe
[root@BSD]/usr/local/etc-> mv proftpd.conf proftpd.conf.exp
[root@BSD]/usr/local/etc-> mv proftpd.conf.safe proftpd.conf
[root@BSD]/usr/local/etc-> cd rc.d
[root@BSD]/usr/local/etc/rc.d-> ./proftpd start
[root@BSD]/usr/local/etc/rc.d->

Neither conf file will work. I have restarted.
 
Code:
[root@BSD]/root-> service proftpd rcvar
[root@BSD]/root-> cd /usr/local/etc/rc.d
[root@BSD]/usr/local/etc/rc.d-> ./proftpd start
[root@BSD]/usr/local/etc/rc.d->
 
You haven't enabled ProFTPd in /etc/rc.conf. This is why it's not doing anything.
 
Code:
###############################
#
# Services
sshd_enable="YES"
ftpd_enable="NO"
natd_enable="NO"
inetd_enable="NO"
proftpd_enable="YES"
#proftpd_flags="<set as needed>"
sendmail_enable="NO"

I have though. That is what is so frustrating.
 
[CMD=]pkg_delete -x proftpd[/cmd]
[CMD=]/usr/ports/ftp/proftpd/make install clean[/cmd]
Hopefully this should work.
 
To see what's going on, run the startup script in debug mode:

# sh -x /usr/local/etc/rc.d/proftpd start

Note that you can use 'onestart' instead of 'start' to avoid having to set the variable in /etc/rc.conf.
 
Back
Top