关闭Oracle-XE默认的web服务器

Blinux Post in Oracle,Tags:
0

oracle-xe(oracle便捷版)本来就很小了,竟然还带个webserver,默认占用8080端口,对我来说意义不大,而且还占用内存,何不去之。

令人意外的是关闭oracle xe自带的web服务器是需要在数据库中关闭

[root@Blinux ~]# su - oracle

阅读全文——共219字

GDM could not write to your authorization file

Blinux Post in Troubleshooting,Tags:
0

"GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. Please contact your system administrator."

root用户可以登陆图形界面,但普通用户不可以登陆图形界面

结果一查,/tmp 目录的权限导致普通用户不可写

阅读全文——共279字

技嘉GA-G31-ES2C网卡Linux驱动

Blinux Post in Linux 网络基础,Tags: ,
0

技嘉GA-G31-ES2C这块主板真是很糟糕,在Centos下的网卡无法驱动,官方(不是技嘉,是网卡芯片)提供的Linux驱动根本无用,无奈有人高人提醒安装个rpm包就OK了

下面提供Gigabyte GA-G31-ES2C 网卡驱动的rpm包下载地址

http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-atl1e-1.0.1.9-1.el5.elrepo.i686.rpm

阅读全文——共282字

挂载LVM分区

Blinux Post in Linux的大杂烩,Tags:
0

selinux配置文件出错导致系统kernel panic,没办法只能将磁盘挂接到其他的电脑上修改selinux的配置文件,然而这块硬盘是个LVM分区

原服务器有两块硬盘,一起做了LVM,一个硬盘是一个物理卷(pv),也就是两块硬盘组成一个卷组(vg),/ 分区在其中一块硬盘上

于是乎,我将这块硬盘挂接到另一台服务器上,然后执行

阅读全文——共414字

Oracle XE修改字符集

Blinux Post in Oracle,Tags: ,
0

安装了Oracle XE,也就是oracle的便捷版,由于是rpm包,所以没法选择字符集,如果你想使用指定的字符集,那需要做下修改。

下面是Blinux中操作实例,将字符集修改为US7ASCII (AMERICAN_AMERICA.US7ASCII)

[root@blinux ~]# su - oracle

阅读全文——共482字

ORACLE查询字符集

Blinux Post in Oracle,Tags: ,
0

oracle查询字符集很简单,进入用sqlplus登入oracle后执行 select userenv('language') from dual; 即可

SQL> select userenv('language') from dual;

USERENV('LANGUAGE')

阅读全文——共206字

error: yum-utils.rpm: rpmReadSignature failed: region trailer: BAD

Blinux Post in Troubleshooting
1

安装rpm包是提示:error: yum-utils.rpm: rpmReadSignature failed: region trailer: BAD, tag 4063232 type 524287 offset 7340032 count 1085101

原来是这个rpm包是自己用ftp上传时没有选择二进制传输导致的,估计是ASCII模式传输的

使用二进制重新传输,OK

libreadline.so.4: cannot open shared object file: No such file or directory

Blinux Post in Troubleshooting
0

启动PostgreSQL时提示:/opt/trend/imss/PostgreSQL/bin/pg_ctl: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory

原来compat-readline包没有安装

于是乎用yum 搜索这个包的版本

阅读全文——共276字

passwd: Authentication token manipulation error

Blinux Post in Troubleshooting,Tags:
2

修改root密码提示:passwd: Authentication token manipulation error,执行pwconv,一切OK.

[root@cluster tar]#pwconv

pwconv creates shadow from passwd and an optionally existing shadow.

阅读全文——共165字

Error in invoking target 'all_no_orcl ihsodbc' of makefile

Blinux Post in Oracle,Tags:
0

安装Oracle 10g 时提示 Error in invoking target 'all_no_orcl ihsodbc' of makefile '/home/oracle/app/product/10g/rdbms/lib/ins_rdbms.mk'. See

/home/oracle/app/oracle/oralnventory/logs/installActions2010-07-06_12-08-51AM.log' for details

原来是没有安装compat-libstdc++-33

阅读全文——共302字

error in invoking target ntcontab.o of makefile

Blinux Post in Oracle,Tags:
0

安装Oracle 10g 时提示 error in invoking target ntcontab.o of makefile '/home/oracle/app/oracle/product/10g/network/lib/ins_net_client.mk'.See '/home/oracle/oraInventory/logs/installActions2010-07-06_12-08-51AM.log' for details.

原来是没有安装gcc

安装完gcc就OK了,hoho

阅读全文——共249字

用yum下载rpm包

Blinux Post in linux 基础命令,Tags:
1

rpmforge和epel中有很多好软件,刚才在扶凯的博客里找到了下载yum源中的rpm包的方法,安装yum-utils,直接用yumdownloader 就可以直接下载yum源中的rpm包.

yum -y install yum-utils

接着就可以下载yum源中的rpm包了

阅读全文——共183字