Wednesday, May 12, 2010
Good link to grep usage..
http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/
Thursday, November 12, 2009
Checking Disk access time
1. using command:
hdparm -tT /dev/sda
sda being the device you want to check access speed of. The two speeds that appear as output are: 1. The speed of cache access. 2. The actual disk reads speed.
2. In case we need more description on device, fire:
hdparm -I /dev/sda
Investigate hdparm --help for more options on disk eg. the drive geometry (-g)
Monday, September 21, 2009
Random Picks- Kernel Compilation
A good link for beginners is:
http://bobpeers.com/linux/kernel_compiling.php
http://bobpeers.com/linux/kernel_compiling.php
Saturday, September 12, 2009
How to remove kernel module!!
The two major commands we would need are lsmod and rmmod.
lsmod lists all the kernel module.
and that rmmod directly deletes the kernel module. But more often the system gets stuck.. The best way is to grep for modules and rm -rf it.
find / -name -print
I got trouble with sk98lin ..network driver...
As I play more around modules.. the post will be updated.
lsmod lists all the kernel module.
and that rmmod directly deletes the kernel module. But more often the system gets stuck.. The best way is to grep for modules and rm -rf it.
find / -name
I got trouble with sk98lin ..network driver...
As I play more around modules.. the post will be updated.
Monday, December 15, 2008
Good Link for Linux open source books
Good Link for Linux open source books
http://www.dailyart isan.com/ news/open- source-e- books-for- linux/
http://www.dailyart isan.com/ news/open- source-e- books-for- linux/
Agent Upload problem in version 10.2.0.5 (EM Related)
The pending files to get uploaded when you fire
/bin/emctl status Agent shows that the files are pending.. to get uploaded to the OMS.
And it doesnt uploaded even if you give an hour to this..
The problem can be traced as follows:
goto/sysman/log . Open file emagent.trc . Go down find out which xml file is creating the problem.
Goto/emd/upload and remove that xml file.
Hint here is clearing that file and uploading the rest to the OMS. at least the block is removed.
now do an agent reload
/bin/emctl reload agent
Things should be better now
and agent must show no pending files..
And it doesnt uploaded even if you give an hour to this..
The problem can be traced as follows:
goto
Goto
Hint here is clearing that file and uploading the rest to the OMS. at least the block is removed.
now do an agent reload
Things should be better now
and agent must show no pending files..
Thursday, December 11, 2008
ORA-01031: insufficient privileges upon instance startup
Very good link: http://it.toolbox.com/blogs/david/ora01031-insufficient-privileges-upon-instance-startup-13759
He then proceeded to creating his instance using the following command:
oradim -new -sid InstanceSID -startmode m -pfile C:\location_to_pfile\init.ora -intpwd password
After which, the instance was created. He proceeded to creating the database itself. Since he was all keen about doing this manually he opened up a Windows CMD and did the following steps:
C:> SET ORACLE_SID=InstanceSID
C:> sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Wed Dec 13 10:18:27 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/password as sysdba
Connected to an idle instance.
SQL> startup nomount pfile=C:\location_to_file\init.ora;
ORA-01031: insufficient privileges
SQL>
As you see, he got an
ORA-01031
. He didn't understand what is causing this. His O/S user was a member of the ORA_DBA group. He tried logging off windows and then logging backup in. Nothing.
Subscribe to:
Posts (Atom)