Update: Habe doch gerade bei der Notfall Hotline angerufen. Der Server wird gerade gewartet und sollte in Kürze wieder online sein! Also kein Grund zur Sorge!
An den Bereitschaftshabenden: Nochmals Entschuldigung für die späte Störung!
Update: Habe doch gerade bei der Notfall Hotline angerufen. Der Server wird gerade gewartet und sollte in Kürze wieder online sein! Also kein Grund zur Sorge!
An den Bereitschaftshabenden: Nochmals Entschuldigung für die späte Störung!
Ich rufe mal im Namen aller an.
Edit: Gönnen wir Ihnen Ihre Nachtruhe. Bin zwar ziemlich sicher, dass das Problem nicht an mir liegt aber 40€ bei Fehlalarm sind dennoch 2much
Selbes Problem hier.
VCP macht unter Rubrikpunkt "Kontrolle" garnix mehr.
Server lässt sich nach 10 Minuten per SSH wieder erreichen mit folgender Rückmeldung "-bash: fork: Nicht genügend Hauptspeicher verfügbar"
Serverip: 88.198.183.***
Ping und Tracert sehen OK aus.
ich hab nicht alles genutzt.. (siehe vorherige Diskussionen im Thread) aber zu 80% war's schon sehr hilfreich!
Vielleicht solltest du die Änderungen bzw. neuerungen markieren für User die deine erste Anleitung bereits befolgt haben ; )
Hallo!,
Ich versuche eine Domain nicht nur einem, sondern mehreren Kunden zuzuteilen.
Da wir mehrere Leute sind, die aber auf ein- und dieselbe Domain zugreifen wollen bzw. den selben Domainnamen hinter dem *@domain.de stehen haben wollen, wäre das wohl am praktischsten.
Das hätte den Vorteil, dass sie ihre Spamassassin, sowie ClamAV Settings selbst bearbeiten könnten, ihre Email selbst anlegen könnten, limitierten Space, FTP, 1 Subdomain etc. anlegen können.
Problematik ist die, dass ich ja nur User habe und keine wirklichen Kunden.
Frage 2:
Ist es möglich im Usermenü die Rubrik "Extras" auszuschalten?
Falls die beiden Sachen nicht möglich sein sollten.. wüsste jemand webbasierte alternative?
Vielen Dank!
Schönen Guten Abend! (Morgen!) ;-),
habe mich gestern bereits mit den Einstellungen von Fail2ban herumgeschlagen. Ich habe das Script von Stachi als "aussperren.conf" gespeichert und diese auch in der jail.conf mittels:
"actionban = /etc/fail2ban/action.d/aussperren.sh <ip> add" und
"actionunban = /etc/fail2ban/action.d/aussperren.sh <ip> del"
ausgeführt.
Sollte ich nun nicht eigentlich auch gebannte IP's im OpenVCP sehen?
Danke für's Antworten!
Lag ich doch richtig mit dem Zeichensatz ; )
Wusste nur nicht das ich das im Putty noch ändern kann.. Dachte der Server läuft auf UTF-8 also auch mein Putty. Nuja hab ich mich wohl geirrt.
Vielen lieben Dank für die rasche Antwort! Endlich seh ich wieder Klartext
Liebe Community!,
irgendwie ist mir gerade erst aufgefallen das mein Putty bzw. der vServer (Debian Lenny) mir einen falschen Zeichensatz auswirft. So kommt es zum Beispiel zu Auswürfen wie "rm: Entfernen von âreflexâ nicht möglich: Ist ein Verzeichnis", da er Umlaute nicht korrekt darstellt.
(Nein ich wollte es nicht Löschen, sondern nur Darstellen was genau ich meinte. Das Verzeichnis trägt den Originalnamen: "reflex")
Schlimmer noch wirds wenn ich den Midnightcommander (mc) starte. Da ist die halbe Nutzeroberfläche hinüber.
Nun zu meinen Fragen:
1. Liegt es überhaupt am Zeichensatz und falls ja
2. Wie oder wo kann ich diesen umstellen?
Herzlichste Grüße!
RefleX
Ja und wo der die 46% hernimmt ist mir ein Rätsel.
Nach dem kill OK, allerdings ist mir der Apache noch ein Dorn im Auge:
root 1 0.3 0.0 10312 612 ? Ss 03:56 2:24 init [2]
root 4342 0.0 0.2 65960 6224 ? S 14:37 0:00 python /usr/sbin/denyhosts --daemon --purge --config=/etc/denyhosts.conf --config=/etc/denyhosts.conf
www-data 7950 0.0 0.3 210968 6768 ? S 04:42 0:00 /usr/sbin/apache2 -k start
root 8868 7.5 0.2 244028 4924 ? Sl 03:56 49:55 /usr/sbin/rsyslogd -c3
bind 8907 0.0 0.9 245268 19752 ? Ssl 03:56 0:00 /usr/sbin/named -u bind
root 8932 0.0 0.0 48864 1204 ? Ss 03:56 0:00 /usr/sbin/sshd
root 8967 0.0 0.0 17312 1448 ? S 03:56 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 9010 0.0 1.1 227920 24492 ? Sl 03:56 0:10 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=330
root 9011 0.0 0.0 3780 596 ? S 03:56 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 9322 0.0 0.0 6060 460 ? S 03:56 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 9323 0.0 0.0 29596 1256 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9326 0.0 0.0 31692 1608 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9327 0.0 0.0 29596 428 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9328 0.0 0.0 29596 428 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9329 0.0 0.0 31692 1608 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9330 0.0 0.0 31692 1608 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9335 0.0 0.0 6060 456 ? S 03:56 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslo
root 9336 0.0 0.0 9232 684 ? S 03:56 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd M
root 9342 0.0 0.0 6060 380 ? S 03:56 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/pop3d.pid -start -name=pop3d /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noiden
root 9343 0.0 0.0 9232 664 ? S 03:56 0:00 /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -address=0 110 /usr/lib/courier/courier/courierpop3login /usr/lib/c
root 9474 0.0 0.1 36840 2296 ? Ss 03:56 0:00 /usr/lib/postfix/master
postfix 9478 0.0 0.1 38944 2252 ? S 03:56 0:00 qmgr -l -t fifo -u
root 9492 0.0 0.0 19264 960 ? Ss 03:56 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat
root 9525 0.0 0.0 12376 632 ? Ss 03:56 0:00 /usr/sbin/dovecot
root 9531 0.0 0.1 71128 2956 ? S 03:56 0:00 dovecot-auth
proftpd 9602 0.0 0.0 77412 1760 ? Ss 03:56 0:00 proftpd: (accepting connections)
root 9618 0.0 0.0 20308 1052 ? Ss 03:56 0:00 /usr/sbin/cron
root 9630 0.0 0.4 210448 10232 ? Ss 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9631 0.0 0.1 136432 2880 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9638 0.0 1.0 218136 21764 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9639 0.0 0.8 219368 18104 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9640 0.0 1.2 225472 25660 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9642 0.0 0.7 216920 16476 ? S 03:56 0:00 /usr/sbin/apache2 -k start
root 9647 0.0 0.2 73480 6256 ? Sl 03:56 0:14 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 10938 0.0 0.1 66060 3180 ? Ss 14:34 0:00 sshd: root@notty
root 11968 0.0 0.0 42084 1892 ? Ss 14:34 0:00 /usr/lib/openssh/sftp-server
www-data 15526 0.0 0.3 210952 6528 ? S 14:29 0:00 /usr/sbin/apache2 -k start
www-data 16318 0.0 0.8 219720 18820 ? S 04:37 0:00 /usr/sbin/apache2 -k start
www-data 16613 0.0 0.6 213288 14480 ? S 04:37 0:00 /usr/sbin/apache2 -k start
www-data 16614 0.0 0.7 213756 16300 ? S 04:37 0:00 /usr/sbin/apache2 -k start
www-data 16616 0.0 0.7 214832 15448 ? S 04:37 0:00 /usr/sbin/apache2 -k start
root 25359 0.0 0.1 65928 3152 ? Ss 14:53 0:00 sshd: root@pts/24
root 26789 0.0 0.0 19220 1820 pts/24 Ss 14:53 0:00 -bash
root 28069 0.0 0.0 16488 1100 pts/24 R+ 14:53 0:00 ps -aux
root 29705 0.0 0.1 66060 3204 ? Ss 14:30 0:00 sshd: root@notty
root 30262 0.0 0.0 42236 2020 ? Ss 14:30 0:00 /usr/lib/openssh/sftp-server
postfix 31985 0.0 0.1 38896 2204 ? S 13:56 0:00 pickup -l -t fifo -u -c
Alles anzeigen
Ich schliesse mich mal den hohen Load Werten an. Sehr mysteriös.
Aber bei mir geht's doch sehr ins extreme: Jemand ne Idee woran das liegen könnte?
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.3 0.0 10312 612 ? Ss 03:56 2:24 init [2]
root 4342 0.0 0.2 65960 5992 ? S 14:37 0:00 python /usr/sbin/denyhosts --daemon --purge --config=/etc/denyhosts.conf --config=/etc/denyhosts.conf
www-data 7950 0.0 0.3 210968 6756 ? S 04:42 0:00 /usr/sbin/apache2 -k start
root 8868 7.6 0.2 244028 4924 ? Sl 03:56 48:46 /usr/sbin/rsyslogd -c3
bind 8907 0.0 0.9 245268 19752 ? Ssl 03:56 0:00 /usr/sbin/named -u bind
root 8932 0.0 0.0 48864 1204 ? Ss 03:56 0:00 /usr/sbin/sshd
root 8967 0.0 0.0 17312 1448 ? S 03:56 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 9010 0.0 1.1 227920 24484 ? Sl 03:56 0:10 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=330
root 9011 0.0 0.0 3780 596 ? S 03:56 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 9316 46.1 2.1 107596 45052 ? Ss 03:56 296:01 /usr/sbin/spamd -m 10 -u spamd --socketpath=/var/run/spamd.sock -d --pidfile=/var/run/spamd.pid
root 9322 0.0 0.0 6060 460 ? S 03:56 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 9323 0.0 0.0 29596 1256 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9326 0.0 0.0 31692 1608 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9327 0.0 0.0 29596 428 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9328 0.0 0.0 29596 428 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9329 0.0 0.0 31692 1608 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9330 0.0 0.0 31692 1608 ? S 03:56 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 9335 0.0 0.0 6060 456 ? S 03:56 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslo
root 9336 0.0 0.0 9232 684 ? S 03:56 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd M
root 9342 0.0 0.0 6060 380 ? S 03:56 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/pop3d.pid -start -name=pop3d /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noiden
root 9343 0.0 0.0 9232 664 ? S 03:56 0:00 /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -address=0 110 /usr/lib/courier/courier/courierpop3login /usr/lib/c
root 9474 0.0 0.1 36840 2296 ? Ss 03:56 0:00 /usr/lib/postfix/master
postfix 9478 0.0 0.1 38944 2252 ? S 03:56 0:00 qmgr -l -t fifo -u
root 9492 0.0 0.0 19264 960 ? Ss 03:56 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat
root 9525 0.0 0.0 12376 632 ? Ss 03:56 0:00 /usr/sbin/dovecot
root 9531 0.0 0.1 71128 2956 ? S 03:56 0:00 dovecot-auth
proftpd 9602 0.0 0.0 77412 1760 ? Ss 03:56 0:00 proftpd: (accepting connections)
root 9618 0.0 0.0 20308 1052 ? Ss 03:56 0:00 /usr/sbin/cron
root 9630 0.0 0.4 210448 10232 ? Ss 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9631 0.0 0.1 136432 2880 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9638 0.0 1.0 218136 21752 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9639 0.0 0.8 219368 18104 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9640 0.0 1.2 225472 25660 ? S 03:56 0:00 /usr/sbin/apache2 -k start
www-data 9642 0.0 0.7 216920 16476 ? S 03:56 0:00 /usr/sbin/apache2 -k start
root 9647 0.0 0.2 73480 6256 ? Sl 03:56 0:14 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 10938 0.0 0.1 66060 3180 ? Ss 14:34 0:00 sshd: root@notty
root 11968 0.0 0.0 42084 1892 ? Ss 14:34 0:00 /usr/lib/openssh/sftp-server
www-data 15526 0.0 0.3 210952 6528 ? S 14:29 0:00 /usr/sbin/apache2 -k start
www-data 16318 0.0 0.8 219720 18820 ? S 04:37 0:00 /usr/sbin/apache2 -k start
www-data 16613 0.0 0.6 213288 14480 ? S 04:37 0:00 /usr/sbin/apache2 -k start
www-data 16614 0.0 0.7 213756 16244 ? S 04:37 0:00 /usr/sbin/apache2 -k start
www-data 16616 0.0 0.3 210968 6692 ? S 04:37 0:00 /usr/sbin/apache2 -k start
root 17833 0.0 0.0 0 0 ? Z 14:38 0:00 [spamd] <defunct>
root 17834 0.0 2.0 107596 43448 ? R 14:38 0:00 /usr/sbin/spamd -m 10 -u spamd --socketpath=/var/run/spamd.sock -d --pidfile=/var/run/spamd.pid
root 17835 0.0 0.0 16488 1084 pts/24 R+ 14:38 0:00 ps -aux
root 17836 0.0 2.0 107596 43448 ? R 14:38 0:00 /usr/sbin/spamd -m 10 -u spamd --socketpath=/var/run/spamd.sock -d --pidfile=/var/run/spamd.pid
root 23749 0.0 0.1 66064 3164 ? Rs 14:35 0:00 sshd: root@pts/24
root 24624 0.0 0.0 19216 1820 pts/24 Ss 14:35 0:00 -bash
root 29705 0.0 0.1 66060 3204 ? Ss 14:30 0:00 sshd: root@notty
root 30262 0.0 0.0 42236 2020 ? Ss 14:30 0:00 /usr/lib/openssh/sftp-server
postfix 31985 0.0 0.1 38896 2204 ? S 13:56 0:00 pickup -l -t fifo -u -c
Alles anzeigen
Ja, war so gewollt, dankeschön.
Habe die Option mit Open_Basedir auch vorher schon in Erwägung gezogen. Sicherheitshalber wollt ichs auch anlassen. Aber da ich ja eh kein Shared Hosting betreiben möchte passiert ja da auch nix.
Deshalb wird es so belassen und das Thema wird feierlich mit einem "SOLVED" beendet
Werde mich jetzt weiter mit Dovecot rumschlagen. Der spinnt auch schon wieder *g*
Jup scheint an openbasedir zu liegen. Wenn ich domain.de/phpmyadmin aufrufe kommt nach dem einrichten der Subdomain folgendes:
ZitatWarning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/:/tmp/) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Fatal error: Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
server ist geupdatet.. jetzt fehlt's nurnoch an open_basedir, dann haben wir's
danke Stef-Mar!
sooo funktionieren tuts nun.. hab die subdomain einfach als admin und nicht als kunde angelegt.
jetzt stellt sich nurnoch ein problem dar. Nach dem Anlegen der Domain kommt bei mir im SysCP unter "Konfiguration"
ZitatWarning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/etc/apache2/sites-enabled) is not within the allowed path(s): (/var/www/:/tmp/) in /var/www/syscp/lib/functions.php on line 1878
die subdomains funktionieren super! nur kommt das nach dem anlegen. Weiß jemand abhilfe?
Sehen kann ich da nix. Ich kann lediglich einen Pfad beim Kunden anlegen angeben... dieser lautet "/var/www/" ... ist auch genau so übernommen.
Beim Anlegen einer Subdomain gebe ich "/var/www/syscp/" ein und so leitet er automatisch in "/var/customers/RefleX/var/www/syscp/".
Im Übrigen: Ich habe die
20_syscp_normal_vhost_admin.domain.de.conf bearbeitet und statt "DocumentRoot "/var/customers/webs/RefleX/var/www/syscp/"
"DocumentRoot "/var/www/syscp/" angegeben.
Auch das hilft nichts..
Im übrigen: SysCP Version ist die 1.4.2.2
Danke dir!
Normalerweise muss es aber doch auch möglich sein die Subdomain über das SysCP richtig anlegen zu können. In der Datei steht ja schon
Zitat# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
Irgendwo muss ich im SysCP doch auch "/var/www/" statt "/var/customers/webs/RefleX/" angeben können?
Beim Anlegen der Domain habe ich das ja als Documentroot bereits getan.
Beim Eintrag der Subdomain jedoch ist es jedoch egal was man beim Pfad angibt oder ob man das Heimverzeichnis angibt: Man landet immer wieder in "/var/customers/kunde/".
Kann man das nicht irgendwo ändern?
Schon gewundert
Nun steht in der vHost datei für den angelegten Host folgendes:
ZitatAlles anzeigen# 20_syscp_normal_vhost_admin.domain.de.conf
# Created 06.06.2010 19:25
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
# Domain ID: 3 - CustomerID: 1 - CustomerLogin: RefleX
<VirtualHost xx.xxx.xxx.xxx:80>
ServerName admin.domain.de
ServerAlias www.admin.domain.de
ServerAdmin admin@domain.de
DocumentRoot "/var/customers/webs/RefleX/var/www/syscp/"
php_admin_value open_basedir "/var/customers/webs/RefleX/var/www/syscp/:/tmp/"
php_admin_flag safe_mode On
Alias /webalizer "/var/customers/webs/RefleX/webalizer"
ErrorLog "/var/customers/logs/RefleX-error.log"
CustomLog "/var/customers/logs/RefleX-access.log" combined
</VirtualHost>
Also:
ZitatAlles anzeigen<VirtualHost xx.xxx.xxx.xxx:80>
ServerAdmin webmaster
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Habe den Cronjob abgewartet und auf ne neue Datei gewartet. Der Auszug kommt aus der "default" Datei. Nebst dieser existiert lediglich die "default-ssl" Datei.
Hi! Danke für die schnelle Antwort.
Ich bin leider komplett neu in SysCP und weiß jetzt nicht genau wie ich diesen Container erstelle bzw. wo ich diesen finde.
Mit dem Server selbst komme ich ja prächtig klar, aber sobald das ganze Richtung Web geht fehlen mir einfach die Grundkentnisse. Könntest du mir da evtl. einen kleinen Tip geben?
Danke!
Im SysCP finde ich leider keine Möglichkeit die Page als Wildcard zu definieren.
Sowohl wenn ich den Kunden anlege, als auch wenn ich als Kunde eingeloggt bin finde ich keine Wildcardfunktion?!