www.ProFTPD.de
13. März 2007, 21:45:09 *
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: bekomme den ftp server nicht zum laufen  (Gelesen 584 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
sir cameron
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen
« am: 07. Oktober 2004, 17:14:40 »

hallo

also ich bekomme proftpd nicht so richtig zum laufen.
der serverrechner sitzt hinter einem router, portforwardding ist alles auf den server umgeleitet. dyndns.org wird von dem router auch angesteuert, so daß ftp://name.dyndns.org auch meine momentane ip anfährt nur keine zugriff auf den server bekommt.
proftpd startet auch mit einen ok ohne fehler, nur habe ich keinen zugriff auf den server, weiß jemand woran das liegen könnte.
falls weitere daten benötigt werden einfach bescheid sagen.

danke schon mal
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 07. Oktober 2004, 20:23:01 »

Bescheid!

Also.

1.
fuser -n tcp 21
Dann ein ps aux | grep <Prozess-ID die fuser rausgeschmissen hat>

2. killall proftpd
proftpd -nd5

Verbindung versuchen

3. Alle Ergebnisse posten.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
sir cameron
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen
« Antwort #2 am: 07. Oktober 2004, 20:59:54 »

Also nach ps aux | grep 1538 erscheint folgendes:


root      1538  0.0  0.2  2168  908 ?        S    18:52   0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root      3732  0.0  0.2  2128  796 pts3     R    19:52   0:00 grep 1538

damit kan ich ehrlich gesagt garnichts anfangen.


Was kann ich gegen die folgede fehlermeldung machen.
fatal: socket operation on non socket.....

danke schon mal
Gespeichert
sir cameron
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen
« Antwort #3 am: 07. Oktober 2004, 21:03:23 »

ach so hab ich noch vergessen


- parsing '/etc/proftpd.conf' configuration
 - Compiling deny regex '\*.*/'.
 - Allocated deny regex at location 0x80e4eb0.
 - <Directory />: adding section for resolved path '/'
Apokalypse -
Apokalypse - Config for Dragon:
Apokalypse - Limit
Apokalypse -  DenyGroup
Apokalypse - /
Apokalypse -  AllowOverwrite
Apokalypse -  ShowSymlinks
Apokalypse -  DisplayLogin
Apokalypse -  DisplayFirstChdir
Apokalypse -  ListOptions
Apokalypse -  DenyFilter
Apokalypse -  MaxClients
Apokalypse -  Umask
Apokalypse -  DirUmask
Apokalypse -  RootLogin
Apokalypse -  RequireValidShell
Apokalypse - DeferWelcome
Apokalypse - ShowSymlinks
Apokalypse - DefaultServer
Apokalypse - AllowOverwrite
Apokalypse - TimeoutNoTransfer
Apokalypse - TimeoutStalled
Apokalypse - TimeoutIdle
Apokalypse - DisplayLogin
Apokalypse - DisplayFirstChdir
Apokalypse - ListOptions
Apokalypse - DenyFilter
Apokalypse - MaxClients
Apokalypse - Umask
Apokalypse - DirUmask
Apokalypse - UserID
Apokalypse - UserName
Apokalypse - GroupID
Apokalypse - GroupName
Apokalypse - DefaultRoot
Apokalypse - IdentLookups
Apokalypse - ExtendedLog
Apokalypse - ExtendedLog
Apokalypse - RootLogin
Apokalypse - RequireValidShell
Apokalypse - fatal: Socket operation on non-socket
Apokalypse - (Running from command line? Use `ServerType standalone' in config file!)
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #4 am: 07. Oktober 2004, 23:16:27 »

Der inetd / xinetd-Prozess belegt deinen Port.
Proftpd läuft bei dir gar nicht
Lies mal die FAQ.
Ich muß  :N8
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
sir cameron
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen
« Antwort #5 am: 08. Oktober 2004, 10:04:18 »

Hallo nochmal

mein server ist jetzt standalone, die xinetd.conf habe ich entsprechend geändert, nur funzt nach wie vor überhaupt nicht, so langsam bin ich mit meinem latein am ende. habe auch diverse andere newsgroups gelesen und alles mögliche probiert, doch ich bekomm ihn nicht zum laufen.

für einen tollen tricks wäre ich sehr dankbar.
danke


[root@apokalypse henri]# proftpd -n -d9
 - parsing '/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - Compiling deny regex '\*.*/'.
 - Allocated deny regex at location 0x80e4ea0.
 - dispatching auth request "getpwnam" to module mod_radius
 - dispatching auth request "getpwnam" to module mod_ldap
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_radius
 - dispatching auth request "getgrnam" to module mod_ldap
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - <Directory />: adding section for resolved path '/'
 - FS: using system read()
 - FS: using system close()
Apokalypse -
Apokalypse - Config for Dragon:
Apokalypse - Limit
Apokalypse -  DenyGroup
Apokalypse - /
Apokalypse -  AllowOverwrite
Apokalypse -  ShowSymlinks
Apokalypse -  DisplayLogin
Apokalypse -  DisplayFirstChdir
Apokalypse -  ListOptions
Apokalypse -  DenyFilter
Apokalypse -  MaxClients
Apokalypse -  Umask
Apokalypse -  DirUmask
Apokalypse -  RootLogin
Apokalypse -  RequireValidShell
Apokalypse - DeferWelcome
Apokalypse - ShowSymlinks
Apokalypse - DefaultServer
Apokalypse - AllowOverwrite
Apokalypse - TimeoutNoTransfer
Apokalypse - TimeoutStalled
Apokalypse - TimeoutIdle
Apokalypse - DisplayLogin
Apokalypse - DisplayFirstChdir
Apokalypse - ListOptions
Apokalypse - DenyFilter
Apokalypse - MaxClients
Apokalypse - Umask
Apokalypse - DirUmask
Apokalypse - UserID
Apokalypse - UserName
Apokalypse - GroupID
Apokalypse - GroupName
Apokalypse - DefaultRoot
Apokalypse - IdentLookups
Apokalypse - ExtendedLog
Apokalypse - ExtendedLog
Apokalypse - RootLogin
Apokalypse - RequireValidShell
Apokalypse - dispatching auth request "getgroups" to module mod_radius
Apokalypse - dispatching auth request "getgroups" to module mod_ldap
Apokalypse - dispatching auth request "getgroups" to module mod_auth_file
Apokalypse - dispatching auth request "getgroups" to module mod_auth_unix
Apokalypse - SETUP PRIVS at main.c:2704
Apokalypse - ROOT PRIVS at main.c:1956
Apokalypse - RELINQUISH PRIVS at main.c:1962
Apokalypse - ROOT PRIVS at main.c:2323
Apokalypse - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
Apokalypse - RELINQUISH PRIVS at main.c:2347
Apokalypse - ROOT PRIVS at inet.c:452
Apokalypse - RELINQUISH PRIVS at inet.c:492
Apokalypse - Failed binding to 0.0.0.0, port 21: Address already in use
Apokalypse - Check the ServerType directive to ensure you are configured correctly.
[root@apokalypse henri]#


hier ist noch meine xinetd.conf, so sah sie orginal aus, auch mit dem zusatz aus der faq "ftp......" funzt garnichts auch diverse andere tricks aus anderen newsgroups führten zu keinen ergebnis.



#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success      = HOST PID
        log_on_failure      = HOST
   cps         = 25 30
}

includedir /etc/xinetd.d
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #6 am: 08. Oktober 2004, 11:02:36 »

Also in der xinetd.conf / services muß alles andere ftp Zeugs deaktiviert sein.
Zitat
Apokalypse - Failed binding to 0.0.0.0, port 21: Address already in use

killall proftpd und nochmal
Momentan ist der Port 21 belegt  :arrow: siehe fuser von oben

Siehe auch FAQ 2.5: http://www.proftpd.de/FAQ.12.0.html#s2
ftp stream tcp nowait root /dein/pfad/zum /proftpd/sbin/proftpd proftpd

Entweder xinetd oder standalone.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
sir cameron
ProFTPD
*
Offline Offline

Beiträge: 5


Profil anzeigen
« Antwort #7 am: 08. Oktober 2004, 11:56:04 »

ich nochmal

also nach killall proftp liefert fuser keinen dienst mehr auf  dem port 21
der server ist auf standalone und in der xinetd.conf
steht auch nichts von ftp drin siehe oben.
wenn ich proftp starte ist der port 21 aber durch irgendeinen ftp belegt, also heißt das doch das 2 dienste starten und proftpd nicht dejenige ist der den port bekommt.

#ftp stream tcp nowait root /etc/proftpd /sbin/proftpd proftpd

in der sbin steht bei mir aber nicht von proftp drin, kann es daran liegen.
da der server auf standalone gestellt ist, düfte doch die inetd garnicht mit anspringen wenn ich proftpd starte oder irre ich mich da.
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #8 am: 08. Oktober 2004, 12:11:09 »

hast Du xinetd denn neu gestartet ?
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #9 am: 08. Oktober 2004, 13:30:49 »

Zitat von: "stonki"
hast Du xinetd denn neu gestartet ?

Theoretisch ja, weil fuser ja nix mehr liefert.

Was zeigt proftpd -nd5 denn jetzt an?
Servertype = standalone in der proftpd.conf, ja?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
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.067 Sekunden mit 16 Zugriffen.