 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
troubleshooting |
|
Ok I have a PHP file sitting on the server with the agent running. I can login with the same username and password i start the agent with and connect with using the apply credentials option when setting up the job. I run the ./script.php command line local on the server running the agent and it works fine. i set up a job using the 24x7 software /bin/sh -c script.php and the software tells me the job ran but doesnt run nothing in any of the logs on agent or master
|
|
Mon Dec 10, 2007 2:14 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
Any idea what this error is all i did was kill the agent and restart it. It has to be monday
java.text.ParseException: Unparseable date: ""
at java.text.DateFormat.parse(DateFormat.java:335)
at com.softtreetech.jscheduler.business.log.LoggerImpl.o00000(Unknown Source)
at com.softtreetech.jscheduler.business.log.LoggerImpl.init(Unknown Source)
at com.softtreetech.jscheduler.business.O.o00000(Unknown Source)
at com.softtreetech.jscheduler.business.void.this.super(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.o00000(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.main(Unknown Source)
2007-12-10 13:20:08,645 [main] FATAL com.softtreetech.jscheduler.JSchedulerStarter - startup() :
java.lang.NullPointerException
at java.util.Date.before(Date.java:858)
at com.softtreetech.jscheduler.business.log.LoggerImpl$o.compareTo(Unknown Source)
at java.util.Collections$ReverseComparator.compare(Collections.java:2452)
at java.util.Arrays.mergeSort(Arrays.java:1278)
at java.util.Arrays.mergeSort(Arrays.java:1290)
at java.util.Arrays.sort(Arrays.java:1219)
at java.util.Collections.sort(Collections.java:155)
at com.softtreetech.jscheduler.business.log.LoggerImpl.init(Unknown Source)
at com.softtreetech.jscheduler.business.O.o00000(Unknown Source)
at com.softtreetech.jscheduler.business.void.this.super(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.o00000(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.main(Unknown Source)
[jscheduler@earchiveat jscheduler]$
Last edited by wmweaver2 on Mon Dec 10, 2007 2:39 pm; edited 1 time in total |
|
Mon Dec 10, 2007 2:36 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Are PHP config and environment variables visible to the job?
Can you run phpinfo as a job (see http://www.php.net/phpinfo)? Send the command output to a file and check what you get there
/bin/sh -c phpinfo.php > my_php.log
Hope this helps.
|
|
Mon Dec 10, 2007 2:36 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
Yes, I did do that and was able to take care of the issue. I am not sure why we were getting that parse date error when trying to run the program but we just reinstalled the agent and it seems to be working now.
|
|
Mon Dec 10, 2007 5:45 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|