Thursday 19 September 2013

what happens when someone deleted FNDLIBR/FNDFS executable?Is your concurrent will come up?

what happens when someone deleted FNDLIBR/FNDFS executable?Is your concurrent will come up?
We can re create it ,your Concurrent manager will not start if you lost executable.

Follow below steps to re create executable.

1)Login admin tier and run adadmin
2)         AD Administration Main Menu
   --------------------------------------------------

   1.    Generate Applications Files menu
  2.    Maintain Applications Files menu

 select '2' option.
Enter your choice [6] : 2

         Maintain Applications Files
   ----------------------------------------

   1.    Relink Applications programs  ==>Generate Specific executable.



----------------------------------------------
Move executable to create scenario
-----------------------------------------------

[applvision@apps bin]$ ls -ltrh FNDLIBR
-rwxr-xr-x 1 applvision applmgr 1.6M Mar 30  2009 FNDLIBR
[applvision@apps bin]$ mv FNDLIBR FNDLIBR_19sep2013
[applvision@apps bin]$ pwd


Lets try to start Concurrent manager.
[applvision@apps scripts]$ adcmctl.sh start apps/apps

You are running adcmctl.sh version 120.17.12010000.3

Starting concurrent manager for vision ...
Starting vision_0920@vision Internal Concurrent Manager
Default printer is noprint

adcmctl.sh: exiting with status 0


adcmctl.sh: check the logfile /apps/vision/inst/apps/vision_apps/logs/appl/admin/log/adcmctl.txt for more information ...

No processes are running
[applvision@apps scripts]$ ps -fu applvision
UID        PID  PPID  C STIME TTY          TIME CMD
501       5536  5527  0 06:23 ?        00:00:00 sshd: applvision@pts/2
501       5537  5536  0 06:23 pts/2    00:00:00 -bash
501       5807     1  0 06:25 pts/2    00:00:00 sendmail: ./r8K0tLqD005807 [127.0.0.1]: client MAIL
501       5813  5537  0 06:25 pts/2    00:00:00 ps -fu applvision

===============================================
Concurrent manager log file contain below message
==================================================

Starting vision_0920@vision Internal Concurrent Manager -- shell process ID 5794

          logfile=/apps/vision/inst/apps/vision_apps/logs/appl/conc/log/vision_0920.mgr
          PRINTER=noprint
           mailto=applvision
          restart=N
             diag=N
            sleep=30
             pmon=4
           quesiz=1
          Reviver is ENABLED

sh: line 34: FNDLIBR: command not found
The vision_0920@vision internal concurrent manager has terminated with status 127 - giving up.


Let's try to generate executable.

AD code level : [B.1]

            AD Administration Main Menu
   --------------------------------------------------

   1.    Generate Applications Files menu

   2.    Maintain Applications Files menu

   3.    Compile/Reload Applications Database Entities menu

   4.    Maintain Applications Database Entities menu

   5.    Change Maintenance Mode

   6.    Exit AD Administration









Enter your choice [6] : 2

         Maintain Applications Files
   ----------------------------------------

   1.    Relink Applications programs

   2.    Copy files to destinations

   3.    Convert character set

   4.    Maintain snapshot information

   5.    Check for missing files

   6.    Return to Main Menu









Enter your choice [6] : 1

AD Administration uses your Oracle Applications environment file
to set up the environment for relinking Applications.

Before proceeding with the relink, you may optionally want to:
 - Go back to the menu by answering No below.
 - Use an option on the Maintain Files menu
   to generate your Applications environment file.
 - Edit the file to add any customizations.
 - Verify the list of executables in adlinkbk.txt which are saved
   before relinking and add any additional executables as desired.
 - Choose this option again, and proceed with the relink.

Do you wish to proceed with the relink [Yes] ?

Enter the name of your Oracle Applications environment file below.
File name [vision_apps.env] :

Reading product executable information...

Enter list of products to link ('all' for all products) [all] : FND

Generate specific executables for each selected product [No] ? YES

AD Administration can relink your Oracle Applications programs with debug
information.  Oracle recommends that you do not relink your programs
with debug information unless asked to do so by Oracle Support Services.

Relink with debug information [No] ?

Relinking selected modules in Application Object Library.

List of executables in Application Object Library :

         ADCONV       AFTBLGEN     CMDCART.so        CONCSUB        FDULONG
        FNDAQCT       FNDATUPD       FNDCPASS       FNDCPGLC       FNDCPPUR
       FNDCPRRF       FNDCPSPN       FNDCPTST       FNDCPUCF         FNDCRM
       FNDDWPUR        FNDEMON       FNDFBPLS       FNDFBUPG       FNDFFCHY
       FNDFFRXR       FNDFFUPG       FNDFFVGN          FNDFS         FNDGFH
         FNDLIBR        FNDIMON        FNDLIBR        FNDLOAD      FNDLOADSO
       FNDMDCVT       FNDMDGEN       FNDPRESC       FNDPSTAX       FNDRTR45
         FNDSCH       FNDSLOAD          FNDSM       FNDSVCRG       FNDTMTST
     FNDWRR.exe         WFLOAD       WFMLRXFR       WFRESGEN         WFTEST
         fdfcmp       fndcpesr    fndfmxit.so    fndrwxit.so

Enter executables to relink, or enter 'all' [all] : FNDLIBDR
**********************************************************
You are running adrelink, version 120.43

Start of adrelink session
Date/time is  Fri Sep 20 06:34:54 IST 2013
Log file is  /apps/vision/apps/apps_st/appl/admin/vision/log/adrelink.log
Command line arguments are
   "force=y" "ranlib=y" "link_debug=n" "filelist=/apps/vision/apps/apps_st/appl/admin/vision/out/alkfnd000.txt"


Operating System Information (output of 'uname -a'):

Linux apps.innovation.com 2.6.18-238.el5PAE #1 SMP Tue Jan 4 15:50:36 EST 2011 i686 i686 i386 GNU/Linux


Backup Mode is "file"

Removing extra variables from the environment...
  adrelink will save the following variables (if set):
   - Generic:
"PATH ORACLE_HOME TMPDIR TZ APPL_TOP APPLFENV PLATFORM LD_LIBRARY_PATH COBDIR LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
   - Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
  Beginning pass 1.
   Processing 373 environment variables...
     361 removed; 12 saved.
  Beginning pass 2.
   Processing 12 environment variables...
     0 removed; 12 saved.
Done removing extra environment variables.

Removing Application products' bin directories from PATH ...
Done removing Application products' bin directories from PATH

Reading Oracle Applications environment file
Your Oracle Applications environment file is /apps/vision/apps/apps_st/appl/vision_apps.env

Removing $FND_TOP/$APPLBIN from PATH ...
Done removing $FND_TOP/$APPLBIN from PATH

Removing extra variables from the environment (again)...
  adrelink will save the following variables (if set):
   - Generic:
"PATH ORACLE_HOME TMPDIR TZ LD_LIBRARY_PATH COBDIR LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
   - Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
  Beginning pass 1.
   Processing 337 environment variables...
     328 removed; 9 saved.
  Beginning pass 2.
   Processing 9 environment variables...
     0 removed; 9 saved.
Done removing extra environment variables (again).


Re-reading critical environment variables ...
Done re-reading critical environment variables


ORACLE RDBMS   Version 10.1.0.5.0
Oracle Reports Version 10.1.2

Oracle Applications Release 12


Current product is  AD
LADLIB  is set to /apps/vision/apps/apps_st/appl/ad/12.0.0/lib/libad.a

Current product is  ALR
LALRLIB  is set to /apps/vision/apps/apps_st/appl/alr/12.0.0/lib/libalr.a

Current product is  AP
LAPLIB  is set to /apps/vision/apps/apps_st/appl/ap/12.0.0/lib/libap.a

Current product is  AR
LARLIB  is set to /apps/vision/apps/apps_st/appl/ar/12.0.0/lib/libar.a
LARSRW  is set to /apps/vision/apps/apps_st/appl/ar/12.0.0/lib/xirar.o $(LARLIB)

Current product is  BOM
LBOMLIB  is set to /apps/vision/apps/apps_st/appl/bom/12.0.0/lib/libbom.a

Current product is  CRP
LCRPLIB  is set to /apps/vision/apps/apps_st/appl/crp/12.0.0/lib/libcrp.a

Current product is  CZ
LCZLIB  is set to /apps/vision/apps/apps_st/appl/cz/12.0.0/lib/libcz.a

Current product is  DDR
adrelink: Warning: not setting  LDDRLIB
since /apps/vision/apps/apps_st/appl/ddr/12.0.0/lib/libddr.a does not exist
or cannot be read.

Current product is  DPP
adrelink: Warning: not setting  LDPPLIB
since /apps/vision/apps/apps_st/appl/dpp/12.0.0/lib/libdpp.a does not exist
or cannot be read.

Current product is  DT
LDTLIB  is set to /apps/vision/apps/apps_st/appl/dt/12.0.0/lib/libdt.a

Current product is  ENG
LENGLIB  is set to /apps/vision/apps/apps_st/appl/eng/12.0.0/lib/libeng.a

Current product is  FA
LFALIB  is set to /apps/vision/apps/apps_st/appl/fa/12.0.0/lib/libfa.a
LFASRW  is set to /apps/vision/apps/apps_st/appl/fa/12.0.0/lib/xirfa.o $(LFALIB)

Current product is  FEM
LFEMLIB  is set to /apps/vision/apps/apps_st/appl/fem/12.0.0/lib/libfem.a

Current product is  FF
LFFLIB  is set to /apps/vision/apps/apps_st/appl/ff/12.0.0/lib/libff.a

Current product is  FND
LFNDLIB  is set to /apps/vision/apps/apps_st/appl/fnd/12.0.0/lib/libfnd.a
LFNDSRW  is set to /apps/vision/apps/apps_st/appl/fnd/12.0.0/lib/xirfnd.o $(LFNDLIB)

Current product is  FTP
LFTPLIB  is set to /apps/vision/apps/apps_st/appl/ftp/12.0.0/lib/libftp.a

Current product is  GL
LGLLIB  is set to /apps/vision/apps/apps_st/appl/gl/12.0.0/lib/libgl.a

Current product is  GMA
LGMALIB  is set to /apps/vision/apps/apps_st/appl/gma/12.0.0/lib/libgma.a

Current product is  GMF
LGMFLIB  is set to /apps/vision/apps/apps_st/appl/gmf/12.0.0/lib/libgmf.a

Current product is  GML
LGMLLIB  is set to /apps/vision/apps/apps_st/appl/gml/12.0.0/lib/libgml.a

Current product is  IBY
LIBYLIB  is set to /apps/vision/apps/apps_st/appl/iby/12.0.0/lib/libiby.a

Current product is  INL
adrelink: Warning: not setting  LINLLIB
since /apps/vision/apps/apps_st/appl/inl/12.0.0/lib/libinl.a does not exist
or cannot be read.

Current product is  INV
LINVLIB  is set to /apps/vision/apps/apps_st/appl/inv/12.0.0/lib/libinv.a

Current product is  IZU
adrelink: Warning: not setting  LIZULIB
since /apps/vision/apps/apps_st/appl/izu/12.0.0/lib/libizu.a does not exist
or cannot be read.

Current product is  MRP
LMRPLIB  is set to /apps/vision/apps/apps_st/appl/mrp/12.0.0/lib/libmrp.a

Current product is  MSC
LMSCLIB  is set to /apps/vision/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a

Current product is  MSO
LMSOLIB  is set to /apps/vision/apps/apps_st/appl/mso/12.0.0/lib/libmso.a

Current product is  MSR
LMSRLIB  is set to /apps/vision/apps/apps_st/appl/msr/12.0.0/lib/libmsr.a

Current product is  MST
LMSTLIB  is set to /apps/vision/apps/apps_st/appl/mst/12.0.0/lib/libmst.a

Current product is  MTH
adrelink: Warning: not setting  LMTHLIB
since /apps/vision/apps/apps_st/appl/mth/12.0.0/lib/libmth.a does not exist
or cannot be read.

Current product is  MWA
LMWALIB  is set to /apps/vision/apps/apps_st/appl/mwa/12.0.0/lib/libmwa.a

Current product is  PA
LPALIB  is set to /apps/vision/apps/apps_st/appl/pa/12.0.0/lib/libpa.a

Current product is  PAY
LPAYLIB  is set to /apps/vision/apps/apps_st/appl/pay/12.0.0/lib/libpay.a

Current product is  PO
LPOLIB  is set to /apps/vision/apps/apps_st/appl/po/12.0.0/lib/libpo.a
LPOSRW  is set to /apps/vision/apps/apps_st/appl/po/12.0.0/lib/xirpo.o $(LPOLIB)

Current product is  PON
LPONLIB  is set to /apps/vision/apps/apps_st/appl/pon/12.0.0/lib/libpon.a

Current product is  QPR
adrelink: Warning: not setting  LQPRLIB
since /apps/vision/apps/apps_st/appl/qpr/12.0.0/lib/libqpr.a does not exist
or cannot be read.

Current product is  RG
LRGLIB  is set to /apps/vision/apps/apps_st/appl/rg/12.0.0/lib/librg.a

Current product is  RRS
adrelink: Warning: not setting  LRRSLIB
since /apps/vision/apps/apps_st/appl/rrs/12.0.0/lib/librrs.a does not exist
or cannot be read.

Current product is  WIP
LWIPLIB  is set to /apps/vision/apps/apps_st/appl/wip/12.0.0/lib/libwip.a

Current product is  WPS
LWPSLIB  is set to /apps/vision/apps/apps_st/appl/wps/12.0.0/lib/libwps.a

Current product is  WSM
LWSMLIB  is set to /apps/vision/apps/apps_st/appl/wsm/12.0.0/lib/libwsm.a

Current product is  XDP
LXDPLIB  is set to /apps/vision/apps/apps_st/appl/xdp/12.0.0/lib/libxdp.a

LUSRLIB is /apps/vision/apps/apps_st/appl/fnd/12.0.0/usrxit/libusr.a

Not linking Oracle Applications with any Oracle mail product

LALRSTUB is now set to /apps/vision/apps/apps_st/appl/alr/12.0.0/lib/alstub.o
MAILLNK  is now set to /apps/vision/apps/apps_st/appl/alr/12.0.0/lib/alstub.o

Creating prefix makefiles ...
Done creating prefix makefiles

The file /apps/vision/apps/apps_st/appl/admin/vision/out/alkfnd000.txt contains:
***
***

adrelink is exiting with status 0

End of adrelink session
Date/time is  Fri Sep 20 06:35:01 IST 2013
**********************************************************

Line-wrapping log file for readability ...
Done line-wrapping log file.

Original copy is /apps/vision/apps/apps_st/appl/admin/vision/log/adrelink.lsv
New copy is /apps/vision/apps/apps_st/appl/admin/vision/log/adrelink.log


Review the messages above, then press [Return] to continue.


Backing up restart files, if any......Done.

         Maintain Applications Files
   ----------------------------------------

   1.    Relink Applications programs

   2.    Copy files to destinations

   3.    Convert character set

   4.    Maintain snapshot information

   5.    Check for missing files

   6.    Return to Main Menu









Enter your choice [6] :

                               

Now check your executable
===========================

[applvision@apps bin]$ ls -ltrh FNDLIBR
-rwxr-xr-x 1 applvision applmgr 1.6M Sep 19  2013 FNDLIBR
[applvision@apps bin]$

                                                         





No comments:

Post a Comment