vserver nicht erreichbar

in der proftpd steht:
# default: off
# description: proftpd server, xinetd version. \
# Don't run the standalone version if you run \
# this!
#service ftp
#{
# disable = no
# socket_type = stream
# wait = no
# user = root
# server = /usr/sbin/in.ftpd
# log_on_success += DURATION USERID
# log_on_failure += USERID
# nice = 10
#}


Ein Kumpel von mir hat vor einigen Tagen die ProFTP Version da drauf getan. Wie's aussieht läuft jetz ja gar keine mehr.

In der proftp.conf steht:
ServerName 248170.vserver.de
ServerType standalone
DefaultServer on
ServerAdmin technik@248170.vserver.de
ServerIdent on "FTP Server ready."

# Port 21 is the standard FTP port.
Port 21
 
Sag das doch gleich.
hiermit sollte es gehen:

Code:
# default: off
# description: proftpd server, xinetd version. \
# Don't run the standalone version if you run \
# this!
service ftp
{
 disable = no
 socket_type = stream
 wait = no
 user = root
 server = /usr/sbin/in.ftpd
 log_on_success += DURATION USERID
 log_on_failure += USERID
 nice = 10
}

edit:
danach natürlich restart!
 
ooops.. ich korrigere mich.
Ich habe die Brille net aufgehabt.
Der läuft ja als standalone.
Dann schreib das mal so:
Code:
# default: off
# description: proftpd server, xinetd version. \
# Don't run the standalone version if you run \
# this!
service ftp
{
 disable = [B]yes[/B]
 socket_type = stream
 wait = no
 user = root
 server = /usr/sbin/in.ftpd
 log_on_success += DURATION USERID
 log_on_failure += USERID
 nice = 10
}

Zum Starten.. hm.. probier das mal:
/etc/init.d/proftpd start
 
Meine proftpd im Ordner xinetd.d sieht nun folgendermaßen aus:

# default: off
# description: proftpd server, xinetd version. \
# Don't run the standalone version if you run \
# this!
service ftp
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}


Ich will wie gesagt die ProFTP Version, die läuft doch dann, oder?
Bis jetzt habe ich immer noch den gleichen Fehler wie am Anfang.
Wenn ich Deinen Befehl eingebe, findet er den Service nicht.
/etc/init.d/proftpd start
da is doch der init.d ordner falsch?

gruß
David

ps hast Du kein ICQ oder so? :)
 
jetztet kummst halt drauf an.
mach (wenn dir nichts anderes mehr einfällt) das hier:
Code:
Als erstes legt man die Datei /etc/init.d/proftpd an, die dann so aussieht:

#!/bin/sh
#
# chkconfig: 345 92 33
# description: Starts and stops the proftpd
# thx to the samba-team for the script 

PROFTP=/usr/sbin/proftpd

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

# Check that smb.conf exists.
[ -f /etc/proftpd.conf ] || exit 0

# See how we were called.
case "$1" in
start)
echo -n "Starting proFTPd: "
daemon $PROFTP
echo
touch /var/lock/subsys/proftpd
;;
stop)
echo -n "Shutting down proFTPd: "
killproc $PROFTP
rm -f /var/lock/subsys/proftpd
echo ""
;;
status)
status $PROFTP
;;
restart)
echo -n "Restarting proFTPd: "
$0 stop
$0 start
echo "done."
;;
*)
echo "Usage: proftpd {start|stop|restart|status}"
exit 1
esac

Ein kleines chmod 755 /etc/init.d/proftpd macht das Skript ausführbar.

Damit haben wir ersteinmal den Grundstein zum Starten/Stoppen/Neustarten des proftpds geschaffen. Jetzt müssen wir ihn nur noch über symbolische Links in die einzelnen Runlevel, vorzugsweise 3 und 5, eintragen. Z.B. folgendermaßen:

Starten von proftpd im Runlevel 3 (Voller Mulituserbetrieb mit Netzwerk):

cd /etc/rc3.d
ln -s /etc/init.d/proftpd S77proftpd

Stoppen von proftpd beim Wechseln in einen anderen Runlevel:

cd /etc/rc3.d
ln -s /etc/init.d/proftpd K10proftpd

Starten von proftpd im Runlevel 5 (Voller Multiuserbetrieb mit Netzwerk und KDM, GDM oder XDM):

cd /etc/rc5.d
ln -s /etc/init.d/proftpd S77proftpd

Stoppen von proftpd beim Wechseln in einen anderen Runlevel:

cd /etc/rc5.d
ln -s /etc/init.d/proftpd K10proftpd


Beim Booten des Systems sollte proftpd nun auch gleich mitgestartet werden.
Viel Spaß mit einem schnellen FTP-Login.
Geklaut von tom ;)
So wirds am Schnellsten klappen und die liebe Seele wird Ruhe haben.
 
Nun bin ich dran, habe die Mail für heute Nacht bekommen.
Neuerung: Man muß den Server nicht mehr selber runter fahren.
Mal sehen, ob Morgen früh alles wieder läuft.

Ciao

Martin
 
same prob here!

OS = Suse 9 (fragt mich nicht warum ich suse nahm, muss wohl übermüdung gewesen sein ;) )

btw: im Adminmenü steht als Serverdinx xxxxxx.vserver.de und in der eMail vsxxxxxx.vserver.de! Was passt den nun?

mediServer
 
Last edited by a moderator:
meine proftpd.conf sieht übrigens so aus

Code:
#### CONFIXX PRO-FTPD CONFIG FILE ####
    #### created at Sun Jun  6 17:12:26 2004 ###

# 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      vsxxxxxx.vserver.de
ServerType      inetd
DefaultServer   on
ServerAdmin     [email]technik@vsxxxxxx.vserver.de[/email]
ServerIdent     on "FTP Server ready."

# 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
"proftpd.conf" 54L, 1630C                                     1,1           Top

Servertype inetd stimmt das?

André
 
mediServer said:
same prob here!

OS = Suse 9 (fragt mich nicht warum ich suse nahm, muss wohl übermüdung gewesen sein ;) )

btw: im Adminmenü steht als Serverdinx xxxxxx.vserver.de und in der eMail vsxxxxxx.vserver.de! Was passt den nun?

mediServer

Es geht beides, nur ist laut RFC 952 ein Hostname in der FQDN nur dann korrekt wenn er mindestens einen Buchstaben hat, also nicht nur aus einer Ziffer besteht, das Problem ist dabei dann naemlich folgendes: Wenn du zum Beispiel ping 244189 machst, dann guckt die glibc nicht wie in der /etc/nsswitch.conf steht in /etc/hosts nach sondern die glibc behandelt die Ziffer als Integer einer IP, was zu einigen lustigen Nebeneffekten fuehrt ;) Jedoch ist eine Nummer als Subdomain einer Domain gueltig, ausdem Grund steht auch beides im Nameserver, nur als Hostname darf nur vsXXXXXX verwendet werden.
 
Danke für die Antwort!

Und wie bekomme ich nun FTP zu laufen! Auch auch einer erneuten Installation läuft proftpd nicht an!

Ich hab jetzt eine neue proftpd.conf

Code:
# 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			vsxxxxxx.vserver.de
ServerType			standalone
DefaultServer			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

# Set the user and group that the server normally runs at.
User				nobody
Group				nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite		on
</Directory>

# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
  User				ftp
  Group				ftp
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias			anonymous ftp

  # Limit the maximum number of anonymous logins
  MaxClients			10

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>

</Anonymous>

und weiss ned so recht, was in etc/init.d/proftpd und etc/xinetd.d/proftpd zu schreiben ist, und ob meine obige proftpd.conf so okay ist!

kann wer helfen?

André
 
Nuja diese würde ich abändern das nun dein ftp offen ist wie nen scheunentor :)
Wie du lesen kannst ist ein anonymous account freigeschaltet :)
 
society said:
Nuja diese würde ich abändern das nun dein ftp offen ist wie nen scheunentor :)
Wie du lesen kannst ist ein anonymous account freigeschaltet :)

Ja das anonyme ftp login ist grad man wurscht, weil eh noch nix auf dem vserver ist, später wird das dann auf ein directory begrenzt und dort dann auch nur leserechte vergeben!

Ändert aber nix dran, dass suse mich ned reinlässt per ftp! :mad:

André
 
mediServer said:
Ja das anonyme ftp login ist grad man wurscht, weil eh noch nix auf dem vserver ist, später wird das dann auf ein directory begrenzt und dort dann auch nur leserechte vergeben!

Ändert aber nix dran, dass suse mich ned reinlässt per ftp! :mad:

André

Gib mir mal die vSERVER Nummer dann schau ich mal warum der nicht geht.
 
ui, das ist nett!
Hatte grad ein Supportticket, dort sagte man mir, nach Neuinstall geht es jetzt, aber leider wars das doch noch nicht!

159065

Falls du mehr brauchst...

André
 
mediServer said:
ui, das ist nett!
Hatte grad ein Supportticket, dort sagte man mir, nach Neuinstall geht es jetzt, aber leider wars das doch noch nicht!

159065

Falls du mehr brauchst...

André

Also bei mir geht der wunderbar, mit den Zugangsdaten der letzten Installation

vs159065:/ # ftp localhost 21
Trying ::1...
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
220 FTP Server ready.
Name (localhost:root): web1
331 Password required for web1.
Password:
230 User web1 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 web1 ftponly 2048 Jun 6 19:18 files
drwxr-xr-x 3 web1 ftponly 2048 Jun 6 19:18 html
drwxr-xr-x 2 root root 2048 Jun 6 19:18 log
drwxrwxrwx 2 web1 ftponly 2048 Jun 6 19:18 phptmp
226 Transfer complete.
ftp>
 
Ja, Danke! So gehts bei mir auch! Nur komme ich mit Cute FTP oder WS_FTP nicht mehr rein! Localhost ist kein Problem! WebFTP geht ja schliesslich auch!

Aber, trotzdem wir hinter einem Secure Server (Check Point Firewall 1) der Uniklinik liegen, komme ich in andere Unix Accounts rein! Nur mit den auf euern vServer klappt es plötzlich (nach Suse 9 Install) nimmer!

Folgendes kommt raus:

Code:
Resolving host name vs159065.vserver.de...
    Connecting to (vs159065.vserver.de) ->  IP: 62.75.159.65 PORT: 21
    Connected to (vs159065.vserver.de) -> Time = 0ms
    Socket connected waiting for login sequence.
220 Check Point FireWall-1 Secure FTP server running on fwmed
    USER web1
331 (not authenticated): Enter server password
    PASS (hidden)
    Connection closed. Server timeout.
    Cannot login waiting to retry (30s)...

Ein vergleichbarer Account bei einem anderem Anbieter bringt hingegen:

Code:
Resolving host name xxxx.de...
    Connecting to (xxxx.de) ->  IP: xx.x.xx.xxx PORT: 21
    Connected to (xxxx.de) -> Time = 0ms
    Socket connected waiting for login sequence.
220 Check Point FireWall-1 Secure FTP server running on fwmed
    USER webxxx
331 (not authenticated): Enter server password
    PASS (hidden)
230-Connected to server. Logging in...
230-220 (vsFTPd 1.1.3)
230-331 Please specify the password.
230 230 Login successful. Have fun.
    SYST
215 UNIX Type: L8
    REST 100
502 Security server inhibited REST command
    TYPE I
200 Switching to Binary mode.
    REST 100
502 Security server inhibited REST command
    PWD
257 "/"
    Cached directory reloaded.

Scheint wohl irgendwie an proFTPd zu liegen, der mit der Check Point FW 1 nicht so wirklich will!

Danke

André
 
Last edited by a moderator:
Back
Top