Jump to content
Froxlor Forum
  • 0

cron problem


adm

Question

Hallo, ich habe auf meinem anderen Server mit Lenny von Syscp auf Froxlor migriert,

 

Meine Cronjobs werden seit upgrade (gestern) nicht mehr ausgef?hrt.

Datei froxlor unter /etc/cron.d/ ist vorhanden,

*/5 * * * *	root	/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php

 

Ich kann auch keine neue domains/subdomain anlegen oder l?schen,

domain wird in Froxlor erstellt (oder gel?scht) aber unter /etc/apache2/sites-enabled ist diese domain nicht vorhanden bzw. wird nicht gel?scht.

Wie kann ich das problem beheben?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Hallo,

Nein, nicht kompiliert. Das ist eine Standart installation.

Manuel habe ich schon mehrmals ausgef?hrt.

srv:~# /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php 

Meistens kommt keine Fehlermeldung, ab und zu aber: (logs auschnitt)

PHP Warning:  Invalid argument supplied for foreach() in /var/www/froxlor/scripts/jobs/cron_traffic.php on line 291
PHP Warning:  exec() has been disabled for security reasons in /var/www/froxlor/lib/functions/filedir/function.safe_exec.php on line 113
PHP Warning:  Invalid argument supplied for foreach() in /var/www/froxlor/scripts/jobs/cron_traffic.php on line 315
PHP Warning:  exec() has been disabled for security reasons in /var/www/froxlor/lib/functions/filedir/function.safe_exec.php on line 113
PHP Warning:  exec() has been disabled for security reasons in /var/www/froxlor/lib/functions/filedir/function.safe_exec.php on line 113
PHP Warning:  exec() has been disabled for security reasons in /var/www/froxlor/lib/functions/filedir/function.safe_exec.php on line 113
PHP Warning:  Invalid argument supplied for foreach() in /var/www/froxlor/scripts/jobs/cron_traffic.php on line 291
PHP Warning:  exec() has been disabled for security reasons in /var/www/froxlor/lib/functions/filedir/function.safe_exec.php on line 113
PHP Warning:  Invalid argument supplied for foreach() in /var/www/froxlor/scripts/jobs/cron_traffic.php on line 315

 

 

Andere, nicht Froxlor Crons, funktionieren ohne Probleme z.B f?r Backups, u.s.w.

Link to comment
Share on other sites

exec() has been disabled for security reasons

dann pass mal deine php.ini an (die ist wohl nicht default...)

 

Nein, nicht kompiliert. Das ist eine Standart installation.

heisst nicht immer das alles dabei ist was du brauchst...Ausschnitt f?r Lenny: php5 php5-cli php5-common php5-gd php5-imap php5-mysql php5-suhosin

Link to comment
Share on other sites

Wenn ich exec und alle andere aus disable_funktions in php.ini entfernt habe, nach apache restart war das gleiche Problem. Mein php.ini: click

Normalerweise werden Cronjobs f?r Froxlor ohne Probleme ausgef?hrt auch wenn exec,system_exec,shell,shell_exec unter disable_functions eingetragen ist

 

php5 is already the newest version.
php5 set to manually installed.
php5-cli is already the newest version.
php5-cli set to manually installed.
php5-common is already the newest version.
php5-common set to manually installed.
php5-gd is already the newest version.
php5-gd set to manually installed.
php5-imap is already the newest version.
php5-imap set to manually installed.
php5-mysql is already the newest version.
php5-mysql set to manually installed.
php5-suhosin is already the newest version.
php5-suhosin set to manually installed.

 

suhosin.ini: click

Link to comment
Share on other sites

Danke f?r den Hinweis

Also, ich habe disable_functions leer gemacht unter apache2 und cli . Apache, crond restartet.

Neue Ordner f?r Domains werden angelegt, aber nur wenn ich cron manuel ausf?hre.

 

Automatisch, funktioniert immer noch nicht.

Es kommt keine Fehlermeldung.

Link to comment
Share on other sites

Archived

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



×
×
  • Create New...