View previous topic :: View next topic |
Author |
Message |
pkluss n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2003 Posts: 27 Location: Illinois
|
Posted: Thu Dec 08, 2005 6:06 am Post subject: ProFTPd won't start |
|
|
I apologize for the elementary nature of this problem, but I seriously can't figure it out. I've scoured forums and searched for HOWTOs on the subject and none of them helped....everyone got farther than I did. I just want to get an FTP server up and running. I've emerged proftpd and edited my .conf file and now I'm stuck here...
Code: |
/etc/init.d/proftpd start
* Starting proftpd ... [ !! ]
|
I don't get any useful debugging output, just two simple red bangs.
My .conf file appears as follows....
Code: |
ServerName "fils empeethrees"
ServerType standalone
DefaultServer on
RequireValidShell off
AuthPAM off
AuthPAMConfig ftp
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 5
# Set the user and group under which the server will run.
User pkluss
Group users
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite off
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
#chroot for all users
DefaultRoot ~ ftp
#Limit LOGIN>
DenyGroup !ftp
</Limit>
<Global>
RootLogin off
RequireValidShell on
</Global>
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
ExtendedLog /var/log/ftp_auth.log AUTH auth
ExtendedLog /var/log/ftp_access.log WRITE,READ write
ExtendedLog /var/log/ftp_paranoid.log ALL default
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 5
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
|
Thanks for reading.
-pkluss |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Thu Dec 08, 2005 9:49 am Post subject: |
|
|
If you are not seeing errors on the console then I'd check your logs. There's generally a sign in there of what is failing. Sometimes starting the daemon on the commandline directly - rather than using an init script - can show more output. Some apps support -v or -vv for more verbose output. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|