Jump to content
Froxlor Forum
  • 0

Verzeichnisschutz wird nicht angelegt


Thore

Question

Moin Moin

 

Mich plagt nach dem Update ein Problem mit dem Cronjob; wenn ich einen Verzeichnisschutz im Control Panel anlege, wird dieser nicht in vdirs.conf angelegt. Zuerst dachte ich, dass es am Cronjob selbst liegt (da im Control Panel nicht gezeigt wird, dass er l?uft, gem?ss Cron Log l?uft er aber) doch auch wenn ich ihn forciere, geschieht nichts. Irgendwelche Ideen wo ich suchen k?nnte?

 

 

Cheers,

Thore

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

vdirs.conf ist keine von Froxlor erstellte Datei.

 

Werden denn bei der manuellen Ausf?hrung des Crons irgendwelche Fehler angezeigt? Hast du auch alle Einstellungen angepasst und die Services entsprechend konfiguriert? Wie sieht deine /etc/cron.d/froxlor datei aus?

Link to comment
Share on other sites

In den Froxlor Einstellungen gibt es unter dem Punkt "Webserver-Einstellungen" zwei Eintr?ge, einmal "Webserver Verzeichnisoption-Konfigurations-Datei/Verzeichnis-Name" und einmal "Webserver htpasswd Verzeichnisname". Es kommt drauf an, was du dort konfiguriert hast wo Froxlor die Dateien/Eintr?ge f?r den Verzeichnisschutz anlegt.

Link to comment
Share on other sites

Moin Moin

 

Danke erstmal f?r die Antworten. Froxlor im cron.d sieht wie folgt aus;

# automatically generated cron-configuration by froxlor
# do not manually edit this file as it will be re-generated periodically.
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#
*/10 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null
5 0 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --usage_report 1> /dev/null
0 0 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --traffic 1> /dev/null
0 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --mailboxsize 1> /dev/null

Und hier die Eintr?ge aus der Webservereinstellung;

/etc/httpd/conf.d/vdirs.conf
/etc/httpd/syscp-htpasswd/

Die vdirs.conf weisst auch die entsprechenden Informationen aus (habe das directory und password mit xxx ersetzt);

<Directory "/var/www/vhosts/xxx/httpdocs/mysqldumper/">
  AuthType Basic
  AuthName "Restricted Area"
  AuthUserFile /etc/httpd/syscp-htpasswd/xxx.htpasswd
  require valid-user
</Directory>

Link to comment
Share on other sites

Moin Moin

 

Der Eintrag steht nicht in der vdirs.conf, daf?r ein alter (den ich eigentlich gel?scht habe). Die vdirs.conf wird im httpd.conf ?ber den folgenden Befehl eingebunden (mit dem Rest der .conf Files)

#
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf

Ich habe gerade mal im Froxlor nachgeschaut, wann angeblich der letzte Cron Job lief ("Erstellen von Konfigurationsdateien") => 13.06.2014 00:31; das cron Log sagt aber was anderes;

Jun 15 23:30:01 xxx CROND[29426]: (root) CMD (/usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null)

Meines Erachtens sind aber alle Einstellungen richtig (bis zum Update lief es ja auch problemlos).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...