error: can't create transaction lock on /var/lib/rpm/__db.000
Solution:
Install it as root user.
Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts
Wednesday, January 9, 2013
Wednesday, November 21, 2012
grep: unknown devices method
# grep -r "-DACE_NDEBUG" .
grep: unknown devices method
solution:
remove -
use #grep -r "DACE_NDEBUG" .
Friday, November 9, 2012
Let's do some shell programming!
1. Check what shell version you have:
$ cat /etc/shells
2. Show which shell you are using currently:
echo $SHELL
3. This is a good website for learning shell:
http://arachnoid.com/linux/shell_programming.html
$ cat /etc/shells
2. Show which shell you are using currently:
echo $SHELL
3. This is a good website for learning shell:
http://arachnoid.com/linux/shell_programming.html
Monday, November 5, 2012
Failed to install java 1.3 in a x86-64 suse 11
Failed to install java 1.3 in a x86-64 suse 11.
Get the error message like: Error: can't find libjava.so.
It seems that java 1.3 has not x86 64 version.
Get the error message like: Error: can't find libjava.so.
It seems that java 1.3 has not x86 64 version.
Friday, October 19, 2012
Set AIX date and time
# date 0819092612
mmddHHMMyy
all see the man page
mm-month
MM-minutes
yy-last two digits of year
mmddHHMMyy
all see the man page
mm-month
MM-minutes
yy-last two digits of year
Friday, October 5, 2012
panic: JVMST017: Cannot allocate memory in initializeMarkAndAllocBits(markbits1)
$ ./c_report.sh
Starting to compile report
Converting RPT_005.rdf
Unable to alloc heap of requested size, perhaps the maxdata value is too small - see README.HTML for more information.
**Out of memory, aborting**
*** panic: JVMST017: Cannot allocate memory in initializeMarkAndAllocBits(markbits1)
./c_report.sh[14]: 9437210 IOT/Abort trap(coredump)
Converting RPT_008.rdf
Unable to alloc heap of requested size, perhaps the maxdata value is too small - see README.HTML for more information.
**Out of memory, aborting**
Solution:
http://www-01.ibm.com/support/docview.wss?uid=swg21524989
Thursday, September 20, 2012
UNIX Command
more -p G filename
go to the end of file
du- sk
check file size
df -G
show disk usage
vi
10yy and p copy 10 lines and paste
ftp
ftp ipaddress
cd , ls or dir
get xxxx
put xxxx
ls -al | tee a.txt
Tar
tar -xvf xxxxx.tar
In
In -s xxxxx.so.6.0.1 xxxxxx.so
uname -a
Show the os information
Vi
Search and Replace
:%s/aaa/bbb/g
replace all aaa with bbb
go to the end of file
du- sk
check file size
df -G
show disk usage
vi
10yy and p copy 10 lines and paste
ftp
ftp ipaddress
cd , ls or dir
get xxxx
put xxxx
ls -al | tee a.txt
Tar
tar -xvf xxxxx.tar
In
In -s xxxxx.so.6.0.1 xxxxxx.so
uname -a
Show the os information
Vi
Search and Replace
:%s/aaa/bbb/g
replace all aaa with bbb
Subscribe to:
Posts (Atom)