- 论坛徽章:
- 0
|
我设置了 /etc/hosts
127.0.0.1 as3 localhost.localdomain localhost
192.168.0.246 as3
然后我去启动数据库的时候有报错:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 22-MAR-2006 15:29:15
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
Linux Error: 2: No such file or directory
[root@as3 bin]# ./sqlplus /nolog
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
我的/root/.bash_profile:
PATH=$PATH HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_SID=demo1; export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/oracle/product/10.2.0; export ORACLE_HOME
export USERNAME BASH_ENV PATH
我的/home/oracle/.bash_profile:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH HOME/bin
export PATH
unset USERNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_SID=demo1; export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/oracle/product/10.2.0; export ORACLE_HOME
export DISPLAY=192.168.0.246:0.0
[ 本帖最后由 very_99 于 2006-3-22 16:10 编辑 ] |
|