I was trying to find a solution to do a find & replace across multiple files which was purely command line based. There are plenty of scripts out there which will accomplish this but I needed a single line command. After some google searches and some experimentation I came up with this snippet.
I received this error message when I was trying to mount the primary database.
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-01102: cannot mount database in EXCLUSIVE mode Continue reading
While creating a startup database using dbca the database creation GUI gives error message in a pop up window,
ORA-00845: MEMORY_TARGET not supported on this system
from where you can ignore the error message.
The similar scenario also occur whenever you try to start your database then startup shows error message like below.
ORA-00845: MEMORY_TARGET not supported on this system Continue reading
I get the ORA-09925 error when trying to log on to SQL*Plus:
ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9925
ORA-01075: you are currently logged on Continue reading
Every good Solaris Admin should be aware of the following, notice I said aware and not be an expert… Because once you’re aware you’re half way there
- How to check log files. (mem/CPU/Disk/Network)
- Understand users/groups/shares/file permissions/quotas.
- How to get the server on the networked (Static/DHCP) Continue reading
Red Hat’s Package Manager (RPM)
RPM is a powerful software manager. It can install, remove, query, and verify the software on your system. Rpm is more than a Red Hat specific tool. Many other modern distributions, such as Caldera and SuSe, use rpm too.
Querying Your System
The first thing you should do is look and see what software you have installed on your system. Here is the command to use:
rpm -qa | more
vi has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC] returns the editor to command mode (where you can quit, for example by typing :q!). Most commands execute as soon as you type them except for “colon” commands which execute when you press the ruturn key Continue reading