proftpd lässt sich nicht starten

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
OldGod78
Beiträge: 190
Registriert: 20.04.2016 20:59:51
Kontaktdaten:

proftpd lässt sich nicht starten

Beitrag von OldGod78 » 09.09.2016 16:17:48

Hallo . Bei mir lässt sich irgendwie nicht proftpd neu starten bzw. starten, wie mir gerade aufgefallen ist . Erhalte mit dem Befehl

Code: Alles auswählen

/etc/init.d/proftpd restart
das :

Code: Alles auswählen

[....] Restarting proftpd (via systemctl): proftpd.serviceJob for proftpd.service failed. See 'systemctl status proftpd.service' and 'journalctl -xn' for details.
 failed!
Im 1. "Log" was da steht was man ansehen soll steht das :

Code: Alles auswählen

● proftpd.service - LSB: Starts ProFTPD daemon
   Loaded: loaded (/etc/init.d/proftpd)
   Active: failed (Result: exit-code) since Fri 2016-09-09 15:54:48 CEST; 15s ago
  Process: 31775 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

Sep 09 15:54:48 root.MEINSERVER.de proftpd[31775]: Starting ftp server: proftpd2016-09-09 15:54:48,477 root.MEINSERVER.de proftpd[31781]: warning: unable to determine IP address of 'root.MEINSERVER.de'
Sep 09 15:54:48 root.MEINSERVER.de proftpd[31775]: 2016-09-09 15:54:48,477 root.MEINSERVER.de proftpd[31781]: error: no valid servers configured
Sep 09 15:54:48 root.MEINSERVER.de proftpd[31775]: 2016-09-09 15:54:48,477 root.MEINSERVER.de proftpd[31781]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Sep 09 15:54:48 root.MEINSERVER.de proftpd[31775]: failed!
Sep 09 15:54:48 root.MEINSERVER.de systemd[1]: proftpd.service: control process exited, code=exited status=1
Sep 09 15:54:48 root.MEINSERVER.de systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Sep 09 15:54:48 root.MEINSERVER.de systemd[1]: Unit proftpd.service entered failed state.
"unable to determine IP address of 'root.MEINSERVER.de"

heißt das, ich brauche die subdomain root weil der Hostname so lautet oder was ?


Im Journal ist , wie ich finde , das hier auffällig :

Code: Alles auswählen

Sep 09 16:05:02 root.MEINSERVER.de postfix/trivial-rewrite[32407]: warning: do not list domain MEINSERVER.de in BOTH mydestination and virtual_mailbox_domains
Sep 09 16:05:02 root.MEINSERVER.de postfix/trivial-rewrite[32407]: warning: do not list domain MEINSERVER.de in BOTH mydestination and virtual_mailbox_domains
Was genau bedeutet das aber ? Da ich nicht mehr weiter weiß frage ich nun hier, was ich tun muss :/

DeletedUserReAsG

Re: proftpd lässt sich nicht starten

Beitrag von DeletedUserReAsG » 09.09.2016 16:28:38

Du hast deine proftpd.conf kaputtgemacht. Was genau kaputt ist, lässt sich ohne funktionierende Glaskugel, oder halt die betreffende Datei, naturgemäß allenfalls raten.

OldGod78
Beiträge: 190
Registriert: 20.04.2016 20:59:51
Kontaktdaten:

Re: proftpd lässt sich nicht starten

Beitrag von OldGod78 » 09.09.2016 16:30:18

Hier :

Code: Alles auswählen

#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6				on
# If set on you can experience a longer connection delay in many cases.
IdentLookups			off

ServerName                     "root.MEINSERVER.de FTP Server"
ServerType			standalone
DeferWelcome			off

MultilineRFC2228		on
DefaultServer			on
ShowSymlinks			on

TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			1200

DisplayLogin                    welcome.msg
DisplayChdir               	.message true
ListOptions                	"-l"

DenyFilter			\*.*/

# Use this to jail all users in their homes
# DefaultRoot			~

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell		off

# Port 21 is the standard FTP port.
Port				21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts                  49152 65534

# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress		1.2.3.4

# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>

# 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				proftpd
Group				nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask				022  022
# Normally, we want files to be overwriteable.
AllowOverwrite			on

# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd		off

# This is required to use both PAM-based authentication and local passwords
# AuthOrder			mod_auth_pam.c* mod_auth_unix.c

# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
# UseSendFile			off

TransferLog /var/log/proftpd/xferlog
SystemLog   /var/log/proftpd/proftpd.log

# Logging onto /var/log/lastlog is enabled but set to off by default
#UseLastlog on

# In order to keep log file dates consistent after chroot, use timezone info
# from /etc/localtime.  If this is not set, and proftpd is configured to
# chroot (e.g. DefaultRoot or <Anonymous>), it will use the non-daylight
# savings timezone regardless of whether DST is in effect.
#SetEnv TZ :/etc/localtime

<IfModule mod_quotatab.c>
QuotaEngine on
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>


# Delay engine reduces impact of the so-called Timing Attack described in
# http://www.securityfocus.com/bid/11430/discuss
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine        off
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
Include /etc/proftpd/sql.conf

#
# This is used for FTPS connections
#
Include /etc/proftpd/tls.conf

#
# Useful to keep VirtualHost/VirtualRoot directives separated
#
#Include /etc/proftpd/virtuals.conf

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
#   User				ftp
#   Group				nogroup
#   # We want clients to be able to login with "anonymous" as well as "ftp"
#   UserAlias			anonymous ftp
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser	on ftp
#   DirFakeGroup on ftp
#
#   RequireValidShell		off
#
#   # Limit the maximum number of anonymous logins
#   MaxClients			10
#
#   # We want 'welcome.msg' displayed at login, and '.message' displayed
#   # in each newly chdired directory.
#   DisplayLogin			welcome.msg
#   DisplayChdir		.message
#
#   # Limit WRITE everywhere in the anonymous chroot
#   <Directory *>
#     <Limit WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
#
#   # Uncomment this if you're brave.
#   # <Directory incoming>
#   #   # Umask 022 is a good standard umask to prevent new files and dirs
#   #   # (second parm) from being group and world writable.
#   #   Umask				022  022
#   #            <Limit READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
#
# </Anonymous>

# Include other custom configuration files
Include /etc/proftpd/conf.d/

Das einzig auffällige das ich sehe ist der große abstand nach "ServerName" , habe es mit einem anderen server verglichen, da sind nicht so viele leerzeichen ...

DeletedUserReAsG

Re: proftpd lässt sich nicht starten

Beitrag von DeletedUserReAsG » 09.09.2016 17:03:46

Ich würde nun mal ins dort angegebene Log schauen.

Benutzeravatar
heisenberg
Beiträge: 3542
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: proftpd lässt sich nicht starten

Beitrag von heisenberg » 09.09.2016 17:28:38

Jede Rohheit hat ihren Ursprung in einer Schwäche.

OldGod78
Beiträge: 190
Registriert: 20.04.2016 20:59:51
Kontaktdaten:

Re: proftpd lässt sich nicht starten

Beitrag von OldGod78 » 09.09.2016 17:31:00

niemand hat geschrieben:Ich würde nun mal ins dort angegebene Log schauen.

habe ich doch sogar gepostet ? ...

DeletedUserReAsG

Re: proftpd lässt sich nicht starten

Beitrag von DeletedUserReAsG » 09.09.2016 17:37:14

Nein, hast du nicht.

Edit: thx, heisenberg – ich bin damit raus.

2undvierzig
Beiträge: 128
Registriert: 05.09.2016 12:04:56
Lizenz eigener Beiträge: MIT Lizenz

Re: proftpd lässt sich nicht starten

Beitrag von 2undvierzig » 09.09.2016 17:38:40

OldGod78 hat geschrieben:
niemand hat geschrieben:Ich würde nun mal ins dort angegebene Log schauen.

habe ich doch sogar gepostet ? ...
Hast du nicht!
Du hast die .conf gepostet.
Die Log-Datei findest du in /var/log/proftpd/proftpd.log. So stehts nämlich in deiner Konfiguration.
Der Fremde ist nur in der Fremde ein Fremder (Karl Valentin).

OldGod78
Beiträge: 190
Registriert: 20.04.2016 20:59:51
Kontaktdaten:

Re: proftpd lässt sich nicht starten

Beitrag von OldGod78 » 09.09.2016 18:14:07

Achso . komischerweise ist da aber keine log - nur eine leere controls.log o.O vielleicht weil es noch nie an war .

Antworten