proftpd.conf file doesn't work
I used ftp command line ftp to my server in my account lyang with success. But I found my proftpd.conf did not working for some reason.
Code:
ServerName "ProFTPD" UserOwner nobody, but with actual groupwoner = users, userowner = lyang. I even renamed proftpd.conf to proftpd.conf.rename. How can I sure proftpd.conf is being used? If it is used, why it didn't work. Thanks, Lisa |
do:
Code:
|
Thanks for the reply. I added proftpd -n -c /etc/proftpd.conf to proftpd.conf file. But nothing changed. Same result.
Thanks, Lisa |
Quote:
proftpd -n -c /etc/proftpd.conf |
You've added the "proftpd -n ..." to the proftpd.conf file? I'm pretty sure you were to run the command from the command line. Better yet, is proftpd running? You're using standalone so the proftpd need to be running in order for you to connect to it.
|
I run this command line
/opt/lampp/sbin/proftpd -n -c /opt/lampp/etc/proftpd.conf error message: Failed binding to 0.0.0.0, port 21: Address already in use Check the ServerType directive to ensure you are configured correctly. |
first type:
/etc/init.d/proftpd stop then /opt/lampp/sbin/proftpd -n -c /opt/lampp/etc/proftpd.conf |
run this command:
/opt/lampp/sbin/proftpd -nd5 2>&1 >& /opt/lampp/etc/proftpdebug - mod_tls/2.1.2: using OpenSSL 0.9.8h 28 May 2008 - <Directory /opt/lampp/*>: deferring resolution of path beta3.midwayproducts.com - beta3.midwayproducts.com - Config for ProFTPD: beta3.midwayproducts.com - /opt/lampp/* beta3.midwayproducts.com - AllowOverwrite beta3.midwayproducts.com - Umask beta3.midwayproducts.com - UserPassword beta3.midwayproducts.com - RequireValidShell beta3.midwayproducts.com - UseFtpUsers beta3.midwayproducts.com - DefaultServer beta3.midwayproducts.com - Umask beta3.midwayproducts.com - UserID beta3.midwayproducts.com - UserName beta3.midwayproducts.com - GroupID beta3.midwayproducts.com - GroupName beta3.midwayproducts.com - DefaultRoot beta3.midwayproducts.com - UserPassword beta3.midwayproducts.com - RequireValidShell beta3.midwayproducts.com - UseFtpUsers beta3.midwayproducts.com - deleting existing scoreboard '/opt/lampp/var/proftpd/proftpd.scoreboard' beta3.midwayproducts.com - Failed binding to 0.0.0.0, port 21: Address already in use beta3.midwayproducts.com - Check the ServerType directive to ensure you are configured correctly. |
Thanks God! After stop proftpd and run /opt/lampp/sbin/proftpd -n -c /opt/lampp/etc/proftpd.conf
the proftpd.conf is working now! Because DefaultRoot is working. Thanks for all of you. But I configured User nobody Group root The actual uploaded file is still with user = myaccount, group = users. Thanks, Lisa |
Umask and DefaultRoot are working.
<Directory /opt/lampp/> AllowOverwrite on GroupOwner root UserOwner nobody </Directory> I want uploaded files with user and group owner as I configured, but it is still under my account. Please help. Thanks, Lisa |
All times are GMT -5. The time now is 02:31 AM. |