Jump to content

Recommended Posts

Posted

Целуй день провозился, так и не решил проблемку, может рыл не в том месте.

Вообщем поставил я на фрю 6.2 профтп указаной версии

когда пытаюсь запустить пишет:

 

[root@frya /etc]# proftpd

- IPv4 getaddrinfo 'frya.kiev.oa' error: hostname nor servname provided, or not known

- warning: unable to determine IP address of 'frya.kiev.oa'

- error: no valid servers configured

- Fatal: error processing configuration file '/usr/local//etc/proftpd.conf'

[root@frya /etc]#

 

при попытке зайти по фтп на айпишник фрии выпадает сообщение:

Apr 17 21:45:14 frya proftpd[762]: Fatal: error processing configuration file '/usr/local//etc/profrp.conf

 

когда в настройках sysinstall, сетевого интерфейса поле, где должен быть прописан адрес домена, осталяю пустым, все запускается на ура. НО когда грузится система, на время зависает.

 

может кто сталкивался с таким, плз, помогите советом.

 

 

 

 

 

 

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

ServerType inetd

DefaultServer on

RootLogin 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 nobody

Group nogroup

 

# To cause every FTP user to be "jailed" (chrooted) into their home

# directory, uncomment this line.

#DefaultRoot ~

 

# Normally, we want files to be overwriteable.

AllowOverwrite on

 

# Bar use of SITE CHMOD by default

<Limit SITE_CHMOD>

/usr/local/etc/proftpd.conf: 64 lines, 1911 characters.

[root@frya /etc]# proftpd

- IPv4 getaddrinfo 'frya.kiev.oa' error: hostname nor servname provided, or not known

- warning: unable to determine IP address of 'frya.kiev.oa'

- error: no valid servers configured

- Fatal: error processing configuration file '/usr/local//etc/proftpd.conf'

[root@frya /etc]# vi /usr/local/etc/proftpd.conf

 

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

#ServerType standalone

ServerType inetd

DefaultServer on

RootLogin 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 nobody

Group nogroup

 

# To cause every FTP user to be "jailed" (chrooted) into their home

# directory, uncomment this line.

#DefaultRoot ~

 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.