www.ProFTPD.de
13. März 2007, 21:07:52 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Großes Problem mit ProFTP beim starten  (Gelesen 417 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
sniper2282
ProFTPD
*
Offline Offline

Beiträge: 3


Profil anzeigen
« am: 31. März 2006, 19:47:07 »

Hi wie in der Themen Beschreibung habe ich ein prob ProFTPD habe her schon rumgekukt und gesucht aber komm nicht weiter aso hier meine fehler meldung beim starten

Code:
v22989:~ # proftpd
v22989.innertrace.de - fatal: Socket operation on non-socket
v22989.innertrace.de - (Running from command line? Use `ServerType standalone' in config file!)
v22989:~ #
[/code]

und wenn ich das hier eingebe proftpd -n -d5

Code:
v22989:~ # proftpd -n -d5
 - mod_tls/2.0.7: using OpenSSL 0.9.7d 17 Mar 2004
 - parsing '/etc/proftpd.conf' configuration
v22989.innertrace.de -
v22989.innertrace.de - Config for v22989.innertrace.de:
v22989.innertrace.de - Limit
v22989.innertrace.de -  DenyGroup
v22989.innertrace.de - DefaultServer
v22989.innertrace.de - ServerIdent
v22989.innertrace.de - ListOptions
v22989.innertrace.de - Umask
v22989.innertrace.de - UserID
v22989.innertrace.de - UserName
v22989.innertrace.de - GroupID
v22989.innertrace.de - GroupName
v22989.innertrace.de - TransferLog
v22989.innertrace.de - AllowOverwrite
v22989.innertrace.de - DefaultRoot
v22989.innertrace.de - fatal: Socket operation on non-socket
v22989.innertrace.de - (Running from command line? Use `ServerType standalone' in config file!)


Weis nicht woran es liegt kann ja mal die config hier mit einhängen und wer mir helfen kann könnte bei fehlern ja auch die config asbessern wenns geht

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 "Handy Portal FTP Server"
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 sniper2282
Group Admin

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot srv/ftp

# Normally, we want files to be overwriteable.
AllowOverwrite on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

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



Schon mal im voraus vielen dank für eure Hilfe
Gespeichert
Claif
ProFTPD
*
Offline Offline

Beiträge: 17


63730021
Profil anzeigen
« Antwort #1 am: 31. März 2006, 21:02:28 »

Hi,
verwende mal das init Script zum starten ...
/etc/init.d/proftpd start
(anstatt einfach proftpd aufzurufen.)

http://www.proftpd.de/Tools.53.0.html
Gespeichert
sniper2282
ProFTPD
*
Offline Offline

Beiträge: 3


Profil anzeigen
« Antwort #2 am: 03. April 2006, 02:36:52 »

wie sol ich den das script eininden einfach in das verzeich hin kopieren oder wie geht das bin noch relativ neu in sachen linux server
Gespeichert
Claif
ProFTPD
*
Offline Offline

Beiträge: 17


63730021
Profil anzeigen
« Antwort #3 am: 03. April 2006, 10:30:11 »

Hi,
unter Debian z.B. ...

Erstmal schauen ob "/etc/init.d/proftpd" schon vorhanden ist, z.B.
"/etc/init.d/proftpd restart" ausführen und wenn die Datei nicht vorhanden ist:

# wget http://www.proftpd.de/fileadmin/files/proftpd_debian_init.d_script -O /etc/init.d/proftpd
# chmod 755 /etc/init.d/proftpd

# which proftpd (nachsehen wo der proftpd liegt, z.B. /usr/sbin/proftpd )
# mcedit /etc/init.d/proftpd  (und dort unter DAEMON= angeben wo er sich nun befindet). Evtl. auch den Pfad zur pid File ändern, zu einem der existiert.

(mcedit ist einer von vielen Editoren - der recht einfach zu bedienen ist.)

Danach mit "/etc/init.d/proftpd start" oder restart ans laufen bringen.
Gespeichert
sniper2282
ProFTPD
*
Offline Offline

Beiträge: 3


Profil anzeigen
« Antwort #4 am: 05. April 2006, 03:18:02 »

so habe es mal geschaft lag an was anderen denke ich auf jedenfal kann man jetzt anoynmus zugreifen und auch als user mit pw nur der anonyou hat keine upload rechte nur downloadrechte hier noch mal meine etziege conf datei die ein kolege gemacht hat für mich denke mal irgendwo ist da ein fehler

meine 2te Frage ist wo kann bzw muß man die befehle einfügren damit sie wirken

AllowForeignAddress on <-- dient doch dazu das ein site to site transfer geht oder nicht

UseReverseDNS off
IdentLookups off

hier meine conf datei
 
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 DHP FTP Server
ServerType standalone
DefaultServer on
ServerAdmin sniper2282
ServerIdent     on "FTP Server ready."
ListOptions "-a"

# Port 21 is the standard FTP port.
Port                            1433

# 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                            nobody
Group                           nogroup

TransferLog /var/log/xferlog

# Normally, we want files to be overwriteable.
AllowOverwrite                on

#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html       public,!users
#
DefaultRoot ~

# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>

<Anonymous /srv/ftp/>

User ftp

Group ftp

 

UserAlias anonymous ftp

 

<Limit WRITE>

DenyAll

</Limit>

 

<Directory pub/*>

<Limit STOR>

AllowAll

</Limit>

</Directory>

</Anonymous>



     ### ENDE ####


[/code]
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.06 Sekunden mit 15 Zugriffen.