Your talking about the re-assignment of stdin from a parent process to a child process within a script.
I dont think this is possible.
If someone does know a way to do it I'd love to know. :-)
In this case your best bet is to use your script arguments as the RMAN command to execute...
Hi Balaji,
I dont really use it myself, but you can use the following to setup a ksh session to use the arrow keys for command line history control.
set -o emacs # Sets emacs mode.
alias __A="^P" # Sets Up Arrow key for the previous command.
alias __B="^N" # Sets Down Arrow key for the...
Hi Guys,
You can also use the oracle provided zip and unzip executables (in the $ORACLE_HOME/bin directory). :-)
Best regards to all.
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debuging Mondays code.
Hi ewhisper,
The su - nobody actually forces the subsequent su to require a password.
Without it the subsequent su would always be successful, without any kind of authentication (due to it being executed as root).
Removing the su - nobody would null and void the entire purpose of the exercise...
Hi Glenn,
Have done this a few times, but it is complicated.
One of the problems with it is that the dual authentication cant work both ways, due to a infinite recursion trap.
This means that you can setup userA to login and work (after getting authorised by UserB), but you cant then setup...
Hi Thomas,
Try using
swat stream tcp nowait root /opt/pware/samba/3.0.25/sbin/swat swat -s /u1/samba/smb.conf
in your /etc/inetd.conf file.
If that fails you could try altering the default, and re-compiling, but i'd avoid that ... if at all possible. :-)
Brgds.
____________________...
Hi Breslau,
The log files related to CDE are
/var/dt/Xerrors
~username/.dt/errorlog
~username/.dt/startlog
The Xerrors file might show you something defining the problem. Given that the users are unable to authenticate, its unlikely the other log files will help you.
The last issue I had...
Hi Mad,
Could try using rpcinfo.
eg. rpcinfo -l NewHost 100000 4
This will query the portmapper on NewHost.
If the system cannot be contacted, or RPC services not yet started on "NewHost", the command will timeout with a non-zero return code (after about 3 and half mins).
Not sure what RPC...
Hi Mike,
I think from 5.1 onwards you can use the CORE_NAMING env var.
Try setting it to yes, and see if that gets the behaviour your after.
All the Best. :-)
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debuging Mondays code.
Hi Ogniemi,
As long as its a logged in session (using a tty) you could use something like the following.
mytty=`tty | sed 's^/dev/^^'`
who | grep " $mytty " | awk '{print $NF}' | tr -d '()'
Brgds.
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the...
Thanks Mate.
I'd tried the MQGMO_FAIL_IF_QUIESCING option, but got the same 2219 errors on attempting to close the queue manager down.
Your other suggestion of a Zero Length closedown message is just the ticket. Now coded and in full working order. :-)
I did hunt down another method, which...
Have an existing Server process which Waits on MQ Messages, and processes them when they come in.
Currently writing, in C, a signal handling routine responsible for the following (on receipt of SIGUSR1).
1. MQCLOSE current Queue.
2. MQDISC current MQ Manager.
3. Re-Read Config File (contains...
Hi Mike,
My bet would be on it being spaces.
Try
ls -m
or Pipe your above output through od.
or Pipe your above output through tr (transposing spaces to something like fullstops).
All the Best.
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of...
Hi SmokerMI,
There is a perl script called lppdiff that would foot the bill for you, but its part of the ssp.clients fileset.
# lppdiff - lpp reports accross several hosts.
#
# Description: The lppdiff command displays software level and update
# information for one or more...
Hi kHz,
Think you might be after the mtlib command.
Cant recall if its part of the atldd.driver set, or the Atape.driver set.
One of the two I'm sure. ;-)
All the Best.
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debuging...
Hi Guys,
Actually, the herald attribute is used by the login process (not the telnetd process which is actually responsible for displaying the line in question here).
You will need to edit and rebuild the telnetd message catalog to remove its ability to display the hostname.
Use something...
Hi Ken,
The only times I've seen discrepancies between ls and df output have been time where sparse files are in use.
You may be looking at your ORACLE TEMP dbf files being sparse, and their actual utilisation profile being different.
Or perhaps one systems are sparse, while the others are...
Hi Jamrobin,
I think you might be thinking of "etherchannel".
Have a look at http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TD101260
Or try smitty etherchannel
All the Best. :-)
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of...
Hi Columb,
You could try Copying the software to disk for future install (SMIT Option).
Then NFS the directory you copied the software into, to your server (and install it from there using your standard installp).
All the Best. :-)
____________________
Sometimes it pays to stay in bed on...
Hi,
Try this :-)
http://www.tek-tips.com/viewthread.cfm?qid=884869
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debuging Mondays code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.