ispCP - Board - Support
proftpd will einfach nicht laufen - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: proftpd will einfach nicht laufen (/thread-7571.html)

Pages: 1 2


proftpd will einfach nicht laufen - xater - 08-21-2009 10:11 AM

Hallo zusammen,

ich habe ein neues Debian Lenny draufgespielt und danach gleich ispCP. Alles funktioniert außer leider der FTP Server. Ich habe für euch folgenden ausschnitt:

Code:
vadmin38:~# proftpd -n -d5
- 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 111
- <IfModule>: skipping '!mod_quotatab.c' section at line 114
- <IfModule>: using '!mod_quotatab_sql.c' section at line 117
- <IfModule>: using 'mod_quotatab.c' section at line 138
- <IfModule>: skipping 'mod_ratio.c' section at line 153
- <IfModule>: using 'mod_delay.c' section at line 160
- <IfModule>: using 'mod_ctrls.c' section at line 164
- <IfModule>: using 'mod_ctrls_admin.c' section at line 172
- processing configuration directory '/etc/proftpd/ispcp'
- <Directory /var/www/virtual/mz-electronics.de/img/backups>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/backups/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/cgi-bin>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/cgi-bin/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/htdocs>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/htdocs/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/errors>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/errors/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/logs>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/logs/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/phptmp>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/phptmp/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/statistics>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/img/statistics/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/backups>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/backups/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/cgi-bin>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/cgi-bin/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/htdocs>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/htdocs/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/errors>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/errors/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/logs>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/logs/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/phptmp>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/phptmp/*>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/statistics>: deferring resolution of path
- <Directory /var/www/virtual/mz-electronics.de/order/statistics/*>: deferring resolution of path
- <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 'vadmin38'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
vadmin38:~# apt-get install proftpd-mod-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
proftpd-mod-mysql is already the newest version.
proftpd-mod-mysql set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
vadmin38:~# nano /etc/proftpd/modules.conf
vadmin38:~# /etc/init.d/proftpd start
Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'
- warning: unable to determine IP address of 'vadmin38'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
failed!
vadmin38:~#

Vielen Dank bereits für eure Hilfe.
Hier noch ein Auszug aus der Proftpd:

Code:
ServerName                 "mz-electronics.de"
ServerType                 standalone
DeferWelcome               off

MultilineRFC2228           on
DefaultServer              on
ShowSymlinks               on

AllowOverwrite             on
UseReverseDNS              off
IdentLookups               off
AllowStoreRestart          on
AllowForeignAddress        on

Und hier noch die IP:
Code:
vadmin38:~# cat /etc/hosts && cat /etc/hostname
# 'hosts' file configuration.

127.0.0.1       mz-electronics.de.local localhost
80.190.140.111  mz-electronics.de       mz-electronic
::ffff:80.190.140.111   mz-electronics.de       mz-electronic
::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

Ich hoffe mit den Infos fällt euch was ein... Wäre auf jeden Fall mal toll... ;-)


RE: proftpd will einfach nicht laufen - gOOvER - 08-21-2009 01:13 PM

Du hast ispCP aber schon Schritt für Schritt nach dem englischen Installguide installiert.

Quote:- warning: unable to determine IP adress of vadmin38



RE: proftpd will einfach nicht laufen - joximu - 08-21-2009 05:17 PM

Und wieder einer, der Domain und Hostname verwechselt.

ServerName "mz-electronics.de"

80.190.140.111 mz-electronics.de mz-electronic


seltsam ist nur, dass du im hostfile einen anderen host (äh, hier domain) namen drin hast als im Prompt und als proftpd meint.

Hast du mal die Maschine neu gestartet, seitdem du den Hostnamen (äh Domainnamen) gegeben hast.

Und pass auf: du wirst deinen Domainnamen nicht als virtuellen domain nutzen können.

Mehr dazu in den Foren.

/J


RE: proftpd will einfach nicht laufen - xater - 08-21-2009 06:40 PM

Ja was kann ich denn jetzt effektiv machen damit es wieder geht? Bitte helft mir... :-(


RE: proftpd will einfach nicht laufen - joximu - 08-21-2009 06:46 PM

mir Antwort geben auf meine Frage. Hab zwar kein ? gesetzt, aber ne Frage gestellt.


RE: proftpd will einfach nicht laufen - xater - 08-21-2009 06:49 PM

Oh entschuldige bitte. Ja, ich habe die Maschine neugestartet.... Aber geht leider trotzdem nicht...


RE: proftpd will einfach nicht laufen - joximu - 08-21-2009 07:01 PM

Hast du immernoch "vadmin38:~#" als Prompt?

Dann sollte der Hostname nochmals besser gesetzt werden.
Vielleicht ist das auch noch der Punkt, wo du doch noch korrigieren kannst, was bisher falsch lief: Denk dir einen FQDN als Hostnamen aus, also was vor dem Domainnamen.

Im einfachsten Fall vadmin38.mz-electronics.de

Wichtig: Der Hostname muss im Netz auflösbar sein, am besten sogar, wenn die IP auf diesen Namen Rück-Auflöst.
Und dann entwedr die ispcp Konfig korrigieren oder nochmals installieren.

cat /etc/hostname

/J


RE: proftpd will einfach nicht laufen - xater - 08-21-2009 07:18 PM

Auf gut deutsch am besten nochmal schnell neu installieren und das vadmin38 als hostname nehmen? Dann müsste es gehen oder wie?


RE: proftpd will einfach nicht laufen - joximu - 08-21-2009 07:52 PM

kommt drauf an...

aber es scheint, als ob dieser Name vadmin38.mz-electronics.de (das als FQDN eingeben) auf deine IP aufgelöst wird. Damit sollte es also klappen.

Als ispcp-URL kannst du immernoch was anderes nehmen - zB. adminpanel.mz-electronics.de oder so...

Gruss
J


RE: proftpd will einfach nicht laufen - xater - 08-21-2009 08:39 PM

Kann ich als Hostname auch mz-electronics.de verwenden?