|
You last visited: Today at 18:39
Advertisement
Der perfekte Rootserver (Support Thread)
Discussion on Der perfekte Rootserver (Support Thread) within the Unix/Linux forum part of the Technical Support category.
06/03/2016, 09:10
|
#211
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 17
|
Code:
root@mail:~# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:10040 0.0.0.0:* LISTEN 117 11719 498/opendkim
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 13443 1022/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 11967 708/nginx
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 0 11746 444/dovecot
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 0 11797 444/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 0 11766 444/dovecot
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 0 12185 631/postgrey.pid --
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1000 12221 642/python
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 0 13564 1022/master
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 108 12537 734/mysqld
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 0 13458 1022/master
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 109 11374 421/memcached
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 0 11764 444/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 0 11795 444/dovecot
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 9772 365/rpcbind
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 11966 708/nginx
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 0 13452 1022/master
tcp 0 0 127.0.0.1:81 0.0.0.0:* LISTEN 0 11968 708/nginx
tcp 0 0 0.0.0.0:36626 0.0.0.0:* LISTEN 106 9881 377/rpc.statd
tcp 0 0 0.0.0.0:436 0.0.0.0:* LISTEN 0 11324 423/sshd
tcp6 0 0 :::25 :::* LISTEN 0 13444 1022/master
tcp6 0 0 :::4190 :::* LISTEN 0 11747 444/dovecot
tcp6 0 0 :::993 :::* LISTEN 0 11798 444/dovecot
tcp6 0 0 :::995 :::* LISTEN 0 11767 444/dovecot
tcp6 0 0 :::587 :::* LISTEN 0 13459 1022/master
tcp6 0 0 :::110 :::* LISTEN 0 11765 444/dovecot
tcp6 0 0 :::143 :::* LISTEN 0 11796 444/dovecot
tcp6 0 0 :::35023 :::* LISTEN 106 9887 377/rpc.statd
tcp6 0 0 :::111 :::* LISTEN 0 9775 365/rpcbind
tcp6 0 0 :::465 :::* LISTEN 0 13453 1022/master
udp 0 0 0.0.0.0:964 0.0.0.0:* 0 9771 365/rpcbind
udp 0 0 127.0.0.1:11211 0.0.0.0:* 109 11375 421/memcached
udp 0 0 127.0.0.1:977 0.0.0.0:* 0 9873 377/rpc.statd
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 9768 365/rpcbind
udp 0 0 0.0.0.0:43202 0.0.0.0:* 106 9878 377/rpc.statd
udp6 0 0 :::964 :::* 0 9774 365/rpcbind
udp6 0 0 :::45017 :::* 106 9884 377/rpc.statd
udp6 0 0 :::111 :::* 0 9773 365/rpcbind
root@mail:~#
Scheint immer noch zu zu sein der Port.
Arno ist jetzt übrigens immer noch deinstalliert
Die conf vom vsftp sollte richtig sein:
Code:
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=NO
Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=NO
#
# Allow anonymous FTP? (Disabled by default).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# If enabled, vsftpd will display directory listings with the time
# in your local time zone. The default is to display GMT. The
# times returned by the MDTM FTP command are also affected by this
# option.
use_localtime=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
# the user does not have write access to the top level directory within the
# chroot)
#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
# Customization
#
# Some of vsftpd's settings don't fit the filesystem layout by
# default.
#
# This option should be the name of a directory which is empty. Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd/empty
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/private/vsftpd.pem
rsa_private_key_file=/etc/ssl/private/vsftpd.pem
ssl_enable=YES
Hier die Rückmeldung vom Support:
Code:
wir schalten natürlich keine Firewall vor.
Ihr Portscann zeigt nur Programme an welche auch auf diesen Port lauschen. Haben Sie evtl. den SSH-Server (Port 22) deaktiviert?
Die IPTABLES haben Sie gelöscht?
|
|
|
06/03/2016, 09:27
|
#212
|
elite*gold: 48
Join Date: Nov 2010
Posts: 212
Received Thanks: 11
|
@
*** hab 0.4.1.
Der Fehler ist nach mehr als 12 Stunden immernoch, eigentlich sollten die DNS Schneller Server aktualisieren...
|
|
|
06/03/2016, 09:35
|
#213
|
elite*gold: 0
Join Date: Apr 2014
Posts: 83
Received Thanks: 4
|
@ 
der dienst läuft aber nicht, sonst würde bei netstat -tulpen was mit :21 stehen.
Du kannst auch netstat -tulpen | grep 21 machen. vllt nochmal /etc/init.d/vsftp restart ??
ansonsten listen_ipv6=YES setzen.
Wenn der dienst auf Port 21 nicht läuft kann man sich nicht verbinden und der Portscanner findet auch keinen Dienst auf dem Port.
@ 
okay, und deine domain zeigt auf deine IP, und die ganzen Subdomains mail imap dav webdav webmail keineahnungwas noch alles zeigt auch auf deine IP.
Ansonsten in der Userconfig.cfg CLOUDFLARE="1" setzen
|
|
|
06/03/2016, 09:40
|
#214
|
elite*gold: 48
Join Date: Nov 2010
Posts: 212
Received Thanks: 11
|
@ 
Auch wenn alle DNS Einstellungen richtig sind, die Cloudflare Einstellungen auf 1 setzen?
|
|
|
06/03/2016, 09:45
|
#215
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 17
|
mh
Code:
root@mail:~# netstat -tulpen | grep 21
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 0 12185 631/postgrey.pid --
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1000 12221 642/python
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 109 11374 421/memcached
udp 0 0 127.0.0.1:11211 0.0.0.0:* 109 11375 421/memcached
root@mail:~#
aber der restart geht nicht mehr
Code:
root@mail:~# /etc/init.d/vsftp restart
-bash: /etc/init.d/vsftp: No such file or directory
root@mail:~#
ich installiere mal neu
|
|
|
06/03/2016, 09:52
|
#216
|
elite*gold: 0
Join Date: Apr 2014
Posts: 83
Received Thanks: 4
|
@
japp würde ich so sagen.
@ 
Ohne einen Laufenden Dienst ists schlecht.
|
|
|
06/03/2016, 09:57
|
#217
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 17
|
Ja, sehe ich auch so. Aber die Datei ist ja da.
Code:
service vsftpd restart
klappt ja auch ohne Fehlermeldung.
Die Datei ist hier vorhanden:
/etc/init.d/vsftpd mit den richtigen Rechten
Code:
#!/bin/sh
### BEGIN INIT INFO
# Provides: vsftpd
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Very secure FTP server
# Description: Provides a lightweight, efficient FTP server written
# for security.
### END INIT INFO
set -e
DAEMON="/usr/sbin/vsftpd"
NAME="vsftpd"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
LOGFILE="/var/log/vsftpd.log"
CHROOT="/var/run/vsftpd/empty"
test -x "${DAEMON}" || exit 0
. /lib/lsb/init-functions
if [ ! -e "${LOGFILE}" ]
then
touch "${LOGFILE}"
chmod 640 "${LOGFILE}"
chown root:adm "${LOGFILE}"
fi
if [ ! -d "${CHROOT}" ]
then
mkdir -p "${CHROOT}"
fi
case "${1}" in
start)
log_daemon_msg "Starting FTP server" "${NAME}"
if [ -e /etc/vsftpd.conf ] && ! egrep -iq "^ *listen(_ipv6)? *= *yes" /etc/vsftpd.conf
then
log_warning_msg "vsftpd disabled - listen disabled in config."
exit 0
fi
start-stop-daemon --start --background -m --oknodo --pidfile /var/run/vsftpd/vsftpd.pid --exec ${DAEMON}
n=0
while [ ${n} -le 5 ]
do
_PID="$(if [ -e /var/run/vsftpd/vsftpd.pid ]; then cat /var/run/vsftpd/vsftpd.pid; fi)"
if ! ps -C vsftpd | grep -qs "${_PID}"
then
break
fi
sleep 1
n=$(( $n + 1 ))
done
if ! ps -C vsftpd | grep -qs "${_PID}"
then
log_warning_msg "vsftpd failed - probably invalid config."
exit 1
fi
log_end_msg 0
;;
stop)
log_daemon_msg "Stopping FTP server" "${NAME}"
start-stop-daemon --stop --pidfile /var/run/vsftpd/vsftpd.pid --oknodo --exec ${DAEMON}
rm -f /var/run/vsftpd/vsftpd.pid
log_end_msg 0
;;
restart)
${0} stop
${0} start
;;
reload|force-reload)
log_daemon_msg "Reloading FTP server configuration"
start-stop-daemon --stop --pidfile /var/run/vsftpd/vsftpd.pid --signal 1 --exec $DAEMON
log_end_msg "${?}"
;;
status)
status_of_proc "${DAEMON}" "FTP server"
;;
*)
echo "Usage: ${0} {start|stop|restart|reload|status}"
exit 1
;;
esac
exit 0
Allerdings habe ich gerade mal status geprüft:
Code:
root@mail:~# service vsftpd status
● vsftpd.service - vsftpd FTP server
Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled)
Active: failed (Result: exit-code) since Fri 2016-06-03 10:06:58 CEST; 50s ago
Process: 31750 ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf (code=exited, status=2)
Process: 31749 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited, status=0/SUCCESS)
Main PID: 31750 (code=exited, status=2)
Jun 03 10:06:58 mail systemd[1]: vsftpd.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 03 10:06:58 mail systemd[1]: Unit vsftpd.service entered failed state.
root@mail:~#
Da muss ich wohl nochmal was prüfen
|
|
|
06/03/2016, 10:08
|
#218
|
elite*gold: 0
Join Date: Apr 2014
Posts: 83
Received Thanks: 4
|
Ja gut, ist installiert, startet aber nicht, weil wohl irgendwas nicht klappt.
Probier mal listen=NO und listenipv6 = yes @
|
|
|
06/03/2016, 12:31
|
#219
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 17
|
Ne klappt auch nicht. Werde einfach die Spielwiese neu aufsetzen und alles nochmal durchgehen, mal gucken was passiert.
|
|
|
06/03/2016, 14:12
|
#220
|
elite*gold: 0
Join Date: Oct 2011
Posts: 160
Received Thanks: 7
|
Kleine Frage,
Bekomme Ajenti mit SSL nicht zum Laufen.
Gesicherte Verbindung abgebrochen
Wie bekomm ichs zum laufen
|
|
|
06/03/2016, 14:42
|
#221
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 17
|

Ich hoffe, es hilft dir.
|
|
|
06/04/2016, 04:58
|
#222
|
elite*gold: 0
Join Date: Oct 2011
Posts: 160
Received Thanks: 7
|
Habe Gemerkt dass es zu zu vielen Inkompabilitäten mit Liveconfig & Ajenti kommt...
PHP7 zu installieren Habe ich einen Umweg gefunden
Bitte um ein Update mit ggf. die Möglichkeiten Ein Adminpanel wie Ajenti, Froxlor & Liveconfig zu installieren..
Oder um ein Tut. wie ich Liveconfig mit diesem Script nutze
LG Axiades ^^
|
|
|
06/04/2016, 09:31
|
#223
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 17
|
Froxlor war wohl schon mal mit on Board, wurde aber aus Sicherheitstechnischen Gründen raus gekantet.
Brauchst du sowas wirklich? Also möchtest du anderen Space und Domains anbieten etc.? Vielleicht gibt es ja andere Wege. Ich habe früher auch viel mit Froxlor gearbeitet. Muss aber zugeben, dass ich ohne besser dran bin. Aber nur, weil ich es nicht gebraucht habe und ich nicht wusste wie ich z.B. FTP Benutzer etc. anlege. Das Wissen habe ich mir nun nach und nach aneignen können.
Falls du Lieveconfig benötigst, wenn du wirklich anderen Space und co zur Verfügung stellen möchtest und es größere Probleme gibt, macht es ggf. Sinn für einen Obolus mal anzufragen ob Dir das jemand einrichtet.
|
|
|
06/04/2016, 12:09
|
#224
|
elite*gold: 48
Join Date: Nov 2010
Posts: 212
Received Thanks: 11
|
Die DNS Einstellungen wurden nun übernommen. Wenn ich die Installation starte, bekomme ich schonmal folgende Meldungen. Die zensierten Sachen sind die eingegebenen Passwörter in der Userconfig.
Dann kommt der nächste Fehler in der Installation:
Dann der nächste Fehler:
Dann muss ich in der Installation bestimmt 20x das Passwort eingeben.
|
|
|
06/04/2016, 14:09
|
#225
|
elite*gold: 0
Join Date: Apr 2014
Posts: 83
Received Thanks: 4
|
Verwendest du eigene Passwörter? oder Generierte?
Hast du die Passwörter in der Config richtig angegeben? glaube ohne die "".
Und ist es eine frische Installation vom Debian 8? oder war schon mal was installiert, denn dann stimmen die PWs der Datenbanken nicht mehr.
|
|
|
 |
|
Similar Threads
|
Der perfekte Rootserver (Nginx, SSL, Mailserver, Roundcube, phpMyAdmin, Firewall)
10/14/2016 - Tutorials - 379 Replies
Der perfekte Rootserver
Version 0.3.8
Was kann das Skript?:
Das Skript ist ein Allrounder und bietet eine Oneclick-Installation, die zahlreiche Systeme und Funktionen mit sich bringt. Es ist dafür gedacht einen frisch aufgesetzten Debian Jessie minimal Server in einen perfekten Rootserver zu verwandeln. Besonders für unerfahrene User ist das Skript bestens dafür geeignet, per "oneclick" eine sichere, perfomante und optimale Umgebung für seine Projekte zu schaffen. Die im Skript...
|
Der perfekte Rootserver by Zypr
12/14/2015 - Unix/Linux - 8 Replies
Hallo Community.
Ich habe ein Kleines Problem beim Installieren des Scriptes von Zypr.
Unzwar bekomme ich immer Fehler Meldungenen Während der Installation
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
[Suche]Perfekte Serverfiles+Client für Rootserver
07/26/2011 - Metin2 Private Server - 9 Replies
Hey Leute,
Also ich suche für meinen Metin2-Rootserver gute Serverfiles+Client.
Sie sollten haben:
*Die neuen Waffen von SonyStyle
*Die neuen Rüsstungen von EYvil
*Reittiere (Egal ob alt oder neu)
*Maximal level: mindestens 120
*Es darf nichts verbuggt sein
Also das sollte in den Client+in den Serverfiles/Datenbank drinnen sein.
|
All times are GMT +1. The time now is 18:44.
|
|