September 26, 201015 yr Moinsen, Also ich habe vor ca 10 Stunden meinen Server neuinstalliert und dabei Froxlor drauf geladen und auch die Konfiguration schrit f?r schrit abgearbeitet. So jetzt steht aber seit 8 Stunden bei mir das: http://img46.imageshack.us/img46/3718/bild2it.png Hmm wo liegt das Problem im script?
September 26, 201015 yr Cronscript konfiguriert und /etc/init.d/cron neugestartet? Wichtig ist, das der Frxolor-Pfad der in /etc/cron.d/froxlor stimmt. Dieser wird in der Template Datei nicht vom System ausgelesen.
September 26, 201015 yr Dann f?hre den Task mal in der Shell manuell aus: /usr/bin/php5 -q /var/www/froxlorsyslocal/scripts/froxlor_master_cronjob.php Erscheint eine Fehlermeldung? Wenn nein stimmt wahrscheinlich etwas mit dem Cronjob nicht.
September 26, 201015 yr Author Sep 26 08:54:35 tix /usr/sbin/cron[23188]: (CRON) INFO (pidfile fd = 3)Sep 26 08:54:35 tix /usr/sbin/cron[23190]: (CRON) STARTUP (fork ok) Sep 26 08:54:35 tix /usr/sbin/cron[23190]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Hmm aber wo habe ich jetzt den fehler? EDIT: Sep 26 08:48:17 tix /usr/sbin/cron[22401]: (CRON) INFO (pidfile fd = 3)Sep 26 08:48:17 tix /usr/sbin/cron[22402]: (CRON) STARTUP (fork ok) Sep 26 08:48:17 tix /usr/sbin/cron[22402]: (CRON) INFO (Running @reboot jobs) Sep 26 08:50:01 tix /USR/SBIN/CRON[22683]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 08:50:01 tix /USR/SBIN/CRON[22684]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 08:52:25 tix /usr/sbin/cron[22907]: (CRON) INFO (pidfile fd = 3) Sep 26 08:52:25 tix /usr/sbin/cron[22909]: (CRON) STARTUP (fork ok) Sep 26 08:52:25 tix /usr/sbin/cron[22909]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Sep 26 08:52:31 tix /usr/sbin/cron[22943]: (CRON) INFO (pidfile fd = 3) Sep 26 08:52:31 tix /usr/sbin/cron[22944]: (CRON) STARTUP (fork ok) Sep 26 08:52:31 tix /usr/sbin/cron[22944]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Sep 26 08:54:35 tix /usr/sbin/cron[23188]: (CRON) INFO (pidfile fd = 3) Sep 26 08:54:35 tix /usr/sbin/cron[23190]: (CRON) STARTUP (fork ok) Sep 26 08:54:35 tix /usr/sbin/cron[23190]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Sep 26 08:55:01 tix /USR/SBIN/CRON[23274]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 08:58:35 tix /usr/sbin/cron[23574]: (CRON) INFO (pidfile fd = 3) Sep 26 08:58:35 tix /usr/sbin/cron[23576]: (CRON) STARTUP (fork ok) Sep 26 08:58:35 tix /usr/sbin/cron[23576]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Sep 26 08:59:42 tix Froxlor: [Administrator Action (Serveradmin)] updated resource-counters Sep 26 09:00:01 tix /USR/SBIN/CRON[23742]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 09:00:01 tix /USR/SBIN/CRON[23743]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:00:59 tix /usr/sbin/cron[23862]: (CRON) INFO (pidfile fd = 3) Sep 26 09:00:59 tix /usr/sbin/cron[23863]: (CRON) STARTUP (fork ok) Sep 26 09:00:59 tix /usr/sbin/cron[23863]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Sep 26 09:05:01 tix /USR/SBIN/CRON[24433]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:09:01 tix /USR/SBIN/CRON[24995]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Sep 26 09:10:01 tix /USR/SBIN/CRON[25235]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 09:10:01 tix /USR/SBIN/CRON[25236]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:15:01 tix /USR/SBIN/CRON[25627]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:17:01 tix /USR/SBIN/CRON[26134]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 26 09:20:01 tix /USR/SBIN/CRON[26381]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 09:20:01 tix /USR/SBIN/CRON[26382]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:25:01 tix /USR/SBIN/CRON[27938]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:30:01 tix /USR/SBIN/CRON[30689]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:30:01 tix /USR/SBIN/CRON[30690]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 09:35:01 tix /USR/SBIN/CRON[31436]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:39:01 tix /USR/SBIN/CRON[31954]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Sep 26 09:40:01 tix /USR/SBIN/CRON[32152]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:40:01 tix /USR/SBIN/CRON[32153]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 09:45:01 tix /USR/SBIN/CRON[32721]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:49:38 tix nss-mysql[29761]: received control channel command 'reload' Sep 26 09:49:38 tix nss-mysql[29761]: loading configuration from '/etc/bind/named.conf' Sep 26 09:49:38 tix nss-mysql[29761]: using default UDP/IPv4 port range: [1024, 65535] Sep 26 09:49:38 tix nss-mysql[29761]: using default UDP/IPv6 port range: [1024, 65535] Sep 26 09:49:38 tix nss-mysql[29761]: no IPv6 interfaces found Sep 26 09:49:38 tix nss-mysql[29761]: reloading configuration succeeded Sep 26 09:49:38 tix nss-mysql[29761]: reloading zones succeeded Sep 26 09:50:01 tix /USR/SBIN/CRON[1009]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Sep 26 09:50:01 tix /USR/SBIN/CRON[1011]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null) Sep 26 09:51:07 tix Froxlor: [Administrator Action (Serveradmin)] added user 'test' Sep 26 09:55:01 tix /USR/SBIN/CRON[1746]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php^M) Das sind die letzten logs
September 27, 201015 yr sieht nicht nach Fehlern aus, wo genau liegt denn jetzt der Fehler? Werden die Configs nicht geschrieben?
September 28, 201015 yr hast du den cronjob mal manuell in der Konsole ausgef?hrt, bzw. gibt es Emails an root mit einer Fehlermeldung? php /var/www/froxlor/scripts/froxlor_master_cronjob.php
September 28, 201015 yr Author Ja ich hatte mal manuell ausgef?hrt... Und E-Mails habe ich keine bekommen. Sollte Nach arnoldb mal machen... und kamm keine fehlermeldung
September 28, 201015 yr welche configs werden denn nicht erstellt? hast du auch Kunden und Domains angelegt? stimmen die Pfade zu den webserver configs?
September 28, 201015 yr Author Ich habe alles so nach der Anleitung gemacht. Der frisch neu installierte VServer. Source.list bearbeitet apt-get update && upgrade dann diesen lizenz schl?ssel oder so apt-get install froxlor.... Und dann halt standart weiter... keine fehlermeldungen Konfiguration so wie es dort stand und alles haar kleine beachtet...
September 28, 201015 yr Und dann halt standart weiter... keine fehlermeldungen Konfiguration so wie es dort stand und alles haar kleine beachtet... Das heisst erstmal garnichts, Pfade k?nnen auf deinem System ganz anders sein, beantworte doch bitte meine Frage, sonst wird ein Helfen wirklich schwer
September 29, 201015 yr Author Ich habe es grade noch mal neu installiert und bin jetzt grade am konfigurieren. Jetze zum Cronscript was soll ich da genau machen bisher her habe ich es so verstanden das ich eine datei (froxlor) in das /etc/cron.d Verzeichnis erstelle und dann das in der shell ausf?hre: /etc/init.d/cron restart
September 29, 201015 yr Ja, in die Datei kommt nat?rlich bestimmter Inhalt, den du aus den Froxlor-Konfigurations-Templates einsehen kannst. Wie ich gerade im IRC gesehen habe, hat dir arnoldB versucht zu helfen, allerdings war das nicht ganz richtig, bitte die PATH Werte in der Datei nicht ?ndern (also nicht auf /var/www/froxlor/ setzen, das ist falsch). Dann wie du bereits gesagt hast, den cron.d neustarten.
September 29, 201015 yr Ja, in die Datei kommt nat?rlich bestimmter Inhalt, den du aus den Froxlor-Konfigurations-Templates einsehen kannst. Wie ich gerade im IRC gesehen habe, hat dir arnoldB versucht zu helfen, allerdings war das nicht ganz richtig, bitte die PATH Werte in der Datei nicht ?ndern (also nicht auf /var/www/froxlor/ setzen, das ist falsch). Dann wie du bereits gesagt hast, den cron.d neustarten. Er hatte mich falsch verstanden. Ich habe mir danach seinen vServer angesehen. Den Cronjob neukonfiguriert und cron.d neugestartet, abgewartet bis der cronjob ausgef?hrt wird. Wie kiwie bereits geschrieben, wird "php /var/www/froxlor/scripts/ fehlfroxlor_master_cronjob.php" manuell fehlerfrei ausgef?hrt. Neben einigen korrupten Dingen die ich auf dem Server entdeckt habe (zeit ist nicht synchronisiert, mysql probleme.., system kann keine unix mails verschicken, syslog bemerkenswert knapp) vermute ich eher das das image vom hoster mehr als mist ist...
Archived
This topic is now archived and is closed to further replies.