linux下启动监听器出现问题的解决
有关权限的错误:修改/var/tmp/.oracle的权限为oracle用户可写。 有关lost contact的错误:/etc/hosts文件中的主机名有问题。broken pipe的问题:listener.log文件达到了2G的限制。如果是客户端连不上:考虑是否因为防火墙,尝试关掉iptables。[@more@]
南京条约对鸦片只字未提
南京条约本以鸦片而起,但其十三款条文对鸦片只字未提。实际情况是:《南京条约》没有写上禁止鸦片进口的条约,外国商人利用这一点,加强了进行非法鸦片贸易的活动。中国政府打输了这场战争,不敢禁止这种买卖。结果,鸦片交易实际上变得毫无拘束,鸦片进口从1842年的33000箱上升到1848年的46000箱和1850年的52929箱。自此,以后的近代史著作中对鸦片不再关注。--以上摘自徐中约《中国近代史》上册,186页,225页。鸦片的毒害是否并不像史书中描写的那么巨大?[@more@]
删除一个目录中的文件后,依然可以看到其名称与inode编号
删除一个目录下的文件后,依然可以看到其名称和inode编号,说明目录文件中对应这些文件的信息并未删除,这与之前的验证相符。以下是验证过程:[root@law law]# pwd/root/law[root@law law]# ls -a. ..[root@law law]# touch a b c[root@law law]# ls -i131056 a 131057 b 131058 c[root@law law]# rm -rf *[root@law law]# ls -i[root@law law]# debugfs /dev/sda1debugfs 1.35 (28-Feb-2004)debugfs: cd /root/lawdebugfs: ls -d 130572 (12) . 130049 (4084) .. <131056> (12) a <131057> (12) b<131058> (4048) cdeb
Happiness, an acquisition list
A hutA few friendsTo avoid superiors, patronization, infighting and competitionThoght ============The Consolations of Philosophy[@more@]Many things that I would not care to tell any individual man I tell it to the public, and for knowledge of my most secret thoghts, I refer my most royal friends to a bookseller's stll. =====蒙田
《A passion for books》摘录
I have sought for happiness everywhere, but I have found it nowhere except in a little corner with a little book.-- Thomas A kempisA classic is a book that has never finished saying what it has to say. -- Italo CalvinoWhen you reread a classic you do not see more in the book than you did before; you see more in you than was there before. --Clifton FadimanThe end of reading is not more books but more life. -- Holbrook Jackson[@more@]Just the knowledge that a good book is waiting one at the end of
来日方长,其实并不长
该做的事情,现在就开始做吧。一生能读几本书,要读就现在开始吧。[@more@]
查看linux中文件的inode信息
大致四个方法:直接执行stat命令,以文件名称为参数。在debugfs中执行stat命令,以文件名称为参数。在debugfs中执行mi命令,以inode编号为参数,注意执行debugfs时,要附加-w选项。定位inode所在位置,然后以dd命令导出。后面两种方法会得到完整的inode信息,而前面两种不完整。[@more@]
清空Oracle内存区
清空数据缓冲区:ALTER SYSTEM FLUSH BUFFER_CACHE;清空共享缓冲区:ALTER SYSTEM FLUSH SHARED_POOL;[@more@]