Dailyreport Failed Error=255

Most commonly desired features to be implemented in PacsOne
Post Reply
aflohr
Posts:27
Joined:Sun Sep 25, 2005 6:40 am
Location:Germany, Nürnberg
Contact:
Dailyreport Failed Error=255

Post by aflohr » Wed May 22, 2013 6:03 pm

since i update to 6.3.5 i have the following error in the log:

Wed May 22 00:00:06 2013 INFO - REPORT: Running statistics report script: [/home/pacsone/php/dailyreport.php]...
Wed May 22 00:00:09 2013 ERROR - REPORT: Failed to run script: /home/pacsone/php/dailyreport.php, error = 255

manual start via URL http://<ServerIP>/pacsone/dailyreport.php runs without any problems. The Apache Error.log shows no entrys at midnight so i think pacsone may startet the task incorrectly.
------
Admin4IT
Andreas Flohr
aflohr@admin4it.com

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed May 22, 2013 9:34 pm

Did you configure the full-path to the PHP run-time executable from the Configuration page and verify it does exist?

aflohr
Posts:27
Joined:Sun Sep 25, 2005 6:40 am
Location:Germany, Nürnberg
Contact:

Post by aflohr » Wed May 22, 2013 10:20 pm

o.k i found the php (it is linux, not windows) under the /usr/lib path an changed it. Now the error messige is nearly the same but the Error code is now Error=126.

By the way: in Germany it is now 17 minutes after midnight. If i use tools to show the log file pacsone still showing me the log from yesterday, even the logfile from today ist under log/aetitle/ and via cat readable.
------
Admin4IT
Andreas Flohr
aflohr@admin4it.com

aflohr
Posts:27
Joined:Sun Sep 25, 2005 6:40 am
Location:Germany, Nürnberg
Contact:

Post by aflohr » Wed May 22, 2013 10:27 pm

shoud the path include the php (executable) oder should it only be the path ?

So ist /usr/lib/php or /usr/lib the correct path (php is not a directory ist ist the executable file)
------
Admin4IT
Andreas Flohr
aflohr@admin4it.com

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu May 23, 2013 5:24 pm

You should set the full path to the PHP run-time executable, e.g., "/usr/lib/php", etc. You can verify if the full path is valid or not by running it from a local command shell:

Code: Select all

% /usr/lib/php --version

Post Reply