Subscribe

Subscribe

Vladstudio

How to turn on or off colors in bash

Type the following command for just this listing,
$ ls –color=none
Or remove the alias with the unalias command:
$ unalias ls

via How to turn on or off colors in bash.

Using cpio

Some files that you get from Oracle download come in cpio format.
Here’s what to do with them.
First unzip the files:

gunzip lnx_920_disk1.cpio.gz
gunzip lnx_920_disk2.cpio.gz
gunzip lnx_920_disk3.cpio.gz

Next unpack the contents of the files:

cpio -idmv < lnx_920_disk1.cpio
cpio -idmv < lnx_920_disk2.cpio
cpio -idmv < lnx_920_disk3.cpio

Prtdiag is Not working in Solaris

Try running it as root.
If this works then check the permisions on /var/run/picld_door

The permisions should be set to 444
ie:

ls -l /var/run/picld_door
Dr–r–r– 1 root root 0 Aug 27 07:40 /var/run/picld_door

This is the fix:

shell> chmod 444 /var/run/picld_door

ERROR: NMO not setuid-root (Unix-only)

Possible Cause : root.sh not run after the EM 10G installation.

Fix:
Check the permissions and ownership of the nmo and nmb executable in the $
AGENT_OH/bin, where the management agent has been installed:

$ ls -al nmo
$ ls -al nmb

These should be of the form :

-rwsr-s— 1 root dba 22465 Apr 13 17:53 nmo
-rwsr-s— 1 root dba 18055 [...]

Inappropriate ioctl for device

Photo by Cindy_FL

I was trying to setup an instance of Oracle 10.2.0.3 a while back and was running into a strange problem.

I could get 10.2.0.1 to install and run OK, and the upgrade to 10.2.0.3 seemed to work OK. But then when I tried to create a database it would fail and [...]