11 Ocak 2013 Cuma

SOLARIS CRONTAB PROBLEM




SOLARIS crontab problem

PROBLEM:

bash-3.2$ crontab -e

0


SOLUTION:

export EDITOR=vi

5 Ocak 2013 Cumartesi

Xlib: connection to "x:0.0" refused by server



Problem:

When you running concurrent reports you get this error.

Xlib: connection to "x:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
REP-3000: Internal error starting Oracle Toolkit
REP-0004: Warning: Unable to open user preference file while running reports.
xlib connection to 1.0 refused by server oracle concurrent
Xlib: connection to "hostname:1.0" refused by server

Solution:

su - root

export DISPLAY=hostname:1.0
xhost +

./adcmtl.sh stop

./adcmtl.sh start

Note:
This problem happened AIX,SOLARIS OS,not LINUX.Because  reports use DISPLAY,Linux OS has DISPLAY,but others doesn't have.If you use Linux,don't panic.You won't come across this problem:)

AutoConfig could not successfully instantiate


Problem:


AutoConfig could not successfully instantiate the following files:
    Directory: $ORACLE_HOME/appsutil/install/CLONEDB_testburladb
      adcrdb.sh               INSTE8

adcfgclone is failing with AC-00423, RC-50014 adcrdb.sh missing from file system [ID 549872.1]

The template adcrdb.sh is missed in the target location "<10.2 DB $ORACLE_HOME>/appsutil/template"

Solution:

To implement the solution, please execute the following steps :

1. copy the missing 'adcrdb.sh' template from the Source to the Target Instance :

Source Location :

<10.2 DB $ORACLE_HOME>/appsutil/template

Target Location :

<10.2 DB $ORACLE_HOME>/appsutil/template

2. Change ownership and permission of adcrdb.sh file to match with the other templates, which resides in the template directory.

3. Re-start the adcfgclone dbTier on the Target Instance.

RC-00110: Fatal Error occurred while relinking of ApplyDBTechStack


Problem:


RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack

Solution:

rm $ORACLE_HOME/lib32/ldflags

ln -s $ORACLE_HOME/lib/ldflags $ORACLE_HOME/ldflags

RC-50208: Exception in method Timed Process.run



Problem:

RC-50208: Exception  in method TimedProcessProcess.run
Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program "unzip": error=2, No such file or directory

Solution:

Set java ve unzip set in your .profile(bash_profile) file.Add this line below:

$ORACLE_HOME/appsutil/jre/bin:$ORACLE_HOME/bin

ORA-12545: Connect failed because target host or object does not exist




Problem:

ORA-12545: Connect failed because target host or object does not exist


Solution:

Check hostname in your /etc/hosts file