Proftp raare fout.

Pagina: 1
Acties:

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
Ik gebruik de basic config file en krijg als ik probeer in te loggen deze error (uit /var/log/messages)
code:
1
2
3
Apr 28 22:58:58 node17690 proftpd[1195]: node17690.a2000.nl - Failed binding to 0.0.0.0, port 21: Address already in use 
Apr 28 22:58:58 node17690 proftpd[1195]: node17690.a2000.nl - Check the ServerType directive to 
ensure you are configured correctly.

Iemand een idee wat ik fout doe?

www.dannyhiemstra.nl


  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 16-08 16:08

deadinspace

The what goes where now?

Proftpd kan poort 21 niet openen voor inkomende connecties, omdat een ander programma deze poort al in gebruik heeft.

Check met 'netstat -lpn' welk programma deze poort al in gebruik heeft.

Verwijderd

Check the ServerType directive to
ensure you are configured correctly.
Misschien dat het dan verstandig is om in je proftpd.conf eens daarna te kijken :? Zomaar een wilde gok hoor ;)

Naar alle waarschijnlijkheid probeer je hem nu zowel standalone alsook via (x)inetd te draaien en dat gaat niet lukken (of je hebt al een andere ftp-server op poort 21 draaien).

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
Ik heb via netstat gekeken en het schijnt dat Xwindow poort 21 gebruikt hmm wtf?

Als ik de pid kill restart die Xwindow best raar..

www.dannyhiemstra.nl


  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
nadat kde is gerestart en ik start proftp weer op krijg ik dit via netstat:
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 922/proftpd (accept

dat moet goed zijn toch?

en nog geeft die dezelfde fout aan

www.dannyhiemstra.nl


  • RvdH
  • Registratie: Juni 1999
  • Laatst online: 28-07 15:42

RvdH

Uitvinder van RickRAID

Op maandag 29 april 2002 04:20 schreef FireFoxx het volgende:
nadat kde is gerestart en ik start proftp weer op krijg ik dit via netstat:
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 922/proftpd (accept

dat moet goed zijn toch?

en nog geeft die dezelfde fout aan
Dat is alleen goed als ServerType op StandAlone staat :)

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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 that the server normally runs at.
User                ftp
Group               ftp

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite        on
</Directory>

# A basic anonymous configuration, no upload directories.
<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>

www.dannyhiemstra.nl


  • Trax_Digitizer
  • Registratie: Januari 2002
  • Laatst online: 11-05 10:40

Trax_Digitizer

are we there yet?

zet dit eens in je configfile:

Bind [hier je IP address]

Misschien werkt het

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
ook al geprobeert en dat lukt ook niet :(

www.dannyhiemstra.nl


Verwijderd

Op maandag 29 april 2002 16:53 schreef FireFoxx het volgende:
ook al geprobeert en dat lukt ook niet :(
Post de output van ps aux eens.
Kijk ook even of inetd niet perongeluk een ftp daemon heeft draaien.

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 16-08 16:08

deadinspace

The what goes where now?

Op maandag 29 april 2002 17:25 schreef epauli het volgende:
Post de output van ps aux eens.
Kijk ook even of inetd niet perongeluk een ftp daemon heeft draaien.
Dan heb je meer aan de inhoud van /etc/inetd.conf. Want als er geen connectie naar de ftp-poort op jouw bak is gemaakt, dan start inetd ook geen ftp-server (maar houdt de poort wel in gebruik, wat overigens te zien aan de output van netstat niet het geval is).

Verwijderd

Kijk ook even in dit topic (daar heb ik net de oplossing geplaatst) :)

[topic=482177/1/25]
Pagina: 1