Freesco, NND, CDN, EOS

http://www.freesco.pl
Dzisiaj jest sobota, 27 kwietnia 2024, 12:05

Strefa czasowa UTC+2godz.




Nowy temat Odpowiedz w temacie  [ Posty: 4 ] 
Autor Wiadomość
 Tytuł: proftpd !!
Post: piątek, 30 kwietnia 2004, 19:55 
po zainstalowaniu proftpd i skonfigurowaniu, przy probie uruchomienia wyswietla mi sie cos takiego:
: [/] [] ()
root@nnd:/usr/sbin# /usr/sbin/proftpd
 - getaddrinfo 'nnd' error: Name or service not known
 - error: unable to determine IP address of 'nnd'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd.conf'
root@nnd:/usr/sbin#


moj /etc/proftpd.conf wyglada tak :


: [/] [] ()
# This is a basic ProFTPD configuration file.
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "nobody" and "ftp"
# for normal/anonymous operation.

ServerName                      "ftp"
#ServerType                     standalone
ServerType                      inetd
DefaultServer                   on
#ServerIdent                    on ""
AllowRetrieveRestart            on
AllowStoreRestart               on
AllowOverwrite                  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 that the server normally runs at.
User                            nobody
Group                           nogroup

# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off

SystemLog                       /var/log/proftpd.log
TransferLog                     /var/log/xferlog

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite                on
</Directory>
DefaultRoot ~
# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
  RequireValidShell             off
  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
# Ograniczenie transferu w kB
  TransferRate RETR 5
# Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
#  <Directory incoming/*>
#    <Limit READ>
#      DenyAll
#    </Limit>
#
#    <Limit STOR>
#      AllowAll
#    </Limit>
#  </Directory>

</Anonymous>


nie wiem co jest grane :?


aha i oczywiscie dodalem grupe ftp i bałwan jestem ftp


Na górę
  
 
 Tytuł:
Post: piątek, 30 kwietnia 2004, 22:11 
zmień w pliku hosts wpis przy 192.168.1.1 nnd na ftp
albo w proftpd.conf ServerName "ftp" na "nnd"


Na górę
  
 
 Tytuł:
Post: piątek, 30 kwietnia 2004, 22:56 
ej powiedz mi jeszcze gdzie tworzy sie katalog z plikami ktore beda dostepne na ftp ??


Na górę
  
 
 Tytuł:
Post: piątek, 30 kwietnia 2004, 23:33 
jak dodawales uzytkownika ftp to dla tego uzytkownika zostal utworzony katalog najprawdopodobniej /home/ftp i to jest twoj katalog ftp


Na górę
  
 
Wyświetl posty nie starsze niż:  Sortuj wg  
Nowy temat Odpowiedz w temacie  [ Posty: 4 ] 

Strefa czasowa UTC+2godz.


Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 98 gości


Nie możesz tworzyć nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz dodawać załączników

Szukaj:
Przejdź do:  
cron
Technologię dostarcza phpBB® Forum Software © phpBB Group
Hosting: Compus-Net
RobertKonik.pl