| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-12-2012, 02:27 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2012
Location: Baltimore/Washington DC, Maryland, USA
Distribution: RedHat 5.7
Posts: 2
Rep: 
|
Interpreting a RHEL 5.7 Return Code
Environment RHEL 5.7
Application TSM Client 6.2, Archiving
I want to find out what "Return code = 126" means.
I just fixed an RC 127, now I have RC 126.
The problem is related to an archive operation that is run fron a script. The ONLY message in the application error log is:
10/12/2012 02:52:54 ANS1909E The scheduled command failed.
10/12/2012 02:52:54 ANS1512E Scheduled event 'ARCHXXXLOGS' failed. Return code = 126.
The TSM "ANS" error codes do not shed any real light.
"While you have a choice, spend your money where you'd rather work when you have no choice."
Last edited by gjhuebschman; 10-15-2012 at 11:46 AM.
|
|
|
|
10-13-2012, 03:15 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,695
|
this is nothing to do with Redhat itself. This is arbitrary proprietary code. you need to ask IBM.
|
|
|
|
10-13-2012, 04:53 PM
|
#3
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,799
|
Quote:
Originally Posted by gjhuebschman
Environment RHEL 5.7
Application TSM Client 6.2, Archiving
I want to find out what "Return code = 126" means.
I just fixed an RC 127, now I have RC 126.
The problem is related to an archive operation that is run fron a script. The ONLY message in the application error log is:
10/12/2012 02:52:54 ANS1909E The scheduled command failed.
10/12/2012 02:52:54 ANS1512E Scheduled event 'ARCHXXXLOGS' failed. Return code = 126.
The TSM "ANS" error codes do not shed any real light.
|
Yes, it does:
http://publib.boulder.ibm.com/infoce...2FANS1512E.htm
Related to APAR IC46126 on the IBM knowledgebase for TSM. Essentially, the command you're trying to run on the RHEL server either can't BE run, or is somehow incorrect (bad permissions? Path? User?). Be sure to start the TSM scheduler as root, if you haven't already. What do the dsmerror and dsmsched logs say on the RHEL box? Can you back the system up manually? What does the ARCHXXXLOGS event do?
Checking those logs should be a starting point, as is running a manual backup via dsmadmc. There are times when the ANS1512 message comes up due to the TSM client not signing off correctly from the TSM server. If that's the case, the error can be ignored.
|
|
|
|
10-15-2012, 11:33 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2012
Location: Baltimore/Washington DC, Maryland, USA
Distribution: RedHat 5.7
Posts: 2
Original Poster
Rep: 
|
Checking the message
I did check IBM's error message before I posted.
But, THANKS!, you are correct, it was a permission issue. I copied this script from a similar server in another cluster in another environment.
I WinSCP'ed it to my destop then out to this server.
I had to chown it to get it my desktop.
I chown'ed it back to root, but forgot to chmod it. It did not have any execute permission.
Also, "dsmc" is the command to run (or "dsmc", then "archive"), it was an archive.
The command "dsmadmc" opens a session with the TSM Server application. "dsmc" starts the client application.
Thanks very much for the help.
George Huebschman
|
|
|
|
10-16-2012, 10:38 AM
|
#5
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,799
|
Quote:
Originally Posted by gjhuebschman
I did check IBM's error message before I posted.
But, THANKS!, you are correct, it was a permission issue. I copied this script from a similar server in another cluster in another environment.
I WinSCP'ed it to my destop then out to this server.
I had to chown it to get it my desktop.
I chown'ed it back to root, but forgot to chmod it. It did not have any execute permission.
Also, "dsmc" is the command to run (or "dsmc", then "archive"), it was an archive.
The command "dsmadmc" opens a session with the TSM Server application. "dsmc" starts the client application.
Thanks very much for the help.
George Huebschman
|
No worries...and I put the admin console command instead of the client. Shows you what force-of-habit can do. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:37 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|