Had deleted the /usr/bin, /usr/sbin directories of a node
Dear All,
I have ended up into deep trouble a few minutes ago: We have 2 node RHEL 6b-bit Oracle RAC.
I had issued 'rm -rf /usr' command and in a few seconds i realised and then aborted the above process by issuing 'Ctrl-C'. I found following missing: bin, sbin, evolution28, remoteagent, java, include missing.
As of now the Node and the Oracle database is working fine.
Please let me know if I can copy the missing directories from the another node, as both the nodes are Identical (Just a wild guess).
We do not have a backup of the RAC machines.
Please help me on this.
We had actually contacted our Network Admin to look into the issue, and things went worst when he copied the '/usr/bin' directory from one node to the other. The machine went to halt and rebooted with a blank screen.
Moreover, we were unable to make any connections to the node, though the other node and the database are working fine.server halt... if you use linux (redhat) you can boot by CD or DVD (rescue), after boot from CD...
You can mount disk and set up network ....
So, You can copy /usr/bin/ + .... from another nodes to this server.
As per my knowledge and experience, will it be fine if I format the machine and install Linux/Oracle freshly and then add this to the cluster?
Should I unregister the old node from the cluster or let it remain as it is and follow the process of adding a new node.if you need to delete node and then add node, you can read from oracle documents
http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/adddelunix.htm
http://www.oracle.com/pls/db102/homepage
Similar Messages
-
Mac App Store app running programs in /usr/bin or /sbin
Hello,
The Mac Developer Program License Agreement says:
3.3.4 All files necessary for the Application to execute must be in the Application bundle submitted to Apple and must be installed by the Mac App Store.
This precludes using NSTask to run a program in /usr/bin or /sbin to obtain some output. Seems pretty restrictive since there is a lot of good functionality there and most of it without copyright. There is a fine line between running /sbin/md5 on a file to get a hash, and calling md5() in libssl.dylib, making me wonder what is the purpose of the restriction.
The question, dumb as it may sound given section 3.3.4 of the agreement, is, should I eliminate all code that runs other programs?
If the Mac App Store app runs without running other programs, but includes other features by running those programs, does it still violate section 3.3.4?
Has anyone submitted a program that calls others and, if so, was it accepted?
ThanksCTSdev wrote:
I've never had a problem with NSTask. In what way is it clunky?
You have to set it up, launch it, possibly send it data, collect the output, parse it. I have an app circulating around here called EtreCheck that does lots and lots of NSTask. It isn't sandboxed though. The problem is that your NSTask inherits your app sandbox and it may expect to read or write to places that it can't. You can use it, but if there is an alternative in a framework or library, that would be better. I think the biggest problem with NSTask is that they are procedural. You have to start it, run it, wait for it, and then handle the output. You will have to do that in a thread or block.
I used /sbin/md5 as an example since it has an analog library routine. /usr/bin/cksum is the more direct way to verify file integrity. I would also like to run /usr/bin/compress. Certainly easier than writing & testing LZW or Huffman code.
I think you could probably run both of those. There may be easier versions around. iOS people can't do any of that so there may be some handy Cocoa libraries that will do just what you need. If you just want to compress data, libz is in the OS and not too terribly difficult to use.
I will probably just have my app run those programs and describe this in my submission to Apple, If they say no, then I'll code those pieces too.
I don't think you really have to describe anything other than some of your entitlements. As long as it works on your machine and you aren't calling any private APIs then you should be fine. I was only half-joking before. If you really aren't a fraudster, then you really have nothing to worry about at all.
I don't know what kind of checks they do for that kind of thing. Pretty much everything I have done so far has some feature that looks like it should be forbidden by the sandbox, but really isn't. I display copyrighted Apple art in ways that aren't normally possible. I launch Terminal. I just released an app that has serious amounts of integration with the Finder. No problems. -
how to repair my macbook pro when i had delete the app store file and know it telling that appstore file has been damage or incomplete and i had the version 10.6.8
so is their is any way that i can solve this matter
-
How to find out who had deleted the function moldule? S O S
how to find out who had deleted the function moldule Thank you very much.
if this fm was assigned to device class (package) you'll find it in
tables tadir, e070, e071
try with name of function module or function group
hope that helps
Andreas -
I''m trying to remove babylon toolbar and have gone to programs/add/remove. uninstalled and deleted the trash bin and still have the toolbar. HELP
You must have gone to the old microsoft post.
Here is the link:
http://support.microsoft.com/kb/2438651 -
I have accidentally deleted the trash bin in my mailbox and can no longer move any deleted mail into the trash. I thought I was removing all the emails from the trash bin but somehow managed to delete the bin instead. Does anyone know who to reinstate the bin?
You are running 10.6.8? If yes, I assume you have your install disks? As the trash bin is part of Mail app and that is an integral part of the OS, the only way I know to get it back is to reinstall the OS. You won't lose any files, just reinstall the OS over the top of the current system.
-
When I try to delete the trash bin in iphoto, the program freezes?
When I try to delete the trash bin from iphoto the program freezes. The only way to get out is to hold the on/off button down shut the computer off. Can anyone tell me what to do to fix this?
How many items in the trash?
-
I had deleted the message. but the message still can be searched by Soptlight, what I can do, please help.
I had tried to reset my iPhone5 one time. but this condition still survived.Only FCP X is downloadable. Everything up to Final Cut Studio requires install disks. You might try calling Apple, but the software you seek is over a decade old.
-
Fedora merging /usr/bin with /sbin and /bin
I just read this mail on the fedora list regaring the proposal to merge the different directories for binaries:
https://lists.fedoraproject.org/piperma … 58845.html
It does seem like a practice from times long gone.
What is your take on this? Wouldn't this be something in the spirit of Arch, too?I came across this interesting proposal and was interested how the Archlinux community feels about this:
http://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge wrote:
Improved compatibility with other Unixes/Linuxes in behaviour: After the /usr merge all binaries become available in both /bin and /usr/bin, resp. both /sbin and /usr/sbin (simply because /bin becomes a symlink to /usr/bin, resp. /sbin to /usr/sbin). That means scripts/programs written for other Unixes or other Linuxes and ported to your distribution will no longer need fixing for the file system paths of the binaries called, which is otherwise a major source of frustration. /usr/bin and /bin (resp. /usr/sbin and /sbin) become entirely equivalent.
Improved compatibility with other Unixes (in particular Solaris) in appearance: The primary commercial Unix implementation is nowadays Oracle Solaris. Solaris has already completed the same /usr merge in Solaris 11. By making the same change in Linux we minimize the difference towards the primary Unix implementation, thus easing portability from Solaris.
Improved compatibility with GNU build systems: The biggest part of Linux software is built with GNU autoconf/automake (i.e. GNU autotools), which are unaware of the Linux-specific /usr split. Maintaining the /usr split requires non-trivial project-specific handling in the upstream build system, and in your distribution's packages. With the /usr merge, this work becomes unnecessary and porting packages to Linux becomes simpler.
Improved compatibility with current upstream development: In order to minimize the delta from your Linux distribution to upstream development the /usr merge is key. -
How to check who had deleted the user?
Hi all,
An important user got deleted in the EP production server.4 people are having administartor access.How to trace who deleted the user?Is there anyway to trace this?
Thanks and Regards,
RajeshHi Rajesh,
you can check the ACL Audit Logging as described here: http://help.sap.com/saphelp_nw70/helpdata/EN/f7/61c01fbf2b4c4891e586ca5a44a351/frameset.htm
In the security.<n>.log should have an entry like this
<user ID> ACL.USER.DELETE <deleted user ID>
Hope this helps,
Robert -
Does upgrading OS delete the trash bin ?
My boss is using OSX 10.5.8 and he "accidently" trashed (to the bin) a lot of files (+1000). I've told him not to empty the trash.
I know that on the system I am using, 10.6.8 I can "Put Back" files from the trash into the original location.
I recommened him to upgrade the OS so he can do that to the files, but I believe that upgrading the OS also immediatly empties your Trash bin.
Does any one know of a better method to restored these files? Would it be better to just do it manually ?
Thanks a bunch!
Cheersdoes "Put Back" work on the Trash files after upgrading?
I honestly don't know, because I'm not running Snow Leopard, and I've never encountered this problem for anyone that I've installed it for. But if I were to take an educated guess, I'd say the answer is 'No'.
Depending on which files your boss put in the Trash, it may not make a difference. If they were OS X system files, they should be replaced by an upgrade, so putting those back would just cause problems. -
Clean install yosemite why are my var/db var/ usr/bin usr/lib files being transfered
im doing a clean install and im wondering why /private/var/tmp, private/var/run, private/var/db, /Library preferences, are all being transfered to the new install? plus they are all mounted like they are disks when you run diskutil list
i tried looking it up but the only thing that comes up is server info...and this is home desktop computerEtreCheck version: 2.1.8 (121)
Report generated February 10, 2015 at 3:26:50 AM CST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (24-inch, Early 2009) (Verified)
iMac - model: iMac9,1
1 2.66 GHz Intel Core 2 Duo CPU: 2-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1067 MHz ok
BANK 1/DIMM0
4 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 9400 - VRAM: 256 MB
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 1:38:8
Disk Information: ℹ️
Hitachi HDT721064SLA360 disk0 : (640.14 GB)
EFI (disk0s1) <not mounted> : 210 MB
Mac Yosemite (disk0s2) / : 639.28 GB (628.54 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HL-DT-ST DVDRW GA11N
USB Information: ℹ️
Apple, Inc. Keyboard Hub
Logitech USB Receiver
Apple, Inc Apple Keyboard
Apple Inc. Built-in iSight
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Gatekeeper: ℹ️
Mac App Store and identified developers
Problem System Launch Daemons: ℹ️
[failed] com.apple.ucupdate.plist
[failed] com.apple.watchdogd.plist [Click for details]
User Login Items: ℹ️
None
Internet Plug-ins: ℹ️
Default Browser: Version: 600 - SDK 10.10
QuickTime Plugin: Version: 7.7.3
3rd Party Preference Panes: ℹ️
None
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
10% taskgated
7% mdworker
4% launchd
1% WindowServer
1% ArpGuard
Top Processes by Memory: ℹ️
455 MB softwareupdated
163 MB AntiVirus Sentinel Pro
151 MB WindowServer
129 MB com.apple.WebKit.WebContent
129 MB installd
Virtual Memory Information: ℹ️
3.02 GB Free RAM
2.92 GB Active RAM
1.62 GB Inactive RAM
764 MB Wired RAM
2.20 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Feb 10, 2015, 01:51:52 AM /Library/Logs/DiagnosticReports/mbpluginhost_2015-02-10-015152_[redacted].crash
Feb 10, 2015, 01:48:03 AM Self test - passed
Feb 9, 2015, 11:11:39 PM /Library/Logs/DiagnosticReports/Setup Assistant_2015-02-09-231139_[redacted].cpu_resource.diag [Click for details] -
I am having a problem with changing my apple account, I no longer have the email address associated with my old apple account I tried to use my new email address and it comes up as well as the old account sometime, I'm about to go crazy I have apps that need updating and I cannot do it because they are associated with an account that I no longer know the password to nor do I have that email address anymore. This is too Gawd awful confusing
I am having a problem with changing my apple account, I no longer have the email address associated with my old apple account I tried to use my new email address and it comes up as well as the old account sometime, I'm about to go crazy I have apps that need updating and I cannot do it because they are associated with an account that I no longer know the password to nor do I have that email address anymore. This is too Gawd awful confusing
-
Command /Developer/usr/bin/ibtool failed with exit code 255?
CompileXIB "The Dream Log/xib/DLLockSetupController.xib"
cd "/02 Projects/Graphic Design/dream log/working/xCode/thedreamlogtakefive"
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/g4user/Library/Developer/Xcode/DerivedData/The_Dream_Log-biaxzecevnzlql dtpjxstlufyhhb/Build/Products/Debug-iphonesimulator/The Dream Log.app/DLLockSetupController.nib" "/02 Projects/Graphic Design/dream log/working/xCode/thedreamlogtakefive/The Dream Log/xib/DLLockSetupController.xib" --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3 .sdk
2011-07-14 16:55:13.304 ibtoold[42465:4403] Invalid archive. Every reference with a ref tag must have an object with a matching id tag.
2011-07-14 16:55:13.333 ibtoold[42465:4403] Backtrace:
0 0x000000010003f32d IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
1 0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
2 0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
3 0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
4 0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
5 0x000000010003f481 IBDepthFirstForestVisit (in IDEInterfaceBuilderKit)
6 0x000000010004f6a1 -[IBXMLDecoder initForReadingWithData:error:] (in IDEInterfaceBuilderKit)
7 0x000000010004ef74 -[IBXMLDecoder initForReadingWithData:] (in IDEInterfaceBuilderKit)
8 0x000000010008154a -[IBAsyncXMLDecoderWrapper initializeDecoderForFileURL:] (in IDEInterfaceBuilderKit)
9 0x00007fff8004f284 _dispatch_call_block_and_release (in libSystem.B.dylib)
10 0x00007fff8002d7f1 _dispatch_worker_thread2 (in libSystem.B.dylib)
11 0x00007fff8002d128 _pthread_wqthread (in libSystem.B.dylib)
2011-07-14 16:55:13.334 ibtoold[42465:4403] An uncaught exception was raised
2011-07-14 16:55:13.335 ibtoold[42465:4403] Invalid archive. Every reference with a ref tag must have an object with a matching id tag.
2011-07-14 16:55:13.336 ibtoold[42465:4403] *** Terminating app due to uncaught exception 'IBExpect Failure', reason: 'Invalid archive. Every reference with a ref tag must have an object with a matching id tag.'
*** Call stack at first throw:
0 CoreFoundation 0x00007fff80fe17b4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff8849b0f3 objc_exception_throw + 45
2 CoreFoundation 0x00007fff81039969 -[NSException raise] + 9
3 IDEInterfaceBuilderKit 0x0000000100051049 __IBXMLDecoderResolveReferences_block_invoke_0401 + 278
4 IDEInterfaceBuilderKit 0x000000010003f32d IBDepthFirstTreeVisit + 42
5 IDEInterfaceBuilderKit 0x000000010003f3aa IBDepthFirstTreeVisit + 167
6 IDEInterfaceBuilderKit 0x000000010003f3aa IBDepthFirstTreeVisit + 167
7 IDEInterfaceBuilderKit 0x000000010003f3aa IBDepthFirstTreeVisit + 167
8 IDEInterfaceBuilderKit 0x000000010003f3aa IBDepthFirstTreeVisit + 167
9 IDEInterfaceBuilderKit 0x000000010003f481 IBDepthFirstForestVisit + 146
10 IDEInterfaceBuilderKit 0x000000010004f6a1 -[IBXMLDecoder initForReadingWithData:error:] + 1835
11 IDEInterfaceBuilderKit 0x000000010004ef74 -[IBXMLDecoder initForReadingWithData:] + 20
12 IDEInterfaceBuilderKit 0x000000010008154a -[IBAsyncXMLDecoderWrapper initializeDecoderForFileURL:] + 76
13 libSystem.B.dylib 0x00007fff8004f284 _dispatch_call_block_and_release + 15
14 libSystem.B.dylib 0x00007fff8002d7f1 _dispatch_worker_thread2 + 239
15 libSystem.B.dylib 0x00007fff8002d128 _pthread_wqthread + 353
16 libSystem.B.dylib 0x00007fff8002cfc5 start_wqthread + 13
terminate called after throwing an instance of 'NSException'
Command /Developer/usr/bin/ibtool failed with exit code 255I've solved the issue, but it required a hard reset.
Some said it was because I installed XCode outside of the App Store, or because the simluator was buggy, or because XCode was pointing at the wrong version of the Simulator, or a resoruce was missing a target membership, or whatever. I tried all of that.
I downloaded XCode from the App Store, re-installed the Simulators, and still no luck. So I just rolled back my repository to an earlier date, and lost some work in the process. Not much though, because I always commit little and often.
Since ever starting to use storyboards back in 2011, I have always committed little AND OFTEN. Storyboard are fragile. -
Sub: /usr/bin/ksh: sqlplus: not found.
Hi,
I installed Oracle 9R2 client on one server and i'm not able to execute sqlplus command it's throwing following error's
:oracle:/home/oracle#sqlplus
/usr/bin/ksh: sqlplus: not found.
:oracle:/u01/app/oracle/product/9.2.0#sqlplus
/usr/bin/ksh: sqlplus: 0403-006 Execute permission denied.
then i gave 777 permission to /u01/app/oracle/product/9.2.0
if i execute /u01/app/oracle/product/9.2.0/bin#sqlplus
i can able to connect
this is the Env variable i set in the .profile(AIX 5.2) PATH=/usr/bin:/etc:/usr/sbin:$ORACLE_HOME/bin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
Can anyone help me on this
Thanks!
Krishna Rthen i gave 777 permission to /u01/app/oracle/product/9.2.0well, I would not do that...
Maybe you are looking for
-
It started the first time when I had Firefox. I would be watch an online video and the picture would stop and the sound would become a buzz or a slow buzz and the sound trying to play. It became more and more. I chanced to chrome for a while. I wante
-
Boot Camp Reveals Deeper Problem?
Today, I tried to install Windows onto my new MacBook using the Boot Camp software. However, it told me that I could not partition the disk and that I needed to run a "Repair Disk" in order to be able to do so. I proceeded to do this, but it gave me
-
Waiting for Activation.. uhm HELP :(
My iPhone 4S has not been using iMessage all day. I'm just trying to fix it now, and when I turn it off and then back on, all it says is "waiting for activation" and then eventually says failed. How can I fix this? Is anyone else having this issue? s
-
Executing service control script: /ebiz/appl12/inst/apps/CRP3C_belsundev/admin/scripts/adformsctl.sh start ^R script returned: ERROR : Timed out( 300000 ): Interrupted Exception You are running adformsctl.sh version 120.12.12000000.3 Previously it wa
-
My laptop screen does not come on
I have a HP G62 but it has no battery but i still use it i was shuting it down when i triped over the charger and it truned off, i tryed to turn it back on but the screen wont light up but the laptop turn's on i tryed clicking the caps locks on but