Red HatThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.