Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1057356 Details for
Bug 1248134
ksh: read: bad file unit number
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
ksh reproducer
ksh.issue.txt (text/plain), 1.86 KB, created by
Bryan Totty
on 2015-07-29 16:53:36 UTC
(
hide
)
Description:
ksh reproducer
Filename:
MIME Type:
Creator:
Bryan Totty
Created:
2015-07-29 16:53:36 UTC
Size:
1.86 KB
patch
obsolete
> ># ># RHEL 6.6 ># ># ksh-20120801-21.el6_6.3.x86_64 ># > > >root@server1 [/root/tmp] # cat main.sh >#!/bin/ksh > >export ORACLE_SID=RACADEV > >. ./oracle.sh > >exit $? > > >root@server1 [/root/tmp] # cat oracle.sh >#!/bin/ksh > >ORACLE_HOME=$( /usr/local/bin/dbhome $ORACLE_SID ) > >case $? in > > 0) > printf "Detected ORACLE_HOME: [%s]\n" "$ORACLE_HOME" > exit 0 > ;; > > *) > printf "Enter ORACLE_HOME: " > read ORACLE_HOME > exit 1 > ;; > >esac > > >root@server1 [/root/tmp] # nohup ./main.sh > log 2>&1 & >[1] 9162 > >root@server1 [/root/tmp] # >[1]+ Done nohup ./main.sh > log 2>&1 > >root@server1 [/root/tmp] # cat log >nohup: ignoring input >Detected ORACLE_HOME: [/u001/app/oracle/product/rac_dev_12.1.0.2] > > > > > > > ># ># RHEL 6.7 ># ># ksh: ksh-20120801-28.el6.x86_64 ># > > >root@server2 [/root/tmp] # cat main.sh >#!/bin/ksh > >export ORACLE_SID=DAAAAA > >. ./oracle.sh > >exit $? > > >root@server2 [/root/tmp] # cat oracle.sh >#!/bin/ksh > >ORACLE_HOME=$( /usr/local/bin/dbhome $ORACLE_SID ) > >case $? in > > 0) > printf "Detected ORACLE_HOME: [%s]\n" "$ORACLE_HOME" > exit 0 > ;; > > *) > printf "Enter ORACLE_HOME: " > read ORACLE_HOME > exit 1 > ;; > >esac > > > > >root@server2 [/root/tmp] # nohup ./main.sh > log 2>&1 & >[1] 4382 > >root@server2 [/root/tmp] # >[1]+ Exit 1 nohup ./main.sh > log 2>&1 > >root@server2 [/root/tmp] # cat log >nohup: ignoring input >./main.sh[5]: .: line 3: 4384: Memory fault >Enter ORACLE_HOME: ./main.sh[5]: .[14]: read: bad file unit number [Bad file descriptor] > > >Jul 25 12:41:17 server2 kernel: ksh93[4384] general protection ip:4dd304 sp:7ffe6b8e4a40 error:0 in ksh93[400000+15d000] > > > > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1248134
: 1057356