RE: proftpd problem mit ip vom server - hYper - 02-07-2008 03:42 AM
hm habe antem das gleiche problem aber alles so gemacht wie oben geschrieben:
etc/hosts
# 'hosts' file configuration.
127.0.0.1 server1.exequtive.de.local localhost
89.238.66.251 server1.exequtive.de server1
::ffff:89.238.66.251 server1.exequtive.de server1
::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
---------------------------------------------------------------
etc/hostname
server1.exequtive.de
kann mir einer helfen?
RE: [ERLEDIGT] proftpd problem mit ip vom server - joximu - 02-07-2008 06:31 AM
Hallo Leute
wenn ihr schreibt "ich habe das gleiche Problem" dann löst es doch auf die gleiche Art.
in der proftpd.conf muss man den Hostnamen (full qualified bitte) angeben und der muss natürlich aufgelöst werden können.
Ein
Code:
ServerName "{HOST_NAME}"
deutet nur auf ein nicht vollständiges ispcp-setup hin.
Gruss J
RE: [ERLEDIGT] proftpd problem mit ip vom server - hYper - 02-07-2008 06:43 AM
naja schön wärs xD kein plan warum es nicht geht
er zeigt jetzt auch keine fehler mehr bsi auf das hier an:
Verbunden mit server1.exequtive.de. Warten auf Willkommens-Meldung...
Fehler: Verbindung getrennt
Fehler: Verbindung kann nicht hergestellt werden!
RE: [ERLEDIGT] proftpd problem mit ip vom server - joximu - 02-07-2008 07:19 AM
Da musst du in den Logs mehr Infos finden. Oder starte proftpd mit debug ausgaben (suchfunktion hier benutzen...)
RE: [ERLEDIGT] proftpd problem mit ip vom server - Zero-one - 02-07-2008 07:30 AM
joximu Wrote:Ein
Code:
ServerName "{HOST_NAME}"
deutet nur auf ein nicht vollständiges ispcp-setup hin.
/etc/proftpd/proftpd.conf
Code:
ServerName "sys.domain.com"
/etc/ispcp/proftpd/proftpd.conf
Code:
ServerName "{HOST_NAME}"
Das ist glaub ich nur eine Variable, aber habs mal editiert in sys.domain.com. Hat aber leider nichts gebracht.
Aber proftpd findet die Server IP nicht:
Code:
sys:~# proftpd -n -d5
sys.domain.com - Failed binding to 0.0.0.0, port 21: Address already in use
sys.domain.com - Check the ServerType directive to ensure you are configured correctly.
Aber meine Domaine ist eigentlich überall richtig drin.
RE: [ERLEDIGT] proftpd problem mit ip vom server - joximu - 02-07-2008 07:34 AM
"host sys.domain.com" löst das auf den eigenen Server auf?
"lsof -i -P -T" - gibt's noch anderes auf Port 21?
RE: [ERLEDIGT] proftpd problem mit ip vom server - rbtux - 02-07-2008 07:35 AM
poste doch mal die ganze konfig... und bevor du uim debug modus startest musst du natürlich die bereits laufenden prozesse stoppen...
RE: [ERLEDIGT] proftpd problem mit ip vom server - Zero-one - 02-07-2008 08:00 AM
sys.domain.com hab ich mit einen A Eintrag auf meine IP (meine Domaine hab ich gegen domain ersetzt, weil ich meinen Server erst absichern muss)
Hier die Konfig von /etc/proftpd/proftpd.conf
Code:
#
# ispCP OMEGA ProFTPd config file
#
#
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include /etc/proftpd/modules.conf
ServerName "sys.domain.com"
ServerType standalone
DeferWelcome off
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
UseReverseDNS off
IdentLookups off
AllowStoreRestart on
AllowForeignAddress on
LogFormat traff "%b %u"
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir message
#LsDefaultOptions "-l"
DenyFilter \*.*/
DefaultRoot ~
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Port 21 is the standard FTP port.
Port 21
# 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
# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
AllowOverwrite on
HideNoAccess on
</Directory>
<Limit ALL>
IgnoreHidden on
</Limit>
<Global>
RootLogin off
TransferLog /var/log/proftpd/xferlog
ExtendedLog /var/log/proftpd/ftp_traff.log read,write traff
PathDenyFilter "\.quota$"
</Global>
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
#
# ISPCP Managment;
#
SQLBackend mysql # enable for proFTPd >= 1.3
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo ispcp@localhost vftp m0@\KM>#FQG6c7,G.3bdELer%UtZH4hn;[NL+Pvd
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinID 2000
#
# ISPCP Quota management;
#
QuotaEngine on
QuotaShowQuotas on
QuotaDisplayUnits Mb
SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies
QuotaLock /var/run/proftpd/tally.lock
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally
#
# SSL via TLS
#
#<IfModule mod_tls.c>
# TLSEngine off # on for use of TLS
# TLSLog /var/log/proftpd/ftp_ssl.log # where to log to
# TLSProtocol SSLv23 # SSLv23 or TLSv1
# TLSOptions NoCertRequest # either to request the certificate or not
# TLSRSACertificateFile /etc/proftpd/ssl.crt # SSL certfile
# TLSRSACertificateKeyFile /etc/proftpd/ssl.key # SSL keyfile
# TLSVerifyClient off # client verification
#</IfModule>
und Debug:
Code:
sys:~# /etc/init.d/proftpd stop
Stopping ftp server: proftpd.
sys:~# proftpd -n -d5
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd/proftpd.conf' configuration
- parsing '/etc/proftpd/modules.conf' configuration
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using 'mod_delay.c' section at line 83
sys.domain.com -
sys.domain.com - Config for sys.domain.com:
sys.domain.com - Limit
sys.domain.com - IgnoreHidden
sys.domain.com - /*
sys.domain.com - Umask
sys.domain.com - DirUmask
sys.domain.com - AllowOverwrite
sys.domain.com - HideNoAccess
sys.domain.com - ShowSymlinks
sys.domain.com - AllowStoreRestart
sys.domain.com - AllowForeignAddress
sys.domain.com - DisplayLogin
sys.domain.com - DisplayFirstChdir
sys.domain.com - DenyFilter
sys.domain.com - SQLAuthTypes
sys.domain.com - SQLAuthenticate
sys.domain.com - SQLConnectInfo
sys.domain.com - SQLMinID
sys.domain.com - SQLNamedQuery_get-quota-limit
sys.domain.com - SQLNamedQuery_get-quota-tally
sys.domain.com - SQLNamedQuery_update-quota-tally
sys.domain.com - SQLNamedQuery_insert-quota-tally
sys.domain.com - RootLogin
sys.domain.com - TransferLog
sys.domain.com - PathDenyFilter
sys.domain.com - DeferWelcome
sys.domain.com - ShowSymlinks
sys.domain.com - DefaultServer
sys.domain.com - ShowSymlinks
sys.domain.com - AllowOverwrite
sys.domain.com - IdentLookups
sys.domain.com - AllowStoreRestart
sys.domain.com - AllowForeignAddress
sys.domain.com - TimeoutNoTransfer
sys.domain.com - TimeoutStalled
sys.domain.com - TimeoutIdle
sys.domain.com - DisplayLogin
sys.domain.com - DisplayFirstChdir
sys.domain.com - DenyFilter
sys.domain.com - DefaultRoot
sys.domain.com - UserID
sys.domain.com - UserName
sys.domain.com - GroupID
sys.domain.com - GroupName
sys.domain.com - DelayEngine
sys.domain.com - SQLBackend
sys.domain.com - SQLAuthTypes
sys.domain.com - SQLAuthenticate
sys.domain.com - SQLConnectInfo
sys.domain.com - SQLUserTable
sys.domain.com - SQLUsernameField
sys.domain.com - SQLPasswordField
sys.domain.com - SQLUidField
sys.domain.com - SQLGidField
sys.domain.com - SQLHomedirField
sys.domain.com - SQLShellField
sys.domain.com - SQLGroupTable
sys.domain.com - SQLGroupnameField
sys.domain.com - SQLGroupGIDField
sys.domain.com - SQLGroupMembersField
sys.domain.com - SQLMinID
sys.domain.com - QuotaEngine
sys.domain.com - QuotaShowQuotas
sys.domain.com - QuotaDisplayUnits
sys.domain.com - SQLNamedQuery_get-quota-limit
sys.domain.com - SQLNamedQuery_get-quota-tally
sys.domain.com - SQLNamedQuery_update-quota-tally
sys.domain.com - SQLNamedQuery_insert-quota-tally
sys.domain.com - QuotaLock
sys.domain.com - QuotaLimitTable
sys.domain.com - QuotaTallyTable
sys.domain.com - RootLogin
sys.domain.com - TransferLog
sys.domain.com - ExtendedLog
sys.domain.com - PathDenyFilter
sys.domain.com - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
sys.domain.com - ProFTPD 1.3.0 (stable) (built mar gen 2 10:57:47 CET 2007) standalone mode STARTUP
Ich werde jetzt mal in der DNS die Einträge enfernen und neu erstellen, vielleicht liegt da der Fehler.
RE: [ERLEDIGT] proftpd problem mit ip vom server - rbtux - 02-07-2008 08:02 AM
wieso stops du postfix (smtp port 25) und nicht proftpd (ftp port 21)??
dann würde auch der port frei...
RE: [ERLEDIGT] proftpd problem mit ip vom server - joximu - 02-07-2008 08:07 AM
es gibt Leute hier, die meinen, dass sie nicht mitdenken müssen...
|