Posted by arpz on Jan 13, 2010 in
solaris
Changing the IP/Hostname on Solaris 10 requires editing below files :
1. add/modify entry of /etc/hosts
# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.2.100 soladb1 loghost
10.10.10.1 soladb1-priv
2. edit name /etc/nodename to you hostname
# cat /etc/nodename
soladb1
3. Edit/add file /etc/hostname.<interface name>
# cat hostname.e1000g0
soladb1
# cat /etc/hostname.e1000g1
soladb1-priv
4. If you are changing network address, you will need to change the router address in the file:
#cat /etc/defaultrouter
I just leave defaultrouter file blank.
Tags: ip address, solaris 10
Posted by arpz on May 23, 2009 in
DBA,
Oracle
root@anaconda # ./srvctl start nodeapps -n anaconda
anaconda:ora.anaconda.vip:checkIf: Default gateway is not defined (host=anaconda)
anaconda:ora.anaconda.vip:Interface e1000g0 checked failed (host=anaconda)
anaconda:ora.anaconda.vip:Failed to start VIP 10.1.1.125 (host=anaconda)
anaconda:ora.anaconda.vip:checkIf: Default gateway is not defined (host=anaconda)
anaconda:ora.anaconda.vip:Interface e1000g0 checked failed (host=anaconda)
anaconda:ora.anaconda.vip:Failed to start VIP 10.1.1.125 (host=anaconda)
CRS-1006: No more members to consider
CRS-0215: Could not start resource ‘ora.anaconda.vip’.
CRS-0210: Could not find resource ora.anaconda.LISTENER_ANACONDA.lsnr.
When completing the Oracle10g RAC installation, i’m having this problem. To solve it, I need to create the default gateway file as the OS guy didnt create it.
so I create new file /etc/defaultrouter add the router ip address and reboot the system. After that I start back the nodeapps and it running fine.
# cat /etc/defaultrouter
10.13.210.20
Tags: oracle 10g rac, solaris 10
Posted by arpz on May 23, 2009 in
DBA,
Oracle
Few day back, I’m having this issue on Solaris 10 SPARC when installing Oracle 10g clusterware 10.2.0.1. When I try to run root.sh as per requirement, I receive this error :
root@Anaconda # ./root.sh
WARNING: directory ‘/oracle/product/10.2.0′ is not owned by root
WARNING: directory ‘/oracle/product’ is not owned by root
WARNING: directory ‘/oracle’ is not owned by root
Checking to see if Oracle CRS stack is already configured
Failure at scls_scr_create with code 1
Internal Error Information:
Category: 1234
Operation: scls_scr_create
Location: mkdir
Other: Unable to make user dir
Dep: 2
Failure initializing entries in /var/opt/oracle/scls_scr/Anaconda.
Then I try to run again, and this time this error come out :
root@Anaconda # ./root.sh
WARNING: directory ‘/oracle/product/10.2.0′ is not owned by root
WARNING: directory ‘/oracle/product’ is not owned by root
WARNING: directory ‘/oracle’ is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configuration
Then I google and found out, this is a bug for solaris. Hostname cannot be in capital. So, I change the hostname to lower case and rerun the installation.
It works and crs running fine.
Tags: Bug 4632899, Oracle, solaris 10