Titel: proftpd startet nicht Beitrag von: Peacer am 08. Mai 2005, 21:40:20 Hallo
Ich habe nun Proftpd geemerged, hab die Defaulteinstellungen der .conf.sample als .conf genommen. die einzige ändernung die ich vornahm, war den Servername. ich wollte Proftpd starten, da ereignete sich volgendes problem.... ich hab einen auszug des Logs, (proftpd -n -d5) Zitat - mod_ctrls/0.9.2: binding ctrls socket to '/var/run/proftpd/proftpd.sock' - mod_tls/2.0.7: using OpenSSL 0.9.7d 17 Mar 2004 - parsing '/etc/proftpd/proftpd.conf' configuration - <Directory />: adding section for resolved path '/' - getaddrinfo 'ps-cube' error: Name or service not known - warning: unable to determine IP address of 'ps-cube' - error: no valid servers configured - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf' System: Gentoo Wichtig ist vileicht, dass ich 2 Netzwerkkarten im System habe und den Server auch über 2 IPs ereichen möchte. Ich hoffe auf Euch und danke schon im Vorraus damit ich hoffentlich nichts vergesse, habe ich die .conf noch unten angefügt: Zitat ServerName "peacer's PS-CUBE" ServerType standalone DefaultServer on RequireValidShell off AuthPAM off AuthPAMConfig ftp # Port 21 is the standard FTP port. Port 21 Umask 022 MaxInstances 30 # Set the user and group under which the server will run. User proftpd Group proftpd # Normally, we want files to be overwriteable. <Directory /> AllowOverwrite on </Directory> <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> Titel: proftpd startet nicht Beitrag von: Peacer-reg. am 09. Mai 2005, 12:44:53 Ich hab nun auch so ziehmlich alles durchsucht, hab aber nix gefunden, indem das Problem gelöst wurde/werden konnte.
kann das vileicht mit der Local addresse zusammenhängen oder so? Ich binn nun völlig am Anschlag :keinelust) bitte, ich brauche Eure hilfe :gott) *fleh* :gott) Titel: Hab noch was vergessen Beitrag von: Peacer-reg. am 09. Mai 2005, 12:50:26 Hab nochmals n versuch gestartet, den Server zu starten
Ergebniss Zitat * Starting proftpd... - getaddrinfo 'ps-cube' error: Name or service not known - warning: unable to determine IP address of 'ps-cube' - error: no valid servers configured - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf Titel: Re: Hab noch was vergessen Beitrag von: stonki am 09. Mai 2005, 15:46:49 Zitat von: "Peacer-reg." Hab nochmals n versuch gestartet, den Server zu starten Ergebniss Zitat * Starting proftpd... - getaddrinfo 'ps-cube' error: Name or service not known - warning: unable to determine IP address of 'ps-cube' - error: no valid servers configured - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf deine IP kann nicht aufgelöst werden, als ps-cube in /etc/hosts eintragen... Titel: 1. Problem gelöst Beitrag von: Peacer-reg. am 09. Mai 2005, 17:28:34 Danke für die Antwort!!!!
Das hat Funktioniert, nun starten tut er trotzdem nicht auzug aus n d9 Zitat - mod_ctrls/0.9.2: binding ctrls socket to '/var/run/proftpd/proftpd.sock' - mod_tls/2.0.7: using OpenSSL 0.9.7d 17 Mar 2004 - parsing '/etc/proftpd/proftpd.conf' configuration - FS: using system open() - FS: using system read() - dispatching directive 'ServerName' to module mod_core - dispatching directive 'ServerType' to module mod_core - dispatching directive 'DefaultServer' to module mod_core - dispatching directive 'RequireValidShell' to module mod_auth - dispatching directive 'AuthPAM' to module mod_auth_pam - dispatching directive 'AuthPAMConfig' to module mod_auth_pam - dispatching directive 'Port' to module mod_core - dispatching directive 'Umask' to module mod_core - dispatching directive 'MaxInstances' to module mod_core - FS: using system read() - dispatching directive 'User' to module mod_core - dispatching auth request "getpwnam" to module mod_sql - dispatching auth request "getpwnam" to module mod_auth_file - dispatching auth request "getpwnam" to module mod_auth_unix - dispatching directive 'Group' to module mod_core - dispatching auth request "getgrnam" to module mod_sql - dispatching auth request "getgrnam" to module mod_auth_file - dispatching auth request "getgrnam" to module mod_auth_unix - dispatching directive '<Directory>' to module mod_core - <Directory />: adding section for resolved path '/' - dispatching directive 'AllowOverwrite' to module mod_xfer - dispatching directive '</Directory>' to module mod_core - dispatching directive '<Anonymous>' to module mod_core - dispatching directive 'User' to module mod_core - dispatching directive 'Group' to module mod_core - dispatching directive 'UserAlias' to module mod_auth - dispatching directive 'MaxClients' to module mod_auth - dispatching directive 'DisplayLogin' to module mod_core - dispatching directive 'DisplayFirstChdir' to module mod_core - dispatching directive '<Limit>' to module mod_core - dispatching directive 'DenyAll' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive '</Anonymous>' to module mod_core - FS: using system read() - FS: using system close() ps-cube - ps-cube - Config for peacer's PS-CUBE: ps-cube - ~ftp/ ps-cube - Limit ps-cube - DenyAll ps-cube - UserName ps-cube - GroupName ps-cube - UserAlias ps-cube - MaxClients ps-cube - DisplayLogin ps-cube - DisplayFirstChdir ps-cube - RequireValidShell ps-cube - Umask ps-cube - / ps-cube - AllowOverwrite ps-cube - RequireValidShell ps-cube - Umask ps-cube - DefaultServer ps-cube - RequireValidShell ps-cube - AuthPAM ps-cube - AuthPAMConfig ps-cube - Umask ps-cube - UserID ps-cube - UserName ps-cube - GroupID ps-cube - GroupName ps-cube - ROOT PRIVS at mod_delay.c:258 ps-cube - FS: using system open() ps-cube - RELINQUISH PRIVS at mod_delay.c:260 ps-cube - FS: using system fstat() ps-cube - FS: using system close() ps-cube - dispatching auth request "getgroups" to module mod_sql ps-cube - dispatching auth request "getgroups" to module mod_auth_file ps-cube - dispatching auth request "getgroups" to module mod_auth_unix ps-cube - SETUP PRIVS at main.c:2733 ps-cube - ROOT PRIVS at main.c:1967 ps-cube - RELINQUISH PRIVS at main.c:1974 ps-cube - ROOT PRIVS at main.c:2322 ps-cube - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard' ps-cube - opening scoreboard '/var/run/proftpd/proftpd.scoreboard' ps-cube - RELINQUISH PRIVS at main.c:2348 ps-cube - ROOT PRIVS at inet.c:322 ps-cube - RELINQUISH PRIVS at inet.c:362 ps-cube - Failed binding to 0.0.0.0, port 21: Address already in use ps-cube - Check the ServerType directive to ensure you are configured correctly. Auszug aus n d5 Zitat - mod_ctrls/0.9.2: binding ctrls socket to '/var/run/proftpd/proftpd.sock' - mod_tls/2.0.7: using OpenSSL 0.9.7d 17 Mar 2004 - parsing '/etc/proftpd/proftpd.conf' configuration - <Directory />: adding section for resolved path '/' ps-cube - ps-cube - Config for peacer's PS-CUBE: ps-cube - ~ftp/ ps-cube - Limit ps-cube - DenyAll ps-cube - UserName ps-cube - GroupName ps-cube - UserAlias ps-cube - MaxClients ps-cube - DisplayLogin ps-cube - DisplayFirstChdir ps-cube - RequireValidShell ps-cube - Umask ps-cube - / ps-cube - AllowOverwrite ps-cube - RequireValidShell ps-cube - Umask ps-cube - DefaultServer ps-cube - RequireValidShell ps-cube - AuthPAM ps-cube - AuthPAMConfig ps-cube - Umask ps-cube - UserID ps-cube - UserName ps-cube - GroupID ps-cube - GroupName ps-cube - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard' ps-cube - Failed binding to 0.0.0.0, port 21: Address already in use ps-cube - Check the ServerType directive to ensure you are configured correctly. Wo hab ich denn noch n Fehler drinn? Titel: proftpd startet nicht Beitrag von: Wörsty am 09. Mai 2005, 21:08:11 Der Server läuft schon.
Oder etwas anderes auf dem Port. Forensuche: fuser z.B. http://www.proftpd.de/forum/viewtopic.php?p=7899#7899 Probier mal killall proftpd und dann den Neustart. |