-
#1
Hi, I’m all new and try to find a solution.
I’m not a admin pro but feel comfortable.
We are small enterprise and lease/rent server by strato for 5 years.
Until a few days I had suse + Plesk Panel 9.3
After several days waiting, incl. HDD exchange, 1 IP not working, second IP would not be taken from Plesk 10.2 (all stuff we had for over 5 years pin prior setup) etc I did today new installation #5 to system below
Now I have:
Hostname blablablabla.intl
IP address xx.xxx.xx.xxx
OS Ubuntu 12.04 LTS
Panel version 11.0.9 Update #18
Support by Strato is below anything I ever experienced so I hope somebody here can send me to the right place to find instruction what to do.
I have SSH Explorer client and of course root access
With the version before I would ad domains, config it and could after that login with my FileZilla client to start transfer of files as needed.
Now after configuration of domain in My Webspaces when try this I get in FileZilla:
blablablabla.intl proftpd[13619]: error: no valid servers configured
Under Tools& Settings >> Parallels Plesk Panel Components Management I find:
psa-proftpd 1.3.4a — ubuntu12.04.build110120606.19
Under Service Management I have:
Web Server (Apache)
SMTP Server (Postfix)
IMAP/POP3 Server (Courier-IMAP)
DNS Server (BIND)
Tomcat Java
ColdFusion (Not configured)
PostgreSQL
SpamAssassin
Parallels Premium Antivirus
Kaspersky Antivirus
Plesk milter (Postfix)
Reverse Proxy Server (nginx) (I disabled that as in plesk documantation said, I just wanted to run Apache and dont have another component to digg with)
Can somebody point me in the right direction to find a solution for the problem??
Sorry about my poor english writing, aint my first lingo
-
#2
Usually this error occurs due to missing entry for server hostname in «/etc/hosts» file.
Check that you have this record according to output ‘hostname’ command. For example:
# hostname
ppu11-1.demo.pp.plesk.ru
# cat /etc/hosts | grep ppu11-1.demo.pp.plesk.ru
10.58.165.199 ppu11-1.demo.pp.plesk.ru ppu11-1
-
#3
Thank you very much — that did it!!
I add both IP’s with the hostname in the hosts file and ftp work
When starting the server this error is returned
Starting ftp server: proftpd2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: warning: unable to determine IP address of 'web-amd-3700-2gb'
2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: error: no valid servers configured
2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
failed!
/etc/proftpd/proftpd.conf
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#
# Includes DSO modules
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off
# If set on you can experience a longer connection delay in many cases.
IdentLookups off
ServerName "Debian"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter *.*/
# Use this to jail all users in their homes
# DefaultRoot ~
# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off
# Port 21 is the standard FTP port.
Port 21
# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534
# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4
# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>
# 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 proftpd
Group nogroup
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd off
# This is required to use both PAM-based authentication and local passwords
# AuthOrder mod_auth_pam.c* mod_auth_unix.c
# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
# UseSendFile off
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
# Logging onto /var/log/lastlog is enabled but set to off by default
#UseLastlog on
# In order to keep log file dates consistent after chroot, use timezone info
# from /etc/localtime. If this is not set, and proftpd is configured to
# chroot (e.g. DefaultRoot or <Anonymous>), it will use the non-daylight
# savings timezone regardless of whether DST is in effect.
#SetEnv TZ :/etc/localtime
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
# Delay engine reduces impact of the so-called Timing Attack described in
# http://www.securityfocus.com/bid/11430/discuss
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
#Include /etc/proftpd/sql.conf
#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf
#
# Useful to keep VirtualHost/VirtualRoot directives separated
#
#Include /etc/proftpd/virtuals.conf
# A basic anonymous configuration, no upload directories.
# <Anonymous ~ftp>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # 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
# DisplayChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>
# Include other custom configuration files
Include /etc/proftpd/conf.d/
ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:6b:3c:61:b9
inet addr:88.198.61.237 Bcast:88.198.61.255 Mask:255.255.255.224
inet6 addr: fe80::211:6bff:fe3c:61b9/64 Scope:Link
inet6 addr: 2a01:4f8:131:2a::2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44239400 errors:375 dropped:391 overruns:375 frame:0
TX packets:41717433 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12419358975 (11.5 GiB) TX bytes:16170232918 (15.0 GiB)
Interrupt:17 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:19799205 errors:0 dropped:0 overruns:0 frame:0
TX packets:19799205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3252682909 (3.0 GiB) TX bytes:3252682909 (3.0 GiB)
hostname
web-amd-3700-2gb
cat /etc/hosts
### Hetzner Online AG installimage
# nameserver config
# IPv4
127.0.0.1 localhost
88.198.61.237 Debian-70-wheezy-64-minimal
#
# IPv6
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
2a01:4f8:131:2a::2 Debian-70-wheezy-64-minimal
I have a problem with proftpd and I have this message :
Do you have an idea to resolve this problem.
The problem start after an update of ubuntu
2016-04-05 14:26:40,722 mydomain_mydomain.no-ip.biz proftpd[5376]: warning: unable to determine IP address of 'mydomain_mydomain.no-ip.biz'
2016-04-05 14:26:40,722 mydomain_mydomain.no-ip.biz proftpd[5376]: error: no valid servers configured
2016-04-05 14:26:40,722 mydomain_mydomain.no-ip.biz proftpd[5376]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
this synthaxe is weerd : mydomain_mydomain.no-ip.biz
ifconfig
enp2s0 Link encap:Ethernet HWaddr 00:e0:4c:68:31:b2
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
enp3s0 Link encap:Ethernet HWaddr 00:e0:4c:68:31:b3
inet adr:192.168.0.101 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::2e0:4cff:fe68:31b3/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:65868 erreurs:0 :0 overruns:0 frame:0
TX packets:51527 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:46464848 (46.4 MB) Octets transmis:6390833 (6.3 MB)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
Packets reçus:5307 erreurs:0 :0 overruns:0 frame:0
TX packets:5307 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1
Octets reçus:557770 (557.7 KB) Octets transmis:557770 (557.7 KB)
vi /etc/hostname
computername
mydomain.no-ip.biz
vi /etc/hosts
127.0.0.1 localhost
127.0.1.1 computername
127.0.0.1 mydomain.no-ip.biz
192.168.0.137 mydomain.no-ip.biz
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
#fe80::2e0:4cff:fe68:31b3 mydomain.no-ip.biz
my proftpd config
ServerType standalone
DefaultServer on
Umask 022
ServerName "0.0.0.0"
ServerIdent on "My FTP Server"
ServerAdmin email@example.org
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 220
TransferRate STOR 250
TransferRate STOU 250
TransferRate APPE 250
SystemLog /var/log/secure
RequireValidShell off
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol SSLv23
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
TLSOptions AllowClientRenegotiation
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
AllowUser local_test
DenyALL
</Limit>
<Anonymous /var/www>
User local_test
Group www-data
AnonRequirePassword on
MaxClients 10 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayChdir .msg
<Limit LOGIN>
Allow from All
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE_CHMOD MTDM PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit SITE SITE_CHGRP >
DenyAll
</Limit>
</Anonymous>
Модератор: Bizdelnick
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
proftpd
При попытке запустить сий серв получаю ошибку:
Код: Выделить всё
- getaddrinfo 'Comp31' error: Name or service not known
- warning: unable to determine IP address of 'Comp31'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Что не так с конфигурацией и IP?
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 13.03.2006 16:16
а что это за Comp31 ?
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 13.03.2006 16:35
тогда наверное в /etc/proftpd/proftpd.conf надо написать что Comp31 это 127.0.0.1 или ИП сетевой карты свей туда впиши.
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 13.03.2006 16:57
killdos писал(а): ↑
13.03.2006 16:35
тогда наверное в /etc/proftpd/proftpd.conf надо написать что Comp31 это 127.0.0.1 или ИП сетевой карты свей туда впиши.
Ага… Ещё бы знать какой опцией…
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 13.03.2006 17:23
а что говорит proftpd -t -c /etc/proftpd/proftpd.conf ?
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 13.03.2006 17:25
killdos писал(а): ↑
13.03.2006 17:23
а что говорит proftpd -t -c /etc/proftpd/proftpd.conf ?
Почти тоже самое…
Код: Выделить всё
Checking syntax of configuration file
- getaddrinfo 'Comp31' error: Name or service not known
- warning: unable to determine IP address of 'Comp31'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 13.03.2006 17:37
а в /etc/hosts написано про Comp31 ?
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 13.03.2006 17:47
killdos писал(а): ↑
13.03.2006 17:37
а в /etc/hosts написано про Comp31 ?
Теперь да… И кажется ситуация меняется…
Запустился… Теперь с анонимным логином проблемы, но тут думаю гуглЪ поможет…
Всём спасибо!!! B)
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 13.03.2006 21:35
Хм… Ну вроде бы заработало… Пускаю пользователя user с паролем в его домашниу каталог /home/user И такая ситуёвина: заходя на ФТП вижу все скрытые файлы каталога /home/user, а не хотелось бы…
Как быть?
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 14.03.2006 10:14
Настроить фтп клиент так чтобы он не показывал скрытые файлы. Вот для винды, например, файлы, имя которых начинается с точки, скрытыми не являются и с ней что хочешь делай, всё равно покажет.
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 14.03.2006 13:22
killdos писал(а): ↑
14.03.2006 10:14
Настроить фтп клиент так чтобы он не показывал скрытые файлы. Вот для винды, например, файлы, имя которых начинается с точки, скрытыми не являются и с ней что хочешь делай, всё равно покажет.
Мысль понял… Смотрю как раз с винды Тоталкомандером…
И ещё 1 глупый вопрос… Как заставить мой линуксь сервер пускать анонимного пользователя на ФТП с правами чтения/записи в любой каталог (ну типа рута на линуксе)… За безопасность не волнуюсь — сеть всего из 2-х компов и оба мои…
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 14.03.2006 14:19
скорее всего профтпд ни как не заставить. а зачем нужен профтпд если сеть из 2-х компов и нужен полный анонимный доступ?
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 14.03.2006 16:47
killdos писал(а): ↑
14.03.2006 14:19
скорее всего профтпд ни как не заставить. а зачем нужен профтпд если сеть из 2-х компов и нужен полный анонимный доступ?
Хм… Просто ничего проще (для себя) чем FTP протокол для обмена файлами между Linux и Windows машиной я не нашёл…
А что ещё можно попробовать?
-
diesel
- Бывший модератор
- Сообщения: 5989
- ОС: OS X, openSuSE, ROSA, Debian
- Контактная информация:
Re: proftpd
Сообщение
diesel » 14.03.2006 16:56
Mati_maniak писал(а): ↑
14.03.2006 16:47
killdos писал(а): ↑
14.03.2006 14:19
скорее всего профтпд ни как не заставить. а зачем нужен профтпд если сеть из 2-х компов и нужен полный анонимный доступ?Хм… Просто ничего проще (для себя) чем FTP протокол для обмена файлами между Linux и Windows машиной я не нашёл…
А что ещё можно попробовать?
SAMBA?
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 14.03.2006 17:18
diesel писал(а): ↑
14.03.2006 16:56
Mati_maniak писал(а): ↑
14.03.2006 16:47
killdos писал(а): ↑
14.03.2006 14:19
скорее всего профтпд ни как не заставить. а зачем нужен профтпд если сеть из 2-х компов и нужен полный анонимный доступ?Хм… Просто ничего проще (для себя) чем FTP протокол для обмена файлами между Linux и Windows машиной я не нашёл…
А что ещё можно попробовать?
SAMBA?
Слышал я про такую зверушку… Но неужели ФТП нельзя так настроить?
-
killdos
- Сообщения: 187
- Статус: Cклеротик
- ОС: FreeBSD, NetBSD, винда
Re: proftpd
Сообщение
killdos » 14.03.2006 18:35
можно. но не профтпд. в дистре должны быть ещё фтп серверы.
«UNIX is simple and coherent…» (c) Dennis Ritchie, «GNU’s Not UNIX» (c) Richard Stallman
-
KiWi
- Бывший модератор
- Сообщения: 2521
- Статус: статус, статус, статус
-
Контактная информация:
Re: proftpd
Сообщение
KiWi » 14.03.2006 18:54
Mati_maniak писал(а): ↑
14.03.2006 13:22
И ещё 1 глупый вопрос… Как заставить мой линуксь сервер пускать анонимного пользователя на ФТП с правами чтения/записи в любой каталог (ну типа рута на линуксе)… За безопасность не волнуюсь — сеть всего из 2-х компов и оба мои…
ну и делай, чтобы Anonymous в реальной системе был root’ом
Код: Выделить всё
RequireValidShell off
AuthPAM off
AuthPAMConfig ftp
<Anonymous />
User root
Group root
UserAlias anonymous root
<Directory *>
<Limit READ WRITE>
AllowAll
</Limit>
</Directory>
</Anonymous>
-
Nightwolf_ng
- Сообщения: 1483
- Статус: Участнег
- ОС: Женько и семёрко
Re: proftpd
Сообщение
Nightwolf_ng » 14.03.2006 19:23
IFL писал(а): ↑
14.03.2006 18:54
ну и делай, чтобы Anonymous в реальной системе был root’ом
Код: Выделить всё
RequireValidShell off AuthPAM off AuthPAMConfig ftp <Anonymous /> User root Group root UserAlias anonymous root <Directory *> <Limit READ WRITE> AllowAll </Limit> </Directory> </Anonymous>
Хм… Ругается, гадость такая… Как раз на строчку «<Anonymous />»
Код: Выделить всё
- Fatal: <Anonymous>: '/' not permitted for anonymous root directory. on line 40 of '/etc/proftpd/proftpd.conf'
