View previous topic :: View next topic |
Author |
Message |
gentoo_newguy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 10 Oct 2006 Posts: 539
|
Posted: Mon Nov 03, 2008 3:08 pm Post subject: Proftp Server cant start |
|
|
Hi i havent done anything to the config at all and it wont let me start the server.
Code: |
* Checking proftpd configuration ...
* Configuration error: please fix your configuration file (/etc/proftpd/proftpd.conf). [ !! ]
|
Here is a copy of the config.
Im simply trying to just use the server on my local network to transfer some files.
Code: |
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# 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 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp
# 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 10
# 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>
|
Any ideas guys |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gef Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 17 May 2008 Posts: 180 Location: France
|
Posted: Mon Nov 03, 2008 8:30 pm Post subject: |
|
|
Quote: | host ~ # proftpd -h
[...]
-t, --configtest
Test the syntax of the specified config
[...]
|
Could this help ? _________________ Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo_newguy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 10 Oct 2006 Posts: 539
|
Posted: Tue Nov 04, 2008 12:43 pm Post subject: |
|
|
Code: | TuxServer ~ # proftpd -t
Checking syntax of configuration file
- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
- warning: handling possibly truncated configuration data at line 58 of '/etc/proftpd/proftpd.conf'
- warning: unable to determine IP address of 'TuxServer'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
|
This is just on my local network.
Never setone up before. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
YuriyRusinov Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/12798474454747e3598b977.jpg)
Joined: 21 Jul 2004 Posts: 213 Location: Saint-Petersburg, Russia
|
Posted: Wed Nov 12, 2008 9:58 pm Post subject: |
|
|
Possible you need to replace 'DisplayFirstChdir' directive on to 'DisplayChdir' in your configuration file. _________________ Best regards,
Yuriy Rusinov. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo_newguy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 10 Oct 2006 Posts: 539
|
Posted: Thu Nov 13, 2008 1:20 pm Post subject: |
|
|
Thanks i will give it ago |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nativemad Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Krusty.jpg)
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Thu Nov 13, 2008 2:52 pm Post subject: |
|
|
Hi
If i remember exactly, this is your porblem:
Quote: | warning: unable to determine IP address of 'TuxServer' |
try:
Code: | echo 127.0.0.1 TuxServer >>/etc/hosts |
Cheers _________________ Power to the people! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phoeniximago n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Jul 2008 Posts: 21
|
Posted: Thu Nov 13, 2008 5:38 pm Post subject: |
|
|
Had exactly the same problem today and changing DisplayFirstChdir to DisplayChdir as suggested earlier in this thread solved it:-).
Rob |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|