Current time: 11-24-2024, 01:55 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
proftpd
Author Message
Scrudj Offline
Junior Member
*

Posts: 15
Joined: Oct 2009
Reputation: 0
Post: #1
proftpd
При старте выдает такую ошибку, как быть?
Code:
Starting ftp server: proftpd
- processing configuration directory '/etc/proftpd/ispcp'
- warning: unable to determine IP address of 'hosting'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
failed!

Попробовал команду proftpd -t выдало тожесамое:

Code:
Checking syntax of configuration file
- processing configuration directory '/etc/proftpd/ispcp'
- warning: unable to determine IP address of 'hosting'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
нечего не понимаю!
помогите! help me!!!
(This post was last modified: 10-05-2009 03:44 AM by Scrudj.)
10-05-2009 02:58 AM
Find all posts by this user Quote this message in a reply
Scrudj Offline
Junior Member
*

Posts: 15
Joined: Oct 2009
Reputation: 0
Post: #2
RE: proftpd
вот еще попробовал вот какую комманду proftpd -n -d 9 -c /etc/proftpd/proftpd.conf выдало:
Code:
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- disabling runtime support for IPv6 connections
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using '!mod_sql.c' section at line 108
- <IfModule>: using '!mod_sql_mysql.c' section at line 112
- <IfModule>: skipping '!mod_quotatab.c' section at line 115
- <IfModule>: using '!mod_quotatab_sql.c' section at line 118
- <IfModule>: using 'mod_quotatab.c' section at line 139
- <IfModule>: skipping 'mod_ratio.c' section at line 154
- <IfModule>: using 'mod_delay.c' section at line 161
- <IfModule>: using 'mod_ctrls.c' section at line 165
- <IfModule>: using 'mod_ctrls_admin.c' section at line 173
- processing configuration directory '/etc/proftpd/ispcp'
- <Directory ~/backups>: deferring resolution of path
- <Directory ~/backups/*>: deferring resolution of path
- <Directory ~/cgi-bin>: deferring resolution of path
- <Directory ~/cgi-bin/*>: deferring resolution of path
- <Directory ~/htdocs>: deferring resolution of path
- <Directory ~/htdocs/*>: deferring resolution of path
- <Directory ~/errors>: deferring resolution of path
- <Directory ~/errors/*>: deferring resolution of path
- <Directory ~/logs>: deferring resolution of path
- <Directory ~/logs/*>: deferring resolution of path
- <Directory ~/phptmp>: deferring resolution of path
- <Directory ~/phptmp/*>: deferring resolution of path
- <Directory ~/statistics>: deferring resolution of path
- <Directory ~/statistics/*>: deferring resolution of path
- warning: unable to determine IP address of 'hosting'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'

HELP ME!
вот еще команда: proftpd -l
Code:
Compiled-in modules:
  mod_core.c
  mod_xfer.c
  mod_auth_unix.c
  mod_auth_file.c
  mod_auth.c
  mod_ls.c
  mod_log.c
  mod_site.c
  mod_delay.c
  mod_dso.c
  mod_auth_pam.c
  mod_readme.c
  mod_cap.c
  mod_ctrls.c
  mod_lang.c
(This post was last modified: 10-05-2009 04:54 AM by Scrudj.)
10-05-2009 04:19 AM
Find all posts by this user Quote this message in a reply
Scrudj Offline
Junior Member
*

Posts: 15
Joined: Oct 2009
Reputation: 0
Post: #3
RE: proftpd
Решение было найдено господином WeBBeR за что ему отдельное спасибо!

в общем так находим файл:
Code:
~# /etc/hostname

открываем и смотрим что там написано, а написано должно быть следующее:
Code:
!!!имя домена который вы указали при установке!!!

потом находим вот этот файл:
Code:
# /etc/mailname

прописываем то что и hostname.

И в заключении проделываем вот это:
Code:
~# /etc/init.d/hostname.sh stop
~# /etc/init.d/hostname.sh start
готово! проверяем Smile
(This post was last modified: 10-05-2009 10:55 PM by Scrudj.)
10-05-2009 10:53 PM
Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #4
RE: proftpd
эттого просто и не надо было делать.достаточно почитать про опции для proftpd на оффсайте и вписать в конфиг следущую опцию
Code:
DefaultAddress   192.168.1.1
(This post was last modified: 10-14-2009 01:51 AM by server801.)
10-14-2009 01:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
nadim Offline


Posts: 4
Joined: Oct 2009
Reputation: 0
Post: #5
RE: proftpd
Помогите в настроке FTP!
ispCP 1.0.3 OMEGA
build: 20090823
Codename: Orpheus

Помогите запусть FTP:
* Starting ftp server proftpd
- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
- Fatal: unknown configuration directive 'SQLAuthTypes' on line 166 of '/etc/proftpd/proftpd.conf'
10-14-2009 08:46 PM
Find all posts by this user Quote this message in a reply
WeBBeR Offline
Newbie
*

Posts: 7
Joined: Oct 2009
Reputation: 0
Post: #6
RE: proftpd
[quote='nadim' pid='64040' dateline='1255517173']
Помогите в настроке FTP!
ispCP 1.0.3 OMEGA
build: 20090823
Codename: Orpheus

По какой документации ставили? Какая ОС?
10-14-2009 11:31 PM
Find all posts by this user Quote this message in a reply
nadim Offline


Posts: 4
Joined: Oct 2009
Reputation: 0
Post: #7
RE: proftpd
Ставил на Ubuntu 9.04 server по документауии с папки 'docs' - для этой версии (All 9.04 required packages are listed in ./docs/Ubuntu/ubuntu-packages-jaunty ).
По инструкции с сайта http://www.tux.in.ua/articles/1056 (ispCP: решение для управления виртуальными сервисами).
ispcp-omega-trunk-20091009.tar.bz2
10-14-2009 11:54 PM
Find all posts by this user Quote this message in a reply
WeBBeR Offline
Newbie
*

Posts: 7
Joined: Oct 2009
Reputation: 0
Post: #8
RE: proftpd
Приведите листинг /etc/proftpd/proftpd.conf
А так же листинг выполнения команды: /usr/sbin/proftpd -l
(This post was last modified: 10-15-2009 07:18 PM by WeBBeR.)
10-15-2009 07:00 PM
Find all posts by this user Quote this message in a reply
nadim Offline


Posts: 4
Joined: Oct 2009
Reputation: 0
Post: #9
RE: proftpd
(10-15-2009 07:00 PM)WeBBeR Wrote:  Приведите листинг /etc/proftpd/proftpd.conf
А так же листинг выполнения команды: /usr/sbin/proftpd -l
Листинг выполнения команды: /usr/sbin/proftpd -l
root@webserver:~# /usr/sbin/proftpd -l
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_delay.c
mod_dso.c
mod_auth_pam.c
mod_readme.c
mod_cap.c
mod_ctrls.c
mod_lang.c

Листинг proftpd.conf в Attachment (/etc/proftpd/proftpd.conf)


Attached File(s)
.txt  proftpd.txt (Size: 7.52 KB / Downloads: 18)
(This post was last modified: 10-18-2009 06:09 AM by nadim.)
10-18-2009 06:06 AM
Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #10
RE: proftpd
да закомменьте и все!эта опция вообщем то и не особо нужна.а если нужна,то
Code:
DisplayChdir               .message
другую просто закомменть.
Quote:### We want 'welcome.msg' displayed at login, and '.message' displayed
### in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
можно допилить кое что,вот с фревой машины кусок
Quote:ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
ScoreboardFile /var/run/proftpd/proftpd.scoreboard
ServerIdent on "Мой домашний сервер"
# Port 21 is the standard FTP port.
Port 21
# Use IPv6 support by default.
#UseIPv6 on
###########
# вывод приветствия после успешного входа
AccessGrantMsg "Добро пожаловать!!!"
# идентификация
ServerIdent on "Мой домашний сервер"
###########
MaxClients 8 "Достигнут предел на количество клиентов"
MaxClientsPerHost 8 "Достигнут предел на количество клиентов с Вашего хоста"
MaxClientsPerUser 8 "Достигнут предел на количество подключений (%m)"
MaxHostsPerUser 8 "Больше нельзя"
MaxLoginAttempts 5 "Количество попыток входа исчерпано - придется подождать, ничего не поделаешь, безопасность превыше всего"
##########
ShowSymlinks off
TimeoutNoTransfer 600
TimeoutStalled 100
TimeoutIdle 2200
RequireValidShell off
RootLogin off
# Allow to restart a download
AllowStoreRestart on
(This post was last modified: 10-18-2009 07:15 PM by server801.)
10-18-2009 06:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)