Error trying execute a shell on z/OS
Colleagues, somebody can help me to find what happen when i try to execute a shell in z/OS? the error is this: Errno=82x The exec call contained a format error; Reason=5B4B000D. Press Enter to continue. The route of the shell has been the same and i´ve been executed always sucessfully but unexpectedly begins to fail this exec request; always i select the option SELECT RUN METHOD: DIRECT to execute the shell Thanks. > Date: Thu, 19 Feb 2009 14:13:30 -0600 > From: wfarr...@us.ibm.com > Subject: Re: Passw protection out RACF rules with z/OS resources for userid. > To: IBM-MAIN@bama.ua.edu > > On Thu, 19 Feb 2009 14:00:00 -0600, Carlos Cordero > wrote: > > >Yeah! the application really needs a password (because many people who > improperly attempt to >use it knows the userid, so would be access with no > restrictions and that is a very dangerous >situation) , PROTECTED attribute > had been discarded for this purpose. > > You can't logon using a PROTECTED user ID, unless you have some very odd > application that does not request a password at all, and then tells RACF not > to check a password. Normal applications request a password and supply it > on the RACROUTE REQUEST=VERIFY, and such a request will fail immediately > (without revoking the user ID) if the user specified a PROTECTED user ID. > > Thus the ID is very well protected (and thus the term PROTECTED). The lack > of a password does not allow use of the ID "with no restrictions" as you > indicated, and it is probably exactly what you want. > > -- > Walt Farrell, CISSP > IBM STSM, z/OS Security Design > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _ P.D. Checa las nuevas fotos de mi Space http://home.services.spaces.live.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
On Thu, 19 Feb 2009 14:54:30 -0600, Carlos Cordero wrote: >Colleagues, somebody can help me to find what happen when i try to execute a shell in z/OS? > >the error is this: > > Errno=82x The exec call contained a format error; Reason=5B4B000D. Press > Enter to continue. > >The route of the shell has been the same and i´ve been executed always sucessfully but unexpectedly begins to fail this exec request; always i select the option SELECT RUN METHOD: DIRECT to execute the shell > >Thanks. Carlos, What system are you running on? z/OS? What release? z/VM? What release? Linux on z? Which distro? Something else? I don't recognize the above. Could you be more specific on what kind of "shell" you are talking about? Do you mean a UNIX shell? If so, are you trying to start it by using TSO, then the OMVS command? If not, then what? What confuses me is the "SELECT RUN MEHTOD: DIRECT" which I do not recognize at all. -- John -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
On Thu, 19 Feb 2009 15:15:19 -0600, John McKown wrote: > >What confuses me is the "SELECT RUN MEHTOD: DIRECT" which I do not recognize >at all. > ISHELL pull down option under "Tools" to run a program, or you get the same thing with an "x" line command on an entry in a directory list. -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:mark.zel...@zurichna.com z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
On Thu, 19 Feb 2009 15:28:07 -0600, Mark Zelden wrote: >On Thu, 19 Feb 2009 15:15:19 -0600, John McKown wrote: > >> >>What confuses me is the "SELECT RUN MEHTOD: DIRECT" which I do not recognize >>at all. >> > >ISHELL pull down option under "Tools" to run a program, or you get the >same thing with an "x" line command on an entry in a directory list. > >-- >Mark Zelden Ah! I've abandoned ISHELL. I prefer 3.17 in z/OS 1.8. And, too often, I find using a "real" UNIX shell to be superior to either. Actually, when I'm "hot and heavy", I use a telnet UNIX shell along with TSO ISPF option 3.17. -- John -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
On Thu, 19 Feb 2009 14:54:30 -0600, Carlos Cordero wrote: > > >Colleagues, somebody can help me to find what happen when i try to execute a shell in z/OS? > >the error is this: > > > Errno=82x The exec call contained a format error; Reason=5B4B000D. Press > Enter to continue. > > >The route of the shell has been the same and i´ve been executed always sucessfully but unexpectedly begins to fail this exec request; always i select the option SELECT RUN METHOD: DIRECT to execute the shell > > We need more information. What is in the file you are trying to execute. ++ ¦ Figure 1. Location of Return Information ¦ +¦ ¦ ¦ Reason Code ¦¦ ¦ Return Code ¦ Qualifier ¦ Reason Code Returned By¦ +-+-+¦ ¦ 82 ¦ Not ¦ Failure in extract load module function. ¦ ¦ ¦ predictable ¦ This is an internal code from the IEWLXLM ¦ ¦ ¦ ¦ macro, explaining the details of the ¦ ¦ ¦ ¦ error. This can be due to either the ¦ ¦ ¦ ¦ format of the file not being recognized as ¦ ¦ ¦ ¦ an executable or the program object being ¦ ¦ ¦ ¦ flagged as non-executable. ¦ +-+-+¦ -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:mark.zel...@zurichna.com z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
On Thu, 19 Feb 2009 15:34:29 -0600, John McKown wrote: > >Ah! I've abandoned ISHELL. I prefer 3.17 in z/OS 1.8. And, too often, I find >using a "real" UNIX shell to be superior to either. Actually, when I'm "hot >and heavy", I use a telnet UNIX shell along with TSO ISPF option 3.17. > I don't use 3.17 much (yet?). Even though I'm not as *nix savvy as you, I also use telnet (with a real client, not win-doze) along with ISPF when I need to do any real work in z/OS Unix. Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:mark.zel...@zurichna.com z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
Carlos, >From looking at Mark's post, I have a few questions: 1) is the file you're trying to run marked with the eXecutable bit in the directory. Be sure that when you check, you check the proper one (ie, the "owner" and the "group" and the "other" section of the attributes). 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look like readable text or "a bunch of binary junk". 3) if it is text, does the first line start with something like: #!/bin/sh The important part is the "#!" which is a "magic" which tell UNIX to run the rest of the line as a UNIX command. Also, make sure that what is after the "#!" is valid as a UNIX executable program (not another shell script). 4) if it is "binary junk", does the first line when you browse it start with: IEWPLMH That is what tells UNIX that this is a binary (compiled) program. -- John -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
I thought that the exec call which is being invoked by the ishell only supports program objects or REXX execs. I think that there are other options that will invoke the shell to run the command, such as "Run a shell command" from the "Tools" menu. I suspect that "run method direct" causes exec to be used. Bill On Thu, 19 Feb 2009 15:52:58 -0600, John McKown wrote: >Carlos, > >From looking at Mark's post, I have a few questions: > >1) is the file you're trying to run marked with the eXecutable bit in the >directory. Be sure that when you check, you check the proper one (ie, the >"owner" and the "group" and the "other" section of the attributes). > >2) If it is executable, can you BROWSE it in ISHELL? If so, does it look >like readable text or "a bunch of binary junk". > >3) if it is text, does the first line start with something like: > >#!/bin/sh > >The important part is the "#!" which is a "magic" which tell UNIX to run the >rest of the line as a UNIX command. Also, make sure that what is after the >"#!" is valid as a UNIX executable program (not another shell script). > >4) if it is "binary junk", does the first line when you browse it start with: > >IEWPLMH > >That is what tells UNIX that this is a binary (compiled) program. > >-- >John > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
I execute the shell as next: 1) In TSO SDSF session, exec the command "TSO ISH" 2) Then i select the folder where the shell is located. 3) Once inside, put an X to execute it. 4) It open a screen with the METHOD options, I select #1 (Direct) Then, appears the error. The purpose of the shell is to read a configuration file (XML) of locations definitions, then the script generates a XML output files for a product that needs these locations. Thanks. > Date: Thu, 19 Feb 2009 15:52:58 -0600 > From: joa...@swbell.net > Subject: Re: Error trying execute a shell on z/OS > To: IBM-MAIN@bama.ua.edu > > Carlos, > > From looking at Mark's post, I have a few questions: > > 1) is the file you're trying to run marked with the eXecutable bit in the > directory. Be sure that when you check, you check the proper one (ie, the > "owner" and the "group" and the "other" section of the attributes). > > 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look > like readable text or "a bunch of binary junk". > > 3) if it is text, does the first line start with something like: > > #!/bin/sh > > The important part is the "#!" which is a "magic" which tell UNIX to run the > rest of the line as a UNIX command. Also, make sure that what is after the > "#!" is valid as a UNIX executable program (not another shell script). > > 4) if it is "binary junk", does the first line when you browse it start with: > > IEWPLMH > > That is what tells UNIX that this is a binary (compiled) program. > > -- > John > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _ Realiza búsquedas en Internet y llévate hasta ¡Un Auto! http://www.ganabuscando.com/Default.aspx -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
I execute the shell as next: 1) In TSO SDSF session, exec the command "TSO ISH" 2) Then i select the folder where the shell is located. 3) Once inside, put an X to execute it. 4) It open a screen with the METHOD options, I select #1 (Direct) Then, appears the error. The purpose of the shell is to read a configuration file (XML) of locations definitions, then the script generates a XML output files for a product that needs these locations. Thanks. > Date: Thu, 19 Feb 2009 15:52:58 -0600 > From: joa...@swbell.net > Subject: Re: Error trying execute a shell on z/OS > To: IBM-MAIN@bama.ua.edu > > Carlos, > > From looking at Mark's post, I have a few questions: > > 1) is the file you're trying to run marked with the eXecutable bit in the > directory. Be sure that when you check, you check the proper one (ie, the > "owner" and the "group" and the "other" section of the attributes). > > 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look > like readable text or "a bunch of binary junk". > > 3) if it is text, does the first line start with something like: > > #!/bin/sh > > The important part is the "#!" which is a "magic" which tell UNIX to run the > rest of the line as a UNIX command. Also, make sure that what is after the > "#!" is valid as a UNIX executable program (not another shell script). > > 4) if it is "binary junk", does the first line when you browse it start with: > > IEWPLMH > > That is what tells UNIX that this is a binary (compiled) program. > > -- > John > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _ P.D. Live Search tiene una sorpresa buenísima, chécala aquí. http://www.ganabuscando.com/Default.aspx -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
I execute the shell as next: 1) In TSO SDSF session, exec the command "TSO ISH" 2) Then i select the folder where the shell is located. 3) Once inside, put an X to execute it. 4) It open a screen with the METHOD options, I select #1 (Direct) Then, appears the error. The purpose of the shell is to read a configuration file (XML) of locations definitions, then the script generates a XML output files for a product that needs these locations. Thanks. > Date: Thu, 19 Feb 2009 15:52:58 -0600 > From: joa...@swbell.net > Subject: Re: Error trying execute a shell on z/OS > To: IBM-MAIN@bama.ua.edu > > Carlos, > > From looking at Mark's post, I have a few questions: > > 1) is the file you're trying to run marked with the eXecutable bit in the > directory. Be sure that when you check, you check the proper one (ie, the > "owner" and the "group" and the "other" section of the attributes). > > 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look > like readable text or "a bunch of binary junk". > > 3) if it is text, does the first line start with something like: > > #!/bin/sh > > The important part is the "#!" which is a "magic" which tell UNIX to run the > rest of the line as a UNIX command. Also, make sure that what is after the > "#!" is valid as a UNIX executable program (not another shell script). > > 4) if it is "binary junk", does the first line when you browse it start with: > > IEWPLMH > > That is what tells UNIX that this is a binary (compiled) program. > > -- > John > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _ Es tu última oportunidad para ganar premios por el simple hecho de buscar en internet. http://www.ganabuscando.com/Default.aspx -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
I tried to access through TSO OMVS, but i do not get a session, appears the next error, i think something in the system is wrong and not in the shell and the exec call; next are the errors at the moment to access with TSO OMVS: FSUM2055I The OMVS command cannot use the message catalog.+ FSUM2056I Function = catopen(), catalog name = '/usr/lib/nls/msg/C/fsumucat.cat ', return value = -1, errno = 157 (X'009D'), reason code = 5B4B000D, descrip tion = 'EDC5157I An internal error has occurred.' *** FSUM2319 No session was started. The program to start the shell could not be in voked. Function = execl(), program name = '/bin/login', errno = 157 (X'009D'), reas on code = 5B4B000D, message = 'EDC5157I An internal error has occurred.' >>>> FSUM2331 The session has ended. Press to end OMVS. FSUM2194I The end of the session was not recorded. The recording program could not be invoked.+ FSUM2195I Function = execl(), terminal name = '/dev/ttyp', program name = ' /bin/fomtlout', errno = 157 (X'009D'), description = 'EDC5157I An internal e rror has occurred.' *** THANKS ! > Date: Thu, 19 Feb 2009 15:52:58 -0600 > From: joa...@swbell.net > Subject: Re: Error trying execute a shell on z/OS > To: IBM-MAIN@bama.ua.edu > > Carlos, > > From looking at Mark's post, I have a few questions: > > 1) is the file you're trying to run marked with the eXecutable bit in the > directory. Be sure that when you check, you check the proper one (ie, the > "owner" and the "group" and the "other" section of the attributes). > > 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look > like readable text or "a bunch of binary junk". > > 3) if it is text, does the first line start with something like: > > #!/bin/sh > > The important part is the "#!" which is a "magic" which tell UNIX to run the > rest of the line as a UNIX command. Also, make sure that what is after the > "#!" is valid as a UNIX executable program (not another shell script). > > 4) if it is "binary junk", does the first line when you browse it start with: > > IEWPLMH > > That is what tells UNIX that this is a binary (compiled) program. > > -- > John > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _ P.D. Checa las nuevas fotos de mi Space http://home.services.spaces.live.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
I tried to access through TSO OMVS, but i do not get a session, appears the next error, i think something in the system is wrong and not in the shell and the exec call; next are the errors at the moment to access with TSO OMVS: FSUM2055I The OMVS command cannot use the message catalog.+ FSUM2056I Function = catopen(), catalog name = '/usr/lib/nls/msg/C/fsumucat.cat ', return value = -1, errno = 157 (X'009D'), reason code = 5B4B000D, descrip tion = 'EDC5157I An internal error has occurred.' *** FSUM2319 No session was started. The program to start the shell could not be in voked. Function = execl(), program name = '/bin/login', errno = 157 (X'009D'), reas on code = 5B4B000D, message = 'EDC5157I An internal error has occurred.' >>>> FSUM2331 The session has ended. Press to end OMVS. FSUM2194I The end of the session was not recorded. The recording program could not be invoked.+ FSUM2195I Function = execl(), terminal name = '/dev/ttyp', program name = ' /bin/fomtlout', errno = 157 (X'009D'), description = 'EDC5157I An internal e rror has occurred.' *** THANKS ! > Date: Thu, 19 Feb 2009 15:52:58 -0600 > From: joa...@swbell.net > Subject: Re: Error trying execute a shell on z/OS > To: IBM-MAIN@bama.ua.edu > > Carlos, > > From looking at Mark's post, I have a few questions: > > 1) is the file you're trying to run marked with the eXecutable bit in the > directory. Be sure that when you check, you check the proper one (ie, the > "owner" and the "group" and the "other" section of the attributes). > > 2) If it is executable, can you BROWSE it in ISHELL? If so, does it look > like readable text or "a bunch of binary junk". > > 3) if it is text, does the first line start with something like: > > #!/bin/sh > > The important part is the "#!" which is a "magic" which tell UNIX to run the > rest of the line as a UNIX command. Also, make sure that what is after the > "#!" is valid as a UNIX executable program (not another shell script). > > 4) if it is "binary junk", does the first line when you browse it start with: > > IEWPLMH > > That is what tells UNIX that this is a binary (compiled) program. > > -- > John > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _ P.D. Checa las nuevas fotos de mi Space http://home.services.spaces.live.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Error trying execute a shell on z/OS
From "UNIX System Services Message & Codes": Function = execl(), program name = '/bin/login', errno = 157 (X'009D'), 157 009D EMVSERRA MVS environmental or internal error has occurred. reason code = 5B4B000D, All HFS reason codes are one word (4 bytes) in length. The first byte is the subcomponent ID. For the HFS, this is X'5B'. The second byte is the module ID. X'4B' GFUGLOOK The third and fourth bytes are the module-defined reason. 000D HFS_RSN_Sync_Write_Protect_Error The Write_Protect field in the first VDF page on disk doesn't match the field that was filled in the HFS file system control block at the mount time. Probable cause: This is caused by mounting the HFS as R/W on another system that is not in the same GRS ring. Action: Contact the system administrator to verify that the HFS is not mounted as R/W on another system. Bob -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html