PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : FTP mit gproftpd



Tuxfighter9229
26.11.04, 11:20
Ich hänge immer noch an meinem ftp problem und hoffe jetzt kann mir jemand helfen.
Ich benutze GProftpd habe jetzt alle einstelungen so weit gemacht.
Und wenn ich jetzt auf ONLINE drucke bekomme ich folgenen fehler ind der konsole


- getaddrinfo 'Unspecified' error: Name or service not known
- no such group 'nobody'
- Fatal: Group: Unknown group 'nobody'. on line 127 of '/etc/proftpd.conf'


Was habe ich falsch gemacht ich habe kein plan.
Wenn mir einer helfen könnte wehre echt net ich könnte auch mal pics von meine einstelungen machen.

Ich danke schon mal :confused: :confused: :confused: :confused:

Tomek
26.11.04, 11:22
Du hast wahrscheinlich Debian. Ändere deshalb die Gruppe nobody auf nogroup.

Der andere Fehler... Hmm. Paste mal folgende Dateien:
/etc/proftpd.conf
/etc/hosts
/etc/hostname

Tuxfighter9229
26.11.04, 11:31
Ich habe MDK
/etc/proftpd.conf

ServerType standalone
DefaultServer on
Umask 022
ServerName "217.2************"
ServerIdent on "My FTPD"
Bind "217.2*********"
ServerAdmin Tuxfighter9229@freenet.de
IdentLookups off
UseReverseDNS off
Port 8182
PassivePorts 49153 65535
#MasqueradeAddress None
TimesGMT off
MaxInstances 36
MaxLoginAttempts 3
TimeoutLogin 303
TimeoutNoTransfer 121
TimeoutIdle 121
User dominik
Group dominik
DirFakeUser off dominik
DirFakeGroup off dominik
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 100000
TransferRate STOR 100000
TransferRate STOU 100000
TransferRate APPE 100000
SystemLog /var/log/secure
#gp_random_username_length 9
#gp_random_password_length 7
#gp_randomize_case lower
#gp_useradd_root_path /home/ftp
#gp_useradd_upload_path /upload
#gp_html_path /var/www/ftp.html
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
AllowUser daniel
AllowUser dominik
DenyALL
</Limit>

<Anonymous /home/ftp>
User daniel
Group daniel
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST MDTM SIZE SITE STAT APPE RETR STOR STOU MKD XMKD CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY DELE SITE_CHMOD SITE_CHGRP RMD XRMD RNFR RNTO>
DenyAll
</Limit>
</Directory>
</Anonymous>

<Anonymous /home/ftp>
User dominik
Group dominik
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST STOR STOU APPE RETR MKD XMKD STAT MDTM PWD XPWD SIZE CWD XCWD CDUP XCUP SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY RNFR RNTO DELE RMD XRMD SITE_CHMOD SITE_CHGRP >
DenyAll
</Limit>
</Directory>
</Anonymous>

<VirtualHost Unspecified>
Port 65535
ServerName "Unspecified"
ServerIdent on "Unspecified"
Bind "0.0.0.0"
PassivePorts 49152 65534
#MasqueradeAddress None
ServerAdmin Admin@this.domain
Umask 022
TimesGMT off
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
User nobody
Group nobody
DirFakeUser on nobody
DirFakeGroup on nobody
DefaultTransferMode binary
AllowForeignAddress on
DeleteAbortedStores off
AllowRetrieveRestart on
AllowStoreRestart on
TransferRate RETR 30
TransferRate STOR 50
TransferRate STOU 50
TransferRate APPE 50
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
DenyAll
</Limit>
</VirtualHost>

<VirtualHost Unspecified>
Port 65535
ServerName "Unspecified"
ServerIdent on "Unspecified"
Bind "0.0.0.0"
PassivePorts 49152 65534
#MasqueradeAddress None
ServerAdmin Admin@this.domain
Umask 022
TimesGMT off
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
User nobody
Group nobody
DirFakeUser on nobody
DirFakeGroup on nobody
DefaultTransferMode binary
AllowForeignAddress on
DeleteAbortedStores off
AllowRetrieveRestart on
AllowStoreRestart on
TransferRate RETR 30
TransferRate STOR 50
TransferRate STOU 50
TransferRate APPE 50
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
DenyAll
</Limit>
</VirtualHost>

und da ist die
/etc/hosts

127.0.0.1 d12 localhost


und die
/etc/hostname

Na ist nix drinn



Ist echt net das du mir hilfst

Tomek
26.11.04, 12:40
Das sieht schlecht aus:

<VirtualHost Unspecified>
Port 65535
ServerName "Unspecified"
ServerIdent on "Unspecified"
Bind "0.0.0.0"

Die Datei /etc/hostname ist leer? Das ist ebenfalls schlecht. Trag dort bitte den vollständigen Servernamen mit Domain ein (FQDN (http://www.network-projects.telekom.de/glossar/fqdn.htm)).

Tuxfighter9229
26.11.04, 21:23
Die Datei /etc/hostname ist leer? Das ist ebenfalls schlecht. Trag dort bitte den vollständigen Servernamen mit Domain ein (FQDN).


es tut mir leid aber ich blicke da nicht durch also ich habe jetzt in die /etc/hostname
geöfnet und habe da jetzt:

Lalala.no-ip.com


Reingeschrieben einfach so
wahr das richtig
sory für die umstende

Tuxfighter9229
27.11.04, 11:44
Danke für deine mühe
Ein bekannter hat eseben für mich gemacht