http://www.liberidu.com/blog/?page_id=230
Posted on September 29, 2005
Filed Under SQL*Net, Protocol Server, RDBMS, Oracle
Say it’s that day again. You try to connect to a (new) database and once again you are facing SQL*Net problems.
C:/oracle/product/10.1.0/client/BIN>sqlplus /nolog
SQL*Plus: Release 10.1.0.4.0 – Production ON Thu Sep 29 10:37:15 2005
Copyright (c) 1982, 2005, Oracle. ALL rights reserved.
SQL> conn scott/tiger@lab.amis.nl
ERROR: ORA-12154:
TNS:could NOT resolve the connect identifier specified
Blast!. What can you do? Once in a while i get a lot of these SQL*Net problems (network changes, etc, the wrong weather type). So
to help you (and me), here i will you give you my grey-matter checklist (it’s not complete but should help you to resolve 80% of
the problems)
Continue reading Small introduction to SQL*Net debugging [client side]
1.Typing invisiable password
1
2
3
4
5
| echo "Enter your password: \c"
oldstty=`stty -g`
stty -echo intr ^-
read password
stty $oldstty |
2.Backspace setting
3.Colunm setting
4.List current stty setting
1
2
3
| stty -a (all setting)
stty (undefault setting)
stty -g (RAW mode) |
You can get the help files regarding stty usage in the folllowing ways:
1
2
3
| info stty
man stty
stty --help |
今天给家里打电话,老妈说要把家里的两亩地包给人家种葡萄,每年每亩地750块钱。一包十年,十年下来能够拿到1.5W。村里人都很愿意包给别人。因为种地的成本差不多是一千多(纯机械化),用这一千来块钱买米也够一家吃一年了,而且省了人去操心。也难怪农民都不愿意种地了。
记得以前,种地是家里的头等大事,因为有了好收成,我们才能吃饱,多点收成,才能多卖点粮食,家里才有钱给我交学费去上学。
随着中国经济的发展,中国的耕地每年都在减少,而用于耕种粮食的地就更少。中国粮食进口比例也是逐年在递增。这几年我们可以看到外资企业的触角已经伸到我们的粮袋里了。一方面是利用自己的高技术生产出成本低廉的粮食出口到我们国家,另一方面入股我们的大型粮油企业。
最后我还是否决了老妈的这个决定,因为我感觉留着地,心里好像就更踏实一些,不知道为什么会有这种感觉,也许我是农民子弟的缘故吧
不知道什么时候,我们的国家的政策能让我愿意去种地…而现在,我唯一能做的就是保留这一片荒芜的自留地。
告别2008
我也告别了单身
挥挥手
让我们告别往事
忘却在汶川地震中的伤痛
迎来新的一年
2009是团圆年
是希望年
带着新的希望
创建我们新的家园
RHEL4-U5
1.将下列文件中原主机名改成你想要的名字。
/etc/sysconfig/network
/etc/hosts |
2.使主机名生效
Continue reading 修改Unix/Linux主机名
Recent Comments