www.ProFTPD.de
13. März 2007, 19:14:41 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: /var/run/proftpd.pid Datei fehlt  (Gelesen 801 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Anonymous
Gast
« am: 06. August 2003, 22:55:57 »

Hallo, nachdem ich mich nicht einloggen konnte bin ich schritt für schritt eure Anleitung in der FAQ durchgegengen und habe bemerkt das bei mir mit dem Pfad /var/run/proftpd.pid was nicht stimmt. Diese Datei gibt es bei mir nicht an dieser Stelle und überhaupt im Gesamten System.
Könntet ihr mir vielleicht eine hier reinposten?
Die ich dann abspeicher bei mir.
Ach so ja ich habe SuSE 8.1 mit dem Standard Kernel 2.4

mfg Markus
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 06. August 2003, 23:19:34 »

Zitat von: "Anonymous"
Hallo, nachdem ich mich nicht einloggen konnte bin ich schritt für schritt eure Anleitung in der FAQ durchgegengen und habe bemerkt das bei mir mit dem Pfad /var/run/proftpd.pid was nicht stimmt. Diese Datei gibt es bei mir nicht an dieser Stelle und überhaupt im Gesamten System.
Könntet ihr mir vielleicht eine hier reinposten?
Die ich dann abspeicher bei mir.
Ach so ja ich habe SuSE 8.1 mit dem Standard Kernel 2.4

mfg Markus


die wird von proftpd selber erstellt. Starte ProFTPD im  :debug: Modus
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #2 am: 07. August 2003, 09:13:19 »

ja wenn ich
/usr/local/sbin/proftd --debug 9
eingebe, dan spuct er mir folgendes aus.


- parsing '/usr/local/etc/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- Fatal: ServerType: type must be either 'inetd' or 'standalone'.

hier ist auch mein Config File
##################################################
# 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 Der_Verrückte Download-Server"
ServerType initd
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 under which the server will run.
User proftp-user
Group users

#Wie kann ich einen User in ein Verzeichnis "einsperren" ?
#In English:
#To cause every FTP user to be "jailed" (chrooted) into their home
#directory, uncomment this line.
#In German:
#Das ist die Masterfrage ! Durch die Direktive "defaultroot" kann ein User in
#ein Verzeichnis gesperrt werden. Dabei kann entweder ein Verzeichnis angegeben
#werden, daß für alle gilt oder der Platzhalter "~". Dieser Platzhalter steht
#für das jeweilige Heimatverzeichnis des eingeloggten Users.
#Beispiel:
#defaultroot /var/ftp
#sperrt alle User in das Verzeichnis /var/ftp
#defaultroot ~
#sperrt den User "stonki" in sein Heimatverzeichnis,
#üblicherweise /home/stonki", den User "proftpd" in seins "/home/proftpd" usw
#usw.

DefaultRoot /home/admin/incoming

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

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<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 "Sorry hier ist kein PLatz fuer dich, Tschuess Junge."

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

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

#Wie kann ich User hinzufügen?
#per Standard koennen sich alle Systemuser per FTP anmelden. Wenn man nun neue
#User anlegen möchte, dann kann man einfach diese am System anlegen. Wenn man
#vermeiden möchte, dass die sich "richtig" am System anmelden können, dann kann
#man die shell auf "/bin/false" legen - dann ist nur noch FTP möglich (dann
#jedoch "RequireValidShell off" in die ProFTPD.conf schreiben. Die User kann
#man dann einfach per YAST (SuSE) oder von der Console mittels "useradd"
#anlegen.
RequireValidShell off
SystemLog /var/log/fuer_admin/proftpd_system_log.txt
<Global>
<Directory /home/admin/incoming>
AllowAll
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
</Directory>
RootLogin off
SyslogLevel debug
</Global>
SyslogLevel debug
ServerAdmin feldmann_markus@gmx.de
WtmpLog on
LoginPasswordPrompt off
AllowOverwrite on
<Directory /home/admin/incoming>
</Directory>
###############################################
mfg MArkusF
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
guden
ProFTPD
*
Offline Offline

Beiträge: 103


Profil anzeigen
« Antwort #3 am: 07. August 2003, 09:24:52 »

du hast in deiner config stehen :

ServerType initd

das muß aber heißen:
ServerType inetd

oder:

ServerType standalone


Alles klar ;-)
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #4 am: 07. August 2003, 09:25:58 »

Heute sehen Sie in der heiteren Quizsendung: "Lesen in grosser Hitze" die beiden Kandidaten Markus und Stonki. Kandidat Markus, wo sehen Sie hier die Unterschiede:

Zitat

- Fatal: ServerType: type must be either 'inetd' or 'standalone'.
[...]
ServerType initd


cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
guden
ProFTPD
*
Offline Offline

Beiträge: 103


Profil anzeigen
« Antwort #5 am: 07. August 2003, 09:31:37 »

hehe schneller :-)
Gespeichert
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #6 am: 07. August 2003, 09:45:40 »

###############################################
# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or send the
# inetd a HUP signal with "/etc/init.d/inetd reload" or by hand:
# Do a "ps x" as root and look up the pid of inetd. Then do a
# "kill -HUP <pid of inetd>".
# The inetd will re-read this file whenever it gets that signal.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# echo stream tcp nowait root internal
# echo dgram udp wait root internal
# discard stream tcp nowait root internal
# discard dgram udp wait root internal
# daytime stream tcp nowait root internal
# daytime dgram udp wait root internal
# chargen stream tcp nowait root internal
# chargen dgram udp wait root internal
# time stream tcp nowait root internal
# time dgram udp wait root internal
#
# These are standard services.
#
ftp stream tcp nowait root /usr/local/sbin/proftpd proftpd --debug 9
# ftp stream tcp nowait root /usr/sbin/tcpd vsftpd
#
# If you want telnetd not to "keep-alives" (e.g. if it runs over a ISDN
# uplink), add "-n". See 'man telnetd' for more details.
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
# nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode
# smtp stream tcp nowait root /usr/sbin/sendmail sendmail -L sendmail -Am -bs
#
# Shell, login, exec and talk are BSD protocols.
# The option "-h" permits ``.rhosts'' files for the superuser. Please look at
# man-page of rlogind and rshd to see more configuration possibilities about
# .rhosts files.
# shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
# shell stream tcp nowait root /usr/sbin/tcpd in.rshd -aL
#
# If you want rlogind not to "keep-alives" (e.g. if it runs over a ISDN
# uplink), add "-n". See 'man rlogind' for more details.
# login stream tcp nowait root /usr/sbin/tcpd in.rlogind
# login stream tcp nowait root /usr/sbin/tcpd in.rlogind -a
# exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
# talk dgram udp wait root /usr/sbin/tcpd in.talkd
# ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
#
# Pop et al
#
# pop2 stream tcp nowait root /usr/sbin/tcpd ipop2d
# pop3 stream tcp nowait root /usr/sbin/tcpd ipop3d
# pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popper -s
#
# Imapd - Interactive Mail Access Protocol server
# Attention: This service is very insecure
# imap stream tcp nowait root /usr/sbin/tcpd imapd
#
# FAM - file alteration monitor, report changes of files
# sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/fam fam
#
# Comsat - has to do with mail.
#
# comsat dgram udp wait root /usr/sbin/tcpd in.comsat
#
# The Internet UUCP service.
#
# uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
#
# Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#
# tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
# bootps dgram udp wait root /usr/sbin/bootpd bootpd -c /tftpboot
#
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers." Many sites choose to disable
# some or all of these services to improve security.
# Try "telnet localhost systat" and "telnet localhost netstat" to see that
# information yourself!
#
# finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w
# systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx
# netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a
#
# For man on the fly and ht://dig (full text search)
#
# http-rman stream tcp nowait.10000 nobody /usr/sbin/tcpd /usr/sbin/http-rman
#
# For XCept4
#
# btx stream tcp nowait root /usr/sbin/tcpd /usr/lib/xcept4/bin/ceptd \
-i/usr/lib/xcept4/etc/init.ceptd -u/usr/lib/xcept4/etc/users.ceptd -l/var/log/log.ceptd
#
# For rplay daemon
#
# Old versions of rplay:
# rplay dgram udp wait root /usr/sbin/tcpd rplayd -b 8192 -c 60 -s 8192
# New Versions of rplay (>=3.3.0)
# rplay dgram udp wait root /usr/sbin/tcpd rplayd -t 30 -c 60 -s 16384 -F0 --inetd
#
# vbox (Voice Box)
# vboxd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/vboxd
#
# For midinetd
# midinet stream tcp nowait root /usr/sbin/tcpd in.midinetd
#
# swat is the Samba Web Administration Tool
swat stream tcp nowait.400 root /usr/sbin/swat swat
#
#
# amanda backup server with indexing capabilities
# amandaidx stream tcp nowait amanda /usr/lib/amanda/amindexd amindexd
# amidxtape stream tcp nowait amanda /usr/lib/amanda/amidxtaped amidxtaped
#
# amanda backup client
# amanda dgram udp wait amanda /usr/lib/amanda/amandad amandad
#
# the rsync daemon
# rsync stream tcp nowait root /usr/sbin/tcpd /usr/sbin/rsyncd --daemon
#
#
# Mimer database
# mimer stream tcp nowait root /opt/mimer/bin/mimtcp mimtcp -l
#
# CVS pserver (remote acces to your CVS repositories)
# Please read the section on security and passwords in the CVS manual,
# before you enable this.
# cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs -f --allow-root\
=/home/cvsroot pserver
#
# procstatd deamon (cluster software)
# procstatd stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/procstatd -i 7885
#
#
# LPD client support of CUPS
# Please enable only, after reading the manual, if no LPD daemon is running,
# and after cups-lpd (package: cups.rpm) is installed.
# printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd -o document\
-format=application/octet-stream
#
# End.
###############################################
Kann mir da Jemand weiter helfen wäre nett.
Eventuell sind hier Zeilenumbrüche falsch ist ab in Wirklichkeit anders.
Danke schön im vorraus
mfg Markus
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #7 am: 07. August 2003, 09:47:24 »

Dankeeeeeee
erstmal
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #8 am: 07. August 2003, 09:52:28 »

Zitat von: "markusF"
###############################################
 
ftp stream tcp nowait root /usr/local/sbin/proftpd proftpd --debug 9


und eins noch: Zum Probieren ist inetd nicht so geeignet. Eigentlich braucht man das eh nicht. Also kommentiere diese Zeile aus "#" davor, starte inetd neu (rcinetd restart oder kill -SIGHUP <pid von inetd>) und dann proftpd im Standalone Modus starten

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #9 am: 07. August 2003, 10:25:24 »

Hallo hier binnich wieder :-)

Habe wie du meintest die folgende Zeile geändert:

ftp stream tcp nowait root /usr/local/sbin/proftpd proftpd --debug 9

ein # gesetzt, jetzt sieht es so aus.
#ftp stream tcp nowait root /usr/local/sbin/proftpd proftpd --debug 9

, dann habe ich ein:
reboot
durchgeführt!
In meiner proftpd.conf Datei
ServerType inetd
zu
ServerType standalone
geändert und proftpd gestartet im Debug modus level 9 dabei kam folgende Meldung:
###############################################
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - <Directory />: adding section for resolved path '/'
 - FS: using system read()
 - FS: using system read()
 - ROOT PRIVS at mod_log.c:455
 - error: /var/log/fuer_admin is a world writeable directory
 - RELINQUISH PRIVS at mod_log.c:460
 - Fatal: SystemLog: you are attempting to log to a world writeable directory
###############################################

Wo ist meine Brille ich kann ja kein i von e unterscheiden :-)

mfg Markus
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #10 am: 07. August 2003, 10:35:57 »

Zitat von: "markusF"

, dann habe ich ein:
reboot
durchgeführt!


Linux Kisten rebooted man nicht. Das ist einfach gegen die Natur Smiley

Zitat


 - error: /var/log/fuer_admin is a world writeable directory
 - Fatal: SystemLog: you are attempting to log to a world writeable directory


naja, steht ja schon wieder da. ProFTPD mag aus sicherheitsgruenden (PARANOIA) nicht in ein verzeichnis loggen, in das jeder schreiben darf. Also einfach: chmod 775 /var/log/fuer_admin   und Thema durch...

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #11 am: 07. August 2003, 10:45:56 »

Bis danne




Da guckste nur Junge der FTP-Server läuft.
 :shock:
mfg MArkus
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #12 am: 07. August 2003, 11:39:00 »

Cooles Bild wa?

Das wollt ich eigentlich nur mal gezeigt haben
Überarbeitet euch nicht.
Bis dann
mfg Markus Cool
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #13 am: 07. August 2003, 11:50:46 »

Zitat von: "markusF"
Cooles Bild wa?

Das wollt ich eigentlich nur mal gezeigt haben
Überarbeitet euch nicht.
Bis dann
mfg Markus Cool


naja, wenn das Deine Schwestern sind und (aus bremen kommst Du, dass kann man an der IP sehen Smiley ) dann stelle denen doch mal einen halbwegs intelligenten, erfolgreichen "Stonki" vor, der morgen in bremen landet und dann fuer 3 Wochen in WHV ist Smiley (

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
markusF
ProFTPD
*
Offline Offline

Beiträge: 12


179517317
Profil anzeigen
« Antwort #14 am: 07. August 2003, 12:04:55 »

Tut mir Leid.

Leider wohnt Nadine nicht mehr zuhause und Natascha ist meistens bei ihren Freundinen, aber wenn Du sie mal sehen solltest an der Schlachte in Bremen,
oder auf ner Omeaga-Party,
kannst ihr ja sagen schöne Grüsse an Markus.
Das beeindruckt.
 :lol:

mfg Markus
Gespeichert

Ich würde ja gerne ein Bild von mir hier reinstellen, aber das kann ich Niemandem antun. So habe ich beschlossen ein Bild von meinen beiden süssen Schwestern reinzustellen. :-)
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.077 Sekunden mit 16 Zugriffen.