www.ProFTPD.de
13. März 2007, 19:08:01 *
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 [2] 3   Nach unten
  Drucken  
Autor Thema: sh: line 1: /etc/init.d/proftpd: No such file or directory  (Gelesen 1486 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Anonymous
Gast
« Antwort #15 am: 19. Juni 2003, 22:32:25 »

Bei RedHat, mit dieser Config funktionierte es aber!
Die grossen Provider haben auch nicht für jeden Kunden eine separate IP ....

# This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.3 2002/09/17 08:34:36 dude Exp $

ServerName "ichbins.ch"
ServerIdent on "FTP Server ready."
ServerAdmin info@ichbins.ch
#ServerType standart
DefaultServer on
AccessGrantMsg "User %u logged in."
#DisplayConnect /etc/ftpissue
#DisplayLogin /etc/ftpmotd
#DisplayGoAway /etc/ftpgoaway
DeferWelcome off

# Use this to excude users from the chroot
DefaultRoot ~ !adm

# Use pam to authenticate by default
AuthPAMAuthoritative on

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups off
UseReverseDNS off

# 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

# Default to show dot files in directory listings
LsDefaultOptions "-a"

# See Configuration.html for these (here are the default values)
#MultilineRFC2228 off
#RootLogin off
#LoginPasswordPrompt on
#MaxLoginAttempts 3
#MaxClientsPerHost none
#AllowForeignAddress off # For FXP

# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on

# 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 20

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

# This is where we want to put the pid file
ScoreboardPath /var/run

# Normally, we want users to do a few things.
<Global>
  AllowOverwrite yes
  <Limit ALL SITE_CHMOD>
    AllowAll
  </Limit>
</Global>

# Define the log formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"


  # We want 'welcome.msg' displayed at login, '.message' displayed in
  # each newly chdired directory and tell users to read README* files.
  DisplayLogin /welcome.msg
  DisplayFirstChdir .message
  DisplayReadme README*

  # Some more cosmetic and not vital stuff
  DirFakeUser on ftpadm
  DirFakeGroup on ftpadm

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

  # An upload directory that allows storing files but not retrieving
  # or creating directories.
  <Directory uploads/*>
    AllowOverwrite no
    <Limit READ>
      DenyAll
    </Limit>

    <Limit STOR>
      AllowAll
    </Limit>
  </Directory>

  # Don't write anonymous accesses to the system wtmp file (good idea!)
  WtmpLog off

<VirtualHost kunde1.ch>
 DefaultRoot /home/www.kunde1.ch
 ServerName "www.kunde1.ch"
 </VirtualHost>
 <VirtualHost kunde2.ch>
 DefaultRoot /home/www.kunde2.ch
 </VirtualHost>
 <VirtualHost kunde3.ch>
 DefaultRoot /home/www.kunde3.ch
 </VirtualHost>
 <VirtualHost kunde4.ch>
 DefaultRoot /home/www.kunde4.ch
 </VirtualHost>
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #16 am: 19. Juni 2003, 22:35:39 »

Die trennen ja auch nach Username+Homedir nicht vhost.
Was geht denn nun nicht?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #17 am: 19. Juni 2003, 22:41:21 »

genau das möchte ich ja auch tun ...

Nochmals:
Der Kunde 1 mit der Domain xyz.ch soll seine Webseite per Ftp
ins Verzeichniss www.xyz.ch hinaufladen und ändern können.
Und sich nicht über mein ganzes System tumeln können.

Der Kunde 2 mit der Domain abc.ch soll seine Webseite per Ftp
ins Verzeichniss www.abc.ch hinaufladen und ändern können.
Und sich nicht über mein ganzes System tumeln können.

Und so weiter ....

Bis vor einer Woche hat das auch mit RetHat geklappt ...
Aber dort war es auch nicht so eine Zangengeburt den FTP Server zu intallieren wie mit Suse ....
Gespeichert
triali
ProFTPD
*
Offline Offline

Beiträge: 18


Profil anzeigen
« Antwort #18 am: 19. Juni 2003, 22:44:41 »

genau das möchte ich ja auch tun ...
 
 Nochmals:
 Der Kunde 1 mit der Domain xyz.ch soll seine Webseite per Ftp
 ins Verzeichniss www.xyz.ch hinaufladen und ändern können.
 Und sich nicht über mein ganzes System tumeln können.
 
 Der Kunde 2 mit der Domain abc.ch soll seine Webseite per Ftp
 ins Verzeichniss www.abc.ch hinaufladen und ändern können.
 Und sich nicht über mein ganzes System tumeln können.
 
 Und so weiter ....
 
 Bis vor einer Woche hat das auch mit RetHat geklappt ...
 Aber dort war es auch nicht so eine Zangengeburt den FTP Server zu intallieren wie mit Suse ....
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #19 am: 19. Juni 2003, 22:49:11 »

:hä?
Du hast meine Fragen nicht beantwortet.
Was geht denn nicht?
Landest du im falschen Verzeichnis?
Kannst du dich gar nicht anmelden?
Landest du im richtigen Verzeichnis, kannst es aber verlassen?
Wie viele Kunden hast du denn?  :arrow: Eventuell lohnt sich mod_sql
Wie sehen die Heimatverzeichnisse der Kunden in der passwd aus?
*seuftz*
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
triali
ProFTPD
*
Offline Offline

Beiträge: 18


Profil anzeigen
« Antwort #20 am: 19. Juni 2003, 22:53:52 »

Anmelden klappt tiptop...
Ich lande bei jedem Kunden im richtigen Verzeichniss,
aber man kann das Verzeichniss verlassen bzw. wechseln, und in ein anderes Verzeichniss gehen.
Mit mod_sql möchte ich mich zur Zeit wirklich nicht auch noch befassen.
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #21 am: 19. Juni 2003, 23:00:12 »

Was passiert, wenn du statt
Zitat
DefaultRoot ~ !adm
mal
Zitat
DefaultRoot ~
benutzt?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
triali
ProFTPD
*
Offline Offline

Beiträge: 18


Profil anzeigen
« Antwort #22 am: 19. Juni 2003, 23:01:23 »

Genau das gleiche .. komme ins richtige Verzeichniss, kann es aber wechseln ...
 :spannend)
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #23 am: 19. Juni 2003, 23:05:03 »

Versteh ich nicht.  :?
Okay - nächster Versuch.
Nimm's ganz raus.
Und dann testen.
Und dann mach's rein und schmeiß mal die vhosts komplett raus.
 :spannend)  :jaja)
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
triali
ProFTPD
*
Offline Offline

Beiträge: 18


Profil anzeigen
« Antwort #24 am: 19. Juni 2003, 23:14:30 »

Also :
Defaultroot weg: "lande im richtigen Verzeichniss, kann es aber wechseln .."
Vhost weg: "lande im richtigen Verzeichniss, kann es aber wechseln .."

Config nei scheiben mit DefaultRoot und Vhost: "lande im richtigen Verzeichniss, kann es aber wechseln .."

Ist irgenwie ein Phänomen ...
 :oi
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #25 am: 19. Juni 2003, 23:22:56 »


1. Startest du den Server auch immer brav neu?
2. Bist du sicher, dass du die richtige proftpd.conf änderst?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
triali
ProFTPD
*
Offline Offline

Beiträge: 18


Profil anzeigen
« Antwort #26 am: 19. Juni 2003, 23:25:47 »

jepp, starte immer brav neu ..  :lol:
Und jepp ich ändere die richtige conf /etc/proftpd.conf
 :roll:
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #27 am: 19. Juni 2003, 23:33:36 »

Glaub ich nicht. :roll:
Beende mal proftpd und gib ein:
Code:
proftpd -nd9 -c /etc/proftpd.conf
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
triali
ProFTPD
*
Offline Offline

Beiträge: 18


Profil anzeigen
« Antwort #28 am: 19. Juni 2003, 23:36:55 »

triali # proftpd -nd9 -c /etc/proftpd.conf
bash: proftpd: command not found

 :idiot)
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #29 am: 19. Juni 2003, 23:41:17 »

MACH MICH NICHT SCHWACH!
Eingeben:
Code:
[root@knowledgebase proftpd]# fuser -n tcp 21
21/tcp:              11522
[root@knowledgebase proftpd]# ps -ef |grep 11522    
www      11522     1  0 Jun16 ?        00:00:02 proftpd: (accepting connections)
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Seiten: 1 [2] 3   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.069 Sekunden mit 16 Zugriffen.