Sponsored Content
Top Forums UNIX for Advanced & Expert Users Strange bug crontab command line php / bcompiler Post 302856119 by nicolas33770 on Monday 23rd of September 2013 04:19:17 AM
Old 09-23-2013
test

thanks for reply, I tried but I has new error:
more wrapper.txt
Code:
HOME=/root
OLDPWD=/root
LOGNAME=root
PATH=/usr/bin:/bin
LANG=fr_FR.UTF-8
SHELL=/bin/sh
PWD=/var/www/cron

cd /var/www/cron
umask 0022
php -f minute.php

more /var/mail/nobody
Code:
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20130923080902.3557B698D@box.dev>
Date: Mon, 23 Sep 2013 10:09:01 +0200 (CEST)

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/bcompiler.so' - /usr/lib/php5/20100525+lfs/bcompiler.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/apc.so' - /usr/lib/php5/20100525+lfs/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/rar.so' - /usr/lib/php5/20100525+lfs/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/lib/php5/maxlifetime: 10: [: Illegal number:
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/bcompiler.so' - /usr/lib/php5/20100525+lfs/bcompiler.so: cannot open shared object file: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/apc.so' - /usr/lib/php5/20100525+lfs/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/rar.so' - /usr/lib/php5/20100525+lfs/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
1440

Other idea ? With my old code the bcompiler.so lib seems found but not working... Smilie
 

8 More Discussions You Might Find Interesting

1. Solaris

ssh & crontab bug

Does any one knows a work around for the crontab bug when connecting using ssh to a Solaris 8 system? When you submit a crontab job through a ssh session, the job will not be executed, SunSolve has reported no fixing patches? (3 Replies)
Discussion started by: Negm
3 Replies

2. Shell Programming and Scripting

Strange behaviour from script in crontab

Apologies if this has been mentioned elsewhere, my search skills may be lacking somewhat today. I have a script that does the following (as a test): find . -name "*.txt" -exec file {} \; >>$sFullFilePath Now, the variable is set up up correctly in the script too. When I run the script... (1 Reply)
Discussion started by: PilotGoose
1 Replies

3. Programming

Help: Run Java Command Line, Send Result to PHP?

EDIT: Sorry for the post, my good friend Google helped me out after some good searching! (0 Replies)
Discussion started by: tguillea
0 Replies

4. Shell Programming and Scripting

mv command not found bug

foreach x ( *.foo) echo "move file?" set move=$< if($move == y) then echo "enter new pathname:" set path=$< mv $x $path/$x endif end ok guys, im creating this script so i can move files with *.foo extensions and *.bar... (6 Replies)
Discussion started by: pantelis
6 Replies

5. Red Hat

Crontab strange behaviour

Hi all, I'm having this scenario which for the moment I cannot resolve. :( I wrote a script to make a dump/export of the oracle database. and then put this entry on crontab to be executed daily for example. The script is like below: cat /home/oracle/scripts/db_backup.sh #!/bin/ksh ... (3 Replies)
Discussion started by: enux
3 Replies

6. Linux

Bug in date command?

Why is the result of this command off (or less) by one hour date --date "1979-10-26 +54 hours" +%Y%m%d%H The result is 1979102805 It actually should be 1979102806 It does it with adding minutes as well and only occurs on Oct. 26, from what I can tell. What's going on here? (9 Replies)
Discussion started by: hsemune
9 Replies

7. UNIX for Dummies Questions & Answers

How to submit form on an php webpage from command line?

Hello, i have page domain.com/form.php the form fields on form.php are named: name=ipaddress name=port and submit button is named: submit i want to ask how the linux command will look like to submit the form filled with: ipaddress: 127.0.0.1 port: 80 I tried various curl and... (5 Replies)
Discussion started by: postcd
5 Replies

8. Shell Programming and Scripting

Script working on command line and not on crontab

my problem is this: when I run a script from the command line it works but returns a failure if I run it from crontab. Basically I wanted to send a file to hdfs, I thought it was related to the fact that crontab do not know the path to hdfs so I put the full path but it still does not work: here... (16 Replies)
Discussion started by: beautymind
16 Replies
bcrontab(1)						      General Commands Manual						       bcrontab(1)

NAME
bcrontab - Manage users crontab files SYNOPSIS
bcrontab [ -u user ] file bcrontab [ -u user ] { -l | -r | -e } DESCRIPTION
bcrontab interfaces with the bcron-spool daemon to manage crontab files in the privileged spool directory. OPTIONS
-u user Tell bcron-spool that we are acting on behalf of the named user. bcron-spool will only accept the username if bcrontab is running as either root or the same user ID as the named user. -l List the cronab crontab to standard output. -r Remove the user's crontab. -e Edit the current crontab. ENVIRONMENT
VISUAL If this is set, it is used as the editor to invoke to edit a crontab. EDITOR If $VISUAL is not set and this is, it is used as the editor to invoke to edit a crontab. If neither are set, /bin/vi is used. BCRON_SOCKET The path to the named socket used to communicate with bcron-spool. Defaults to /var/run/bcron-spool. LOGNAME USER These two variables are used, in order, to determine the user name invoking the program. One must be set if the -u option is not used. FILES
bcrontab tries to writes a temporary file into the current directory, and then into /tmp if that fails, in order to edit the current crontab. SEE ALSO
bcron-spool(8), crontab(5) AUTHOR
Bruce Guenter <bruceg@em.ca> bcrontab(1)
All times are GMT -4. The time now is 04:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy