ID:               26884
 User updated by:  forlevibr at yahoo dot com dot br
 Reported By:      forlevibr at yahoo dot com dot br
-Status:           Bogus
+Status:           Closed
 Bug Type:         Reproducible crash
 Operating System: Slackware 9
 PHP Version:      4CVS-2004-01-12
 New Comment:

Is resolved
Thanks


Previous Comments:
------------------------------------------------------------------------

[2004-01-21 09:00:59] forlevibr at yahoo dot com dot br

Hi
I detected the cause.
I compiled php without option --sybase-ct=PATH then the cron work.
I find article in http://dbforums.com/arch/160/2003/4/761172
that reported a problem equal with apache.
The solution was create a initialization script to cron where I seted
the variables to SYBASE (SYBASE, LD_LIBRARY_PATH, LC_ALL) inside from
the script then begin work fine.
More details can be seen in the link above

Thank

------------------------------------------------------------------------

[2004-01-19 13:06:04] [EMAIL PROTECTED]

This is some bug in the crond you're using. 
I (or Ilia) could not reproduce this.
And I'm using vixie-cron..


------------------------------------------------------------------------

[2004-01-19 08:51:05] forlevibr at yahoo dot com dot br

Hi
When I reboot the server, the scripts stop work and throw error
"Segmentation fault" when called by crond.
Then I execute the commands:
  killall crond
  crond
and the scripts work.

------------------------------------------------------------------------

[2004-01-19 07:08:58] forlevibr at yahoo dot com dot br

Hi
I am using crond version 2.3.3;

My crontab file have...

######start file#######

SHELL=/bin/bash
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/php/bin

47 * * * * /usr/bin/run-parts /etc/cron.hourly  1> /dev/null
40 4 * * * /usr/bin/run-parts /etc/cron.daily   1> /dev/null
30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly  1> /dev/null
20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/null

## Two commands is working
0 0-23 * * * php /etc/cron/teste.sh  
#0 0-23 * * * run-parts /etc/cron

###########end file##############


My correct file teste.sh have

###########start file############
SHELL=/bin/bash
PATH=/usr/local/php/bin

php /etc/cron/teste.php
###########end file##############

------------------------------------------------------------------------

[2004-01-16 08:48:37] [EMAIL PROTECTED]

What crond version are you using?
And can you show the full crontab file?


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26884

-- 
Edit this bug report at http://bugs.php.net/?id=26884&edit=1

Reply via email to