LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-12-2012, 02:27 PM   #1
gjhuebschman
LQ Newbie
 
Registered: Apr 2012
Location: Baltimore/Washington DC, Maryland, USA
Distribution: RedHat 5.7
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 10-13-2012, 03:15 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
this is nothing to do with Redhat itself. This is arbitrary proprietary code. you need to ask IBM.
 
Old 10-13-2012, 04:53 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,652

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by gjhuebschman View Post
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.
 
Old 10-15-2012, 11:33 AM   #4
gjhuebschman
LQ Newbie
 
Registered: Apr 2012
Location: Baltimore/Washington DC, Maryland, USA
Distribution: RedHat 5.7
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up 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
 
Old 10-16-2012, 10:38 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,652

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by gjhuebschman View Post
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.
 
  


Reply

Tags
redhat



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Would Like Help Interpreting Output of Memory Tools in RHEL 5.3 Subject16 Linux - Newbie 3 03-17-2010 08:17 AM
dpkg return error :post installation script return an error code (1) grimfold Debian 2 09-10-2009 01:55 PM
request_region(...) return code BrooklynOutlier Programming 0 03-07-2006 09:22 PM
request_region return code BrooklynOutlier Slackware 0 03-06-2006 10:26 PM
dd return code barefootdoctor Linux - General 2 10-13-2005 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration