hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

No error message in output log when task fails

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Task Sequences, Chains and Scripts
View previous topic :: View next topic  
Author Message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Fri Sep 08, 2006 10:59 am    Post subject: No error message in output log when task fails Reply with quote

This is a user email support request:

A month ago we had a bunch of errors caused by a problem with remote FTP server (we were told it had power problems). Automize set exit code for the failing steps to 2, but there was no error message in outputLog.jsd for these failures. Did you experience similar "no error message" behavior in the past ? We try to base our alarm escalation and troubleshooting on the error messages, so when there is no error message at all, we can only guess...
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Fri Sep 08, 2006 11:00 am    Post subject: Reply with quote

1) When possible we try to prepend "error: " to the user friendly error message returned by java. In this case we did not have "error in the output log and java did not provide the error. It should have listed something like:
HostNotFoundException: ftp.hostname.com

2) We will review all our error loops for the ftp/sftp tasks since these are most popular.

3) One thing you can do in a chain is to add an echo task with the word 'error' to the chain. The echo task outputs the message to the output log. If the ftp step fails go to that echo step and probably stop the chain at that echo step. Additionally, The echo step should not be the last step in the chain, or the chain will exit with exit code = 0.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Task Sequences, Chains and Scripts All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group