Message 1: From [email protected] Thu Jan 31 13:00:01 2008 X-Original-To: root From: [email protected] (Cron Daemon) To: [email protected] Subject: Cron <root@srv1> /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/root> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=root> Date: Thu, 31 Jan 2008 13:00:01 -0600 (CST) /bin/sh: line 1: 12287 Segmentation fault /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php >&/dev/null this is emails I get? mrfordwrench
Can you run Code: /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php on the command line? Do you get any errors? Which distribution are you using? What's the output of Code: uname -a ?
srv1:~# uname -a Linux srv1.50hq.com 2.6.18-4-686 #1 SMP Wed Apr 18 09:55:10 UTC 2007 i686 GNU/Linux srv1:~# srv1:~# /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php srv1:~# No errors Debian Etch
Can you try Code: SHELL=/bin/sh HOME=/root PATH=/usr/bin:/bin /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php ?
srv1:~# SHELL=/bin/sh HOME=/root PATH=/usr/bin:/bin /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php srv1:~# I am not getting the emails anymore, And the commands seem to work ok.
Run Code: crontab -e and replace Code: /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php with Code: SHELL=/bin/sh HOME=/root PATH=/usr/bin:/bin /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php