very nice!
Super, danke für die Lösungsvorschläge. Das ist natürlich wesentlich einfacher!
Beiträge von markus228
-
-
Hi,
Okay dann muss ich mir wohl oder übel was basteln ;D
-
Hi,
Ich hab ne 100 Mbit Leitung bei Kabel D und wollte gerne eine meiner netcup domains auf den Anschluss zeigen lassen.
Kabel D hat keine Zwangstrennung, das bedeutet, dass man die einmal zugewiesen IP Adresse behält solange man das Modem nicht abschaltet oder neu startet.
Für den Fall eines Modemneustarts oder anderer Störungen wollte ich ein Skript schreiben, dass in einem solchen Fall den A-Record aktualisiert.Bevor ich mich aber hier in die Materie stürze und en POST request simuliere, wollte ich mal fragen, ob es nicht vllt. eine Lösung für faule Leute über eine API gibt.
-
okay^^
Code
Alles anzeigentop - 18:05:33 up 21:56, 1 user, load average: 0.76, 0.78, 0.79 Tasks: 33 total, 1 running, 31 sleeping, 0 stopped, 1 zombie Cpu(s): 98.0%us, 1.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.2%hi, 0.3%si, 0.0%st Mem: 524288k total, 166024k used, 358264k free, 0k buffers Swap: 1048576k total, 0k used, 1048576k free, 0k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6118 ts 34 19 152m 2676 1504 S 1 0.5 0:46.08 server_linux 1 root 15 0 10244 616 580 S 0 0.1 4:07.14 init 857 root 15 0 18820 1184 936 R 0 0.2 0:00.00 top 5746 root 15 0 110m 1660 1028 S 0 0.3 0:00.14 rsyslogd 5763 bind 19 0 132m 24m 2408 S 0 4.7 0:02.53 named 5774 root 15 0 48856 1196 704 S 0 0.2 0:00.00 sshd 5825 root 25 0 17312 1448 1156 S 0 0.3 0:00.00 mysqld_safe 5864 mysql 15 0 227m 25m 5964 S 0 5.0 0:02.49 mysqld 5866 root 18 0 3772 580 492 S 0 0.1 0:00.00 logger 5931 polw 16 0 44028 8332 1292 S 0 1.6 0:00.00 policyd-weight 5937 root 19 0 6052 460 364 S 0 0.1 0:00.00 courierlogger 5938 root 18 0 29592 1252 968 S 0 0.2 0:00.00 authdaemond 5951 root 18 0 6056 380 292 S 0 0.1 0:00.00 courierlogger 5952 root 18 0 9228 656 548 S 0 0.1 0:00.00 couriertcpd 5955 root 18 0 29592 408 124 S 0 0.1 0:00.00 authdaemond 5956 root 18 0 29592 408 124 S 0 0.1 0:00.00 authdaemond 5957 root 18 0 29592 408 124 S 0 0.1 0:00.00 authdaemond 5964 root 16 0 77124 11m 1836 S 0 2.2 0:54.90 python 6075 nobody 15 0 52372 1628 588 S 0 0.3 0:00.00 proftpd 6097 root 15 0 23732 1048 812 S 0 0.2 0:00.01 cron 6109 root 18 0 32280 1008 740 S 0 0.2 0:00.00 cron 6110 ts 15 0 0 0 0 Z 0 0.0 0:00.01 server_linux <defunct> 6119 root 15 0 216m 12m 6916 S 0 2.4 0:00.24 apache2 6195 ts 15 0 36820 2172 1728 S 0 0.4 0:00.00 sendmail 6196 ts 18 0 36812 2168 1716 S 0 0.4 0:00.00 postdrop 6217 ts 15 0 40632 9296 1392 S 0 1.8 0:04.08 ts2perlmod.pl 11499 polw 15 0 44160 8876 1648 S 0 1.7 0:00.11 policyd-weight 12566 root 15 0 66064 3148 2492 S 0 0.6 0:00.20 sshd 12570 root 15 0 22740 1940 1380 S 0 0.4 0:00.05 bash 13088 www-data 15 0 232m 25m 4164 S 0 5.0 0:00.67 apache2 13918 www-data 15 0 216m 7036 1320 S 0 1.3 0:00.00 apache2 14228 root 15 0 66224 3352 2480 S 0 0.6 0:00.16 sshd 14231 root 15 0 42252 2028 1412 S 0 0.4 0:00.07 sftp-server
Code
Alles anzeigenUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.3 0.1 10244 616 ? Ss Jan17 4:07 init [2] root 5746 0.0 0.3 113476 1660 ? Sl Jan17 0:00 /usr/sbin/rsyslogd -c3 bind 5763 0.0 4.7 135648 24800 ? Ssl Jan17 0:02 /usr/sbin/named -u bind root 5774 0.0 0.2 48856 1196 ? Ss Jan17 0:00 /usr/sbin/sshd root 5825 0.0 0.2 17312 1448 ? S Jan17 0:00 /bin/sh /usr/bin/mysqld_safe mysql 5864 0.0 5.0 232880 26384 ? Sl Jan17 0:02 /usr/sbin/mysqld --basedir=/usr --datadir root 5866 0.0 0.1 3772 580 ? S Jan17 0:00 logger -p daemon.err -t mysqld_safe -i -t polw 5931 0.0 1.5 44028 8332 ? Ss Jan17 0:00 policyd-weight (master) root 5937 0.0 0.0 6052 460 ? S Jan17 0:00 /usr/sbin/courierlogger -pid=/var/run/cou root 5938 0.0 0.2 29592 1252 ? S Jan17 0:00 /usr/lib/courier/courier-authlib/authdaem root 5951 0.0 0.0 6056 380 ? S Jan17 0:00 /usr/sbin/courierlogger -pid=/var/run/cou root 5952 0.0 0.1 9228 656 ? S Jan17 0:00 /usr/sbin/couriertcpd -maxprocs=40 -maxpe root 5955 0.0 0.0 29592 408 ? S Jan17 0:00 /usr/lib/courier/courier-authlib/authdaem root 5956 0.0 0.0 29592 408 ? S Jan17 0:00 /usr/lib/courier/courier-authlib/authdaem root 5957 0.0 0.0 29592 408 ? S Jan17 0:00 /usr/lib/courier/courier-authlib/authdaem root 5964 0.0 2.1 77124 11496 ? S Jan17 0:54 python /usr/sbin/denyhosts --daemon --pur nobody 6075 0.0 0.3 52372 1628 ? Ss Jan17 0:00 proftpd: (accepting connections) root 6097 0.0 0.1 23732 1048 ? Ss Jan17 0:00 /usr/sbin/cron root 6109 0.0 0.1 32280 1008 ? S Jan17 0:00 /USR/SBIN/CRON ts 6110 0.0 0.0 0 0 ? Zs Jan17 0:00 [server_linux] <defunct> ts 6118 0.0 0.5 156380 2676 ? SNl Jan17 0:45 /home/ts/tss2_rc2/server_linux root 6119 0.0 2.3 222048 12560 ? Ss Jan17 0:00 /usr/sbin/apache2 -k start ts 6195 0.0 0.4 36820 2172 ? S Jan17 0:00 /usr/sbin/sendmail -i -FCronDaemon -oem t ts 6196 0.0 0.4 36812 2168 ? S Jan17 0:00 /usr/sbin/postdrop -r ts 6217 0.0 1.7 40632 9296 ? S Jan17 0:04 /usr/bin/perl /home/ts/tss2_rc2/ts2perlmo polw 11499 0.0 1.6 44160 8876 ? S 02:29 0:00 policyd-weight (child) root 12566 0.0 0.6 66064 3148 ? Ss 16:47 0:00 sshd: root@pts/22 root 12570 0.0 0.3 22740 1940 pts/22 Ss 16:47 0:00 -bash www-data 13088 0.0 4.9 237988 26036 ? S 17:50 0:00 /usr/sbin/apache2 -k start www-data 13918 0.0 1.3 222180 7036 ? S 17:53 0:00 /usr/sbin/apache2 -k start root 14228 0.0 0.6 66224 3352 ? Ss 16:50 0:00 sshd: root@notty root 14231 0.0 0.3 42252 2028 ? Ss 16:50 0:00 /usr/lib/openssh/sftp-server root 32435 0.0 0.1 17824 1036 pts/22 R+ 18:04 0:00 ps aux
ich seh hier grad den zombie prozess von teamspeak. kommt warhscheinlich durch ein unglückliches Cron-Job Experiment. Das Problem besteht aber weiterhin, wenn ich den Server neu starte un den Cronjob der den Zombie erzeugt unterdrücke.
-
Vor ein paar Tagen konnt ich beobachten, dass meine CPU(s) ständig auf 0 % idle stehen.
Ich kann aber keinen Prozess finden, der diese Auslastung verursacht.
Load bewegt sich auch noch im grünen Bereich.
0.92|0.84|0.75
Kann das sein, dass irgendwer auf meinen Hostsystem die Auslastung verursacht und ich deswegen die Werte hier bekomme? -
So jetzt hab ichs endlich raus.
Das Problem liegt in der Tat an meinem Router.
http://forum.pfsense.org/index.php?topic=13863.msg73869
--> plz close -
Also, bin jetzt weiter gekommen.
Ich habe eine Verbindung mittels PLink zum Server hergestellt und meinen FTP-Client via plink mit der internen IP verbunden (RFC 1918).
Hiermit funktioniert die Verbindung!
Das Problem liegt also entweder an meinem Router oder an irgendwelchen Anomalien seitens des Servers.Bei meinem Router (pfSense) habe ich die Möglichkeit einen sog. "FTP-Proxy" einzuschalten.
-
Nach 2 erfolglosen Stunden rumkonfigurieren weiß ich echt nicht mehr weiter.
Ich wollte bei meinem Etch Image + SysCP den TLS Support bei proftpd aktivieren.Code
Alles anzeigen# proftpd -vv - ProFTPD Version: 1.3.0 (stable) - Scoreboard Version: 01040002 - Built: Tue Nov 4 14:54:12 UTC 2008 - Module: mod_core.c - Module: mod_xfer.c - Module: mod_auth_unix.c - Module: mod_auth_file.c - Module: mod_auth.c - Module: mod_ls.c - Module: mod_log.c - Module: mod_site.c - Module: mod_delay/0.5 - Module: mod_dso/0.4 - Module: mod_auth_pam.c - Module: mod_readme.c - Module: mod_cap/1.0 - Module: mod_ctrls/0.9.4
mod_tls taucht hier nicht auf. Neukompilieren erforderlich?
proftpd.confCode
Alles anzeigenInclude /etc/proftpd/modules.conf ServerName "xxx.de FTP Server" ServerType standalone DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ Port 21 MaxInstances 30 UseIPv6 off TransferLog /var/log/proftpd/xferlog SystemLog /var/log/proftpd/proftpd.log # make proftpd faster / do not perform ident and reverse dns lookup UseReverseDNS off IdentLookups off # Set the user and group that the server normally runs at. User nobody Group nogroup <Directory /*> # 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 </Directory> DefaultRoot ~ RequireValidShell off AuthOrder mod_sql.c SQLAuthTypes Crypt SQLAuthenticate users* groups* SQLConnectInfo syscp@localhost syscp xxx SQLUserInfo ftp_users username password uid gid homedir shell SQLGroupInfo ftp_groups groupname gid members SQLUserWhereClause "login_enabled = 'y'" SQLLog PASS login SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users SQLLog RETR download SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users SQLLog STOR upload SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users [B][FONT=Arial]# Einrichtung mittels TLS module:[/FONT][/B] [B][FONT=Arial]<IfModule mod_tls.c> [/FONT][/B] [B][FONT=Arial]TLSEngine on[/FONT][/B] [B][FONT=Arial]TLSLog /var/log/tls.log[/FONT][/B] [B][FONT=Arial]TLSProtocol SSLv23[/FONT][/B] [B][FONT=Arial]#TLSProtocol TLSv1[/FONT][/B] [B][FONT=Arial]TLSOptions NoCertRequest[/FONT][/B] [B][FONT=Arial]TLSRSACertificateFile /etc/ssl/certs/host.cert[/FONT][/B] [B][FONT=Arial]TLSRSACertificateKeyFile /etc/ssl/certs/host.key[/FONT][/B] [B][FONT=Arial]TLSVerifyClient off[/FONT][/B] [FONT=Arial][B]TLSRequired [/B][/FONT][FONT=Arial][B]off[/B][/FONT] [FONT=Arial][B]</IfModule>[/B][/FONT]
Versuche ich nun mit FileZilla eine sichere Verbindung aufzubauen sagt mir FileZilla:Code[size=8][COLOR=#008000][size=8][COLOR=#008000]Antwort: 220 ProFTPD 1.3.0 Server (xx.de FTP Server) [78.47.xx.xx][/COLOR][/SIZE][/COLOR][/SIZE] [size=8][COLOR=#000080][size=8][COLOR=#000080]Befehl: AUTH TLS[/COLOR][/SIZE][/COLOR][/SIZE] [size=8][COLOR=#008000][size=8][COLOR=#008000]Antwort: 234 AUTH TLS successful[/COLOR][/SIZE][/COLOR][/SIZE] [size=8]Status: Initialisiere TLS...[/SIZE] [size=8][COLOR=#ff0000][size=8][COLOR=#ff0000]Fehler: Zeitüberschreitung der Verbindung[/COLOR][/SIZE] [size=8][COLOR=#ff0000]Fehler: Herstellen der Verbindung zum Server fehlgeschlagen[/COLOR][/SIZE] [/COLOR][/SIZE]
... und im tls.log taucht folgendes auf:CodeMar 13 22:16:57 mod_tls/2.1.1[18789]: TLS/TLS-C requested, starting TLS handshake Mar 13 22:17:17 mod_tls/2.1.1[18789]: unable to accept TLS connection: received EOF that violates protocol Mar 13 22:17:17 mod_tls/2.1.1[18789]: TLS/TLS-C negotiation failed on control channel
Ich hoffe ihr könnt mir helfen, sonst treibt mich proftpd noch in den Wahnsinn -
Mein debian spammt mich mit Fehlermeldungen folgender Art zu:
CodeFeb 27 20:20:02 hostname pam_limits[30939]: setrlimit limit #11 to soft=-1, hard=-1 failed: Operation not permitted; uid=0 euid=0 Feb 27 20:20:03 hostname pam_limits[30939]: setrlimit limit #12 to soft=-1, hard=-1 failed: Operation not permitted; uid=0 euid=0
So wie das aussieht handelt es dabei um Beschränkungen auf dem VServer.
Habt ihr auch solche Meldungen in eurer auth.log?
"IcedEarth" aus dem Debian-Forum (https://www.debianforum.de/forum/viewtopic.php?f=12&t=101278) schlägt folgendes vor:ZitatWird dies auskommentiert, geht es:
[...]
nano /etc/pam.d/cron
# session required pam_limits.sonano /etc/pam.d/ssh
# session required pam_limits.so [...] -
jop, man sollte auch noch drauf achten das die richtige Kodierung ausgewählt ist.
-
Hallo!
Ich hab ein kleines Problem bei der Installation von Asterisk bzw. Zaptel.
Ich habe folgende Anleitung befolgt: http://www.das-asterisk-buch.d…ation-1.4-debian-4.0.htmlWenn ich make install ausführen will erhalte ich folgende Fehlermeldung:
ZitatYou do not appear to have the sources for the 2.6.22-3-vserver-amd64 kernel installed.
Den Kernel kann ich ja nicht updaten da dieser vom Hostsystem zur Verfügung gestellt wird gibt es eine Möglichkeit an die Sources zu kommen.
Kann ich einfach die Sources für den Kernel 2.6.22-3-amd64 aufspielen? -
-
Kann ich register_globals bzw. andere "PHP-Optionen" für verschiedene Kunden aktivieren?