Probleme mit FTP Server (proftp) unter Plesk 8.4 (Suse Linux 10.1...)

ottyscom

Member
Hallo

Zunächst einmal sei gesagt ich bin ziemlich neu in sachen Linux und Server. Allerdings kenne ich mich ziemlich mit Plesk aus.

Ich habe einen Virtual Power Server C - Suse Linux 10.1 + Plesk 8.1

Zunächst hatte ich mein Plesk von 8.1 nach und nach auf 8.40 (Die aktuellste Version hochgeschraubt) Alles soweit bestens.

Allerdings stürzte nach x- Zeit der FTP Server (proftp) ab. Das heist weder per IP noch per Domain konnte ich nicht mehr per FTP (Port 21) auf meine Hostings zugreifen. Alle anderen Dienste funktionierten Problemlos. Durch Neustart des Servers konnte ich dieses Problem auch nicht los werden.

Also musste ich durch einen Recovery Punkt das System restaurieren.

Fazit: Es ging dannach wieder alles auch der FTP. Doch nach einem Tag ungefähr wieder dasselbe Problem.


01.) Woran kann das nur liegen? Ich habe keine Lust jedesmal wegen diesem FTP Problem alles neu restaurieren zu müssen.

Ich habe nun mal den Server komplett neuinstallieren lassen und vorerst die Plesk Version nur bis auf 8.2.1 aktualisiert. (Verdacht: das Problem könnte durch die neue Plesk Version 8.4.0 sein)

02.) Ist es Euch bekannt das Plesk 8.4.0 ggf. unstabil ist? Wenn ja bis zu welcher Version empfiehlt ihr mir zu upgraden?

03.) Welche evtl. andere Lösung könnt ihr mir geben wenn mein FTP Server wieder blockiert bzw. abstürzt?

Wohlgemerkt: Der Firewall in Plesk liess den FTP Server korrekt durch. Also andem kann es kaum liegen.

Ich wäre Euch über eine Antwort sehr dankbar

Grüsse

Ottyscom
 
Last edited by a moderator:
Könnte daran liegen dass dir der RAM ausgeht. Was sagt "cat /proc/user_beancounters" ?
 
Sagt folgendes:

[FONT="[FONT="Courier New"]Courier
New"]h1395862:~ # cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
1395862: kmemsize 4225283 4235725 14112433 15523665 0
lockedpages 0 0 7600 8192 0
privvmpages 71926 72026 238528 259324 0
shmpages 15335 15335 262144 262144 0
dummy 0 0 0 0 0
numproc 51 51 396 396 0
physpages 21346 21351 0 2147483647 0
vmguarpages 0 0 132062 2147483647 0
oomguarpages 21346 21351 132062 2147483647 0
numtcpsock 20 20 1000 1000 0
numflock 9 9 400 464 0
numpty 1 1 128 128 0
numsiginfo 0 1 1024 1024 0
tcpsndbuf 199004 199004 5366512 8204912 0
tcprcvbuf 327680 327680 5366512 8204912 0
othersockbuf 48748 48748 3006464 8126464 0
dgramrcvbuf 0 0 480000 524288 0
numothersock 36 36 764 764 0
dcachesize 0 0 5023656 5672656 0
numfile 2061 2061 12864 12864 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 256 256 0
[/FONT]
[/FONT]

Ausserdem scheint der FTPPROD server nicht gestartet zu sein.

Wenn ich ps -aux eingebe kommt folgendes:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 640 284 ? Ss 18:09 0:00 init [3]
root 30220 0.0 0.0 1708 600 ? S<s 18:09 0:00 /sbin/udevd --daemon
100 30434 0.0 0.0 3340 924 ? Ss 18:09 0:00 /usr/bin/dbus-daemon --system
root 30440 0.0 0.1 3136 1588 ? Ss 18:09 0:00 /usr/sbin/hald --daemon=yes --retain-privileges
root 31757 0.0 0.0 1612 688 ? Ss 18:09 0:00 /sbin/syslogd -a /var/lib/named/dev/log
root 31769 0.0 0.0 2968 740 ? S 18:09 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/
root 31771 0.0 0.0 2744 704 ? S 18:09 0:00 /usr/sbin/courierlogger imapd
root 31780 0.0 0.0 2968 740 ? S 18:09 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/
root 31782 0.0 0.0 2744 704 ? S 18:09 0:00 /usr/sbin/courierlogger imapd-ssl
root 31789 0.0 0.0 2968 740 ? S 18:09 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/
root 31796 0.0 0.0 2740 700 ? S 18:09 0:00 /usr/sbin/courierlogger pop3d
root 31799 0.0 0.0 2968 740 ? S 18:09 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/
root 31804 0.0 0.0 2744 704 ? S 18:09 0:00 /usr/sbin/courierlogger pop3d-ssl
root 31812 0.0 0.0 4792 1268 ? Ss 18:09 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root 31819 0.0 0.0 2144 868 ? Ss 18:09 0:00 /usr/sbin/xinetd
named 31876 0.0 0.1 36580 2720 ? Ssl 18:09 0:00 /usr/sbin/named -t /var/lib/named -u named
root 31890 0.0 0.0 2448 1188 ? S 18:09 0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/li
mysql 31929 0.0 0.7 114212 11644 ? Sl 18:09 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --u
qmails 31946 0.0 0.0 1484 380 ? S 18:09 0:00 qmail-send
qmaill 31947 0.0 0.0 1436 460 ? S 18:09 0:00 splogger qmail
root 31948 0.0 0.0 1464 344 ? S 18:09 0:00 qmail-lspawn ./Maildir/
qmailr 31949 0.0 0.0 1460 340 ? S 18:09 0:00 qmail-rspawn
qmailq 31950 0.0 0.0 1432 324 ? S 18:09 0:00 qmail-clean
root 32029 0.2 1.6 27168 25072 ? Ss 18:09 0:02 /usr/sbin/spamd --username=popuser --daemonize --nouser-conf
popuser 32031 0.0 1.5 27168 23732 ? S 18:09 0:00 spamd child
root 32060 0.0 1.1 65900 17776 ? Ss 18:09 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 32061 0.0 0.7 65896 11596 ? S 18:09 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 32062 0.0 0.7 65900 12384 ? S 18:09 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root 32080 0.0 0.3 36236 5316 ? Ss 18:09 0:00 /usr/local/psa/admin/bin/httpsd
psaadm 32084 0.0 0.7 40264 11708 ? S 18:09 0:00 /usr/local/psa/admin/bin/httpsd
root 32117 0.0 0.0 1728 696 ? Ss 18:09 0:00 /usr/sbin/cron
psaadm 32127 0.0 0.1 36236 2648 ? S 18:09 0:00 /usr/local/psa/admin/bin/httpsd
drweb 32129 0.0 1.2 22880 19024 ? Ss 18:09 0:00 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
root 32168 0.0 0.1 9248 2656 ? Ss 18:10 0:00 sshd: root@pts/0
root 32359 0.0 0.1 4364 2076 pts/0 Ss 18:12 0:00 -bash
root 1673 0.0 0.1 9248 2640 ? Ss 18:14 0:00 sshd: root@notty
root 1815 0.0 0.0 4352 1108 ? Ss 18:14 0:00 /usr/lib/ssh/sftp-server
root 3732 0.0 0.1 9388 2680 ? Ss 18:17 0:00 sshd: root@notty
root 4041 0.0 0.0 4464 1476 ? Ss 18:18 0:00 /usr/lib/ssh/sftp-server
root 7757 0.0 0.0 2336 944 pts/0 R+ 18:24 0:00 ps -a -u -x


Wenn ich versuche den proftpd manuell zu sarten sagt er mir das:

- IPv4 getaddrinfo 'h1395862' error: Name or service not known
- warning: unable to determine IP address of 'h1395862'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'


Kannst du mir hiermit weiterhelfen?
 
Folgendermassen:

#
# To have more informations about Proftpd configuration
# look at : The ProFTPD Project: Home
#

# 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 "ProFTPD"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers 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

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /srv/www/vhosts>
GroupOwner psacln
</Directory>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile /etc/group

Include /etc/proftpd.include
 
Und was sagt
Code:
grep -R "h1395862" /etc/*

Außerdem: Was steht in /etc/proftpd.include?
 
Last edited by a moderator:
Back
Top