Bekomme proftpd nicht installiert

Probleme mit Samba, NFS, FTP und Co.
Antworten
Lockslay
Beiträge: 216
Registriert: 22.08.2002 17:51:19
Kontaktdaten:

Bekomme proftpd nicht installiert

Beitrag von Lockslay » 30.04.2003 15:18:52

Hallo

Ich versuche grade den proftpd Server unter Woody zu installieren.

Code: Alles auswählen

debian2:/home/lockslay# apt-get install proftpd
Reading Package Lists... Done
Building Dependency Tree... Done
Package proftpd has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package proftpd has no installation candidate

Ich habe die /etc/apt/sources.list
schon bearbeitet und erweitert.
Aber ich bekomme den Server nicht installiert.
Wie habt Ihr den Euren proftpd Server installiert ?

Bitte um hilfe
Lockslay

Benutzeravatar
feltel
Webmaster
Beiträge: 10369
Registriert: 20.12.2001 13:08:23
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Leipzig, Germany
Kontaktdaten:

Beitrag von feltel » 30.04.2003 15:29:35

Wie sieht deine /etc/apt/sources.list aus?

Lockslay
Beiträge: 216
Registriert: 22.08.2002 17:51:19
Kontaktdaten:

Beitrag von Lockslay » 30.04.2003 16:16:14

Hallo

hier meine liste

Code: Alles auswählen

deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1 (20020718)]/
 unstable contrib main non-US/contrib non-US/main
deb ftp://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src ftp://ftp.de.debian.org/debian/ stable main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free


deb ftp://debian.uni-essen.de/debian/ stable main non-free contrib
deb-src ftp://debian.uni-essen.de/debian/ stable main non-free contrib

Benutzeravatar
acron
Beiträge: 147
Registriert: 03.05.2002 13:31:40
Wohnort: Aachen

Beitrag von acron » 02.05.2003 11:15:33

versuchs mal mit:

Code: Alles auswählen

apt-get install proftpd-common
vorher vielleicht noch ein:

Code: Alles auswählen

apt-get update
grüße acron
Of course, someone who knows more about this will correct me if I'm wrong, and someone who knows less will correct me if I'm right.
[David Palmer]

Lockslay
Beiträge: 216
Registriert: 22.08.2002 17:51:19
Kontaktdaten:

Beitrag von Lockslay » 02.05.2003 15:46:10

Hallo

Danke für die hilfe.
Es war in der Tat die non-US.
Habe proftpd installiert.

Habe aber jetzt Problem den Server einzurichten.
Habe eine Gruppe names ftpserver Erstellt.
Dann mit den Code:

Code: Alles auswählen

ftpasswd --passwd --file /etc/ftpd.passwd --home /mein/ftp/verzeichnis -name ftptest --shell /bin/false --uid 1101 --gid 1100
´

einen FTP User erstellt.
Der liegt auch in der Datei /etc/ftpd.passwd

Nur wenn ich mich einloggen möchte kommt dei Meldung
FEHLER:> Paßwort nicht akzeptiert
FEHLER:> Anmeldung nicht möglich.


Meine error log sagen :

Code: Alles auswählen

May  2 15:16:21 debian2 proftpd[760]: debian2.194.25.2.129 (192.168.0.2[192.168.0.2]) - FTP session opened.
May  2 15:16:21 debian2 proftpd[760]: debian2.194.25.2.129 (192.168.0.2[192.168.0.2]) - FTP session closed.


das was mich wundert ist die Adresse debian2.194.25.2.129 habe ich nie vergeben. Die Adresse ist 192.168.0.5 und der Rechnername debian2 ???



Meine proftpd.conf:

Code: Alles auswählen

debian2:/mnt# less /etc/proftpd.conf
# 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                      "Debian"
ServerType                      standalone
DeferWelcome                    off

ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
AllowOverwrite                  on
DefaultRoot                     ~
AuthUserFile /etc/ftpd.passwd

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200


# We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                   welcome.msg
  DisplayFirstChdir             .message


DenyFilter                      \*.*/

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

# Down-/Upload-Ratio
#RateReadBPS                     40000
#RateWriteBPS                    80000


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

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

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

  AllowOverwrite                on
</Directory>

# 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
##
##   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                       welcome.msg
##   DisplayFirstChdir          .message
##
##   # Limit WRITE everywhere in the anonymous chroot
##   <Directory *>
##     <Limit WRITE>
##       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>



Hoffe das mir einer helfen kann.

Gruß,
Lockslay

Lockslay
Beiträge: 216
Registriert: 22.08.2002 17:51:19
Kontaktdaten:

Beitrag von Lockslay » 04.05.2003 20:29:06

Heute habe ich den rechner gestartet und sehe das proftpd nicht läuft,
obwohl er als Domaen (standalone) lief.

Habe eine reconfig gemacht. Ohne Erfolg!
Ein remove und eine Neuinstallation.
Aber proftpd läuft nicht.
/etc/init.d/proftpd start kommt :

Code: Alles auswählen

 
proftpd restart
Restarting professional ftp daemon..
.. - No certificate files found!
Debian - Fatal: unable to determine IP address of `Debian'.
.
 done.
 
Debian ist mein Hostname.
Aber mit der fehlermeldung kann ich nichts anfangen ?

Habe keine Ahnung was ich noch machen kann ??

Gruß,
Lockslay

Benutzeravatar
pdreker
Beiträge: 8298
Registriert: 29.07.2002 21:53:30
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Nürnberg

Beitrag von pdreker » 05.05.2003 00:48:57

Die certificates sind egal, das ist was anderes.

Steht Dein Hostname in /etc/hosts eingetragen, inlusive der korrekten IP Adresse?

Patrick
Definitely not a bot...
Jabber: pdreker@debianforum.de

Lockslay
Beiträge: 216
Registriert: 22.08.2002 17:51:19
Kontaktdaten:

Beitrag von Lockslay » 05.05.2003 15:23:40

Hallo

habe jetzt in der /etc/hosts und in der /etc/hostname alles gleichgesetzt.
Ich meine den Hostnamen .
Der ist jetzt lockslay.
Das Problem ist also behoben. Danke
Aber ich bekomme es nicht hin das ich einen User erstellen kann der auf ein gewünschtes Verzeichnis zugreifen kann.
Mit dem Code :

Code: Alles auswählen

ftpasswd --passwd --file /etc/ftpd.passwd --home /mein/ftp/verzeichnis -name ftptest --shell /bin/false --uid 1101 --gid 1100
den ich hier im Board gefunden habe erstelle ich meine User.
Diese sind auch in der /etc/ftpd.passwd eingetragen.
Aber dennoch ist eine Anmeldung nicht möglich.

Einer eine Idee ?
:roll:
Gruss
Lockslay

Benutzeravatar
pdreker
Beiträge: 8298
Registriert: 29.07.2002 21:53:30
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Nürnberg

Beitrag von pdreker » 05.05.2003 16:09:43

Trage in der proftpd.conf 'mal direkt unter der AuthUserFile Direktive

Code: Alles auswählen

RequireValidShell off
ein.

Alternativ kannst Du /bin/false in /etc/shells eintragen, sollte auch gehen, aber die erste Lösung (RequireValidShell off) ist IMHO besser...

Patrick
Definitely not a bot...
Jabber: pdreker@debianforum.de

Lockslay
Beiträge: 216
Registriert: 22.08.2002 17:51:19
Kontaktdaten:

Beitrag von Lockslay » 05.05.2003 19:21:39

Hy

Nachdem ich den Eintrag hinzugefügt habe gehts.
Ich kann mich nur Recht Herzlich Bedanken.!!

Antworten