groupadd dba
groupadd oinstall
useradd -g oinstall -G dba oraweb
id must be same in source and destination
(uid=500(oraweb) gid=500(oinstall) groups=500(oinstall),501(dba) context=user_u:system_r:unconfined_t)
chmod 777 /u01
copy datas from source to destination through
scp -r oracle oraweb@192.9.200.227:/u01
after copying
enter bashprofile
su - oraweb
vi .bash_profile
export ORACLE_HOME=/u01/oracle/10.1.2/OraHome_1
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin
change hostname
vi /etc/sysconfig/network
put hostentry
vi /etc/hosts
change ip
netconfig
start emctl start iasconsole
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.2
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://csd.oneapps.com:1156/emd/console/aboutApplication
Oracle Enterprise Manager 10g Application Server Control is running.
start opmnctl startall
starting opmnctl got error
log file=cat /u01/oracle/10.1.2/OraHome_1/webcache/logs/event_log
error: couldnot increase the numberof file/socket descriptors to 1100
======
check $ORACLE_HOME/webcache/webcache.xml
MULTIPORT>
solution steps
=================
(Port numbers less than 1024 are reserved for use by privileged processes on UNIX.
If you want to configure OracleAS Web Cache to listen on a port less than 1024, such as on port 80, then the webcached executable must run as the root user)
set oraclehome
export ORACLE_HOME=/u01/oracle/10.1.2/OraHome_1
solution: from root user execute ./webcache_setuser.sh setidentity 500
=========
No comments:
Post a Comment