HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ftp problems (http://www.howtoforge.com/forums/showthread.php?t=4261)

tgansert 12th May 2006 14:35

ftp problems
 
Since the install, I am receiving the following errors in /var/log/proftp:

Code:

May 12 07:00:01 host.domain.com proftpd[29458] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 07:30:02 host.domain.com proftpd[29961] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
May 12 07:30:02 host.domain.com proftpd[29961] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 07:48:15 host.domain.com proftpd[30353] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
*** glibc detected *** free(): invalid next size (fast): 0x081115d8 ***
May 12 07:49:53 host.domain.com proftpd[30861] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
May 12 07:49:53 host.domain.com proftpd[30861] host.domain.com (127.0.0.1[127.0.0.1]): no such user 'impulse'
May 12 07:49:53 host.domain.com proftpd[30861] host.domain.com (127.0.0.1[127.0.0.1]): USER impulse: no such user found from 127.0.0.1 [127.0.0.1] to 127.0.0.1:21
May 12 07:49:53 host.domain.com proftpd[30861] host.domain.com (127.0.0.1[127.0.0.1]): Maximum login attempts (1) exceeded
May 12 07:49:53 host.domain.com proftpd[30861] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 07:49:54 host.domain.com proftpd[30869] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
May 12 07:49:54 host.domain.com proftpd[30869] host.domain.com (127.0.0.1[127.0.0.1]): no such user 'impulse'
May 12 07:49:54 host.domain.com proftpd[30869] host.domain.com (127.0.0.1[127.0.0.1]): USER impulse: no such user found from 127.0.0.1 [127.0.0.1] to 127.0.0.1:21
May 12 07:49:54 host.domain.com proftpd[30869] host.domain.com (127.0.0.1[127.0.0.1]): Maximum login attempts (1) exceeded
May 12 07:49:54 host.domain.com proftpd[30869] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 07:50:07 host.domain.com proftpd[30901] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
*** glibc detected *** corrupted double-linked list: 0x081115f8 ***
May 12 07:50:07 host.domain.com proftpd[30906] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
May 12 07:50:07 host.domain.com proftpd[30906] host.domain.com (127.0.0.1[127.0.0.1]): USER ssneed (Login failed): Invalid shell: '/dev/null'
May 12 07:50:07 host.domain.com proftpd[30906] host.domain.com (127.0.0.1[127.0.0.1]): Maximum login attempts (1) exceeded
May 12 07:50:07 host.domain.com proftpd[30906] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 07:56:38 host.domain.com proftpd[31120] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
May 12 07:56:38 host.domain.com proftpd[31120] host.domain.com (127.0.0.1[127.0.0.1]): USER ssneed: Login successful.
May 12 11:56:38 host.domain.com proftpd[31120] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 07:56:38 host.domain.com proftpd[31127] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
*** glibc detected *** corrupted double-linked list: 0x081115e8 ***
May 12 07:56:44 host.domain.com proftpd[31137] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
*** glibc detected *** corrupted double-linked list: 0x081115b0 ***
May 12 08:00:01 host.domain.com proftpd[31228] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
May 12 08:00:01 host.domain.com proftpd[31228] host.domain.com (127.0.0.1[127.0.0.1]): FTP session closed.
May 12 08:07:14 host.domain.com proftpd[31419] host.domain.com: Failed binding to 0.0.0.0, port 21: Address already in use
May 12 08:07:14 host.domain.com proftpd[31419] host.domain.com: Check the ServerType directive to ensure you are configured correctly.
May 12 08:07:30 host.domain.com proftpd[21723] host.domain.com: ProFTPD killed (signal 15)
May 12 08:07:30 host.domain.com proftpd[21723] host.domain.com: ProFTPD 1.2.10 standalone mode SHUTDOWN
May 12 08:07:32 host.domain.com proftpd[31436] host.domain.com: ProFTPD 1.2.10 (stable) (built do mrt 22 18:28:32 CET 2001) standalone mode STARTUP
May 12 08:07:51 host.domain.com proftpd[31436] host.domain.com: ProFTPD killed (signal 15)
May 12 08:07:51 host.domain.com proftpd[31436] host.domain.com: ProFTPD 1.2.10 standalone mode SHUTDOWN
May 12 08:07:54 host.domain.com proftpd[31597] host.domain.com: ProFTPD 1.2.10 (stable) (built do mrt 22 18:28:32 CET 2001) standalone mode STARTUP
May 12 08:08:14 host.domain.com proftpd[31617] host.domain.com (127.0.0.1[127.0.0.1]): FTP session opened.
*** glibc detected *** free(): invalid next size (fast): 0x08111598 ***

Can anyone tell me the cause/repair?

falko 12th May 2006 21:34

Quote:

Originally Posted by tgansert
[code]
May 12 08:07:14 host.domain.com proftpd[31419] host.domain.com: Failed binding to 0.0.0.0, port 21: Address already in use
May 12 08:07:14 host.domain.com proftpd[31419] host.domain.com: Check the ServerType directive to ensure you are configured correctly.

What's in /etc/proftpd.conf?

tgansert 19th May 2006 20:06

Code:

#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName                      "Debian"
ServerType standalone
DeferWelcome                    off

MultilineRFC2228 on
DefaultServer                  on
ShowSymlinks                    on

TimeoutNoTransfer 0
TimeoutStalled 600
TimeoutIdle 0

DisplayLogin                    welcome.msg
DisplayFirstChdir              .message
ListOptions                    "-l"

DenyFilter                      \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd              off

# Uncomment this if you would use TLS module:
#TLSEngine                      on

# Uncomment this if you would use quota module:
#Quotas                        on

# Uncomment this if you would use ratio module:
#Ratios                        on

# Port 21 is the standard FTP port.
Port                            21

# 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 10

# Set the user and group that the server normally runs at.
User                            nobody
Group                          nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask                          022  022
# Normally, we want files to be overwriteable.
AllowOverwrite                  on

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
#DelayEngine                    off

# <VirtualHost host.domain.tld>
#  ServerName                  "HOST's FTP Server"
# </VirtualHost>
# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
#  User                                ftp
#  Group                              nogroup
#  # We want clients to be able to login with "anonymous" as well as "ftp"
#  UserAlias                  anonymous ftp
#  # Cosmetic changes, all files belongs to ftp user
#  DirFakeUser on ftp
#  DirFakeGroup on ftp
#
#  RequireValidShell          off
#
#  # 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                        anonyftp.msg
#  DisplayFirstChdir          .message
#
#  # Limit WRITE everywhere in the anonymous chroot
#  <Directory *>
#    <Limit WRITE READ STOR DELE>
#      DenyAll
#    </Limit>
#  </Directory>
#
#  # Uncomment this if you're brave.
#  # <Directory incoming>
#  #  # Umask 022 is a good standard umask to prevent new files and dirs
#  #  # (second parm) from being group and world writable.
#  #  Umask                          022  022
#  #            <Limit READ WRITE>
#  #            DenyAll
#  #            </Limit>
#  #            <Limit STOR>
#  #            AllowAll
#  #            </Limit>
#  # </Directory>
#
# </Anonymous>
<Global>
DefaultRoot / root
DefaultRoot / photo1
DefaultRoot /var/www www-data
DefaultRoot ~
DeleteAbortedStores on
HiddenStor on
LoginPasswordPrompt off
RootLogin off
DisplayConnect /etc/proftpd.mesg
MaxLoginAttempts 1
UseFtpUsers on
AllowRetrieveRestart on
IdentLookups on
MaxClientsPerHost 15 "Methinks you are hogging my bandwidth. Begone wastrel!"
SyslogLevel emerg
DirFakeGroup off
DirFakeUser off
PassivePorts 1024 1024
RequireValidShell off
</Global>
TimeoutLogin 20
UseReverseDNS on
SystemLog /var/log/proftp




Include /etc/proftpd_ispconfig.conf


sushestvo 19th May 2006 22:10

show proftpd_ispconfig.conf here plz

tgansert 20th May 2006 16:27

Code:

###################################
#
# ISPConfig proftpd Configuration File
#        Version 1.0
#
###################################
<VirtualHost [my interet IP here]>
        DefaultRoot            ~
        AllowOverwrite          on
        Umask                  002
</VirtualHost>


till 20th May 2006 16:58

Can you login with users you created in ISPConfig through FTP, when the FTP checkbox is enabled for the website?

falko 21st May 2006 21:34

Why do you have multiple DefaultRoot directives in /etc/proftpd.conf?

tgansert 24th May 2006 14:34

Multiple default roots apply to the user they are assigned to. ProFTP has no .rc directive file capability as far as I know & this is the only method (again, as far as I know).

falko 24th May 2006 18:24

What about Till's question?

tgansert 24th May 2006 19:31

I'm sorry - skipped it entirely ;) .. Here is the error I get when I attempt to connect to Web-FTP as an administrative user:

http://www.phiberoptik.net/ul/img/ispconfig-ftp.jpg

When I attempt to connect as a non-admin user, I get 'web' on the right side, and 'Could not connect as user user' on the left. When I attempt to browse folders, I get 'Could not connect as user user' on both sides.


All times are GMT +2. The time now is 07:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.