cancel
Showing results for 
Search instead for 
Did you mean: 

Error "can not copy the lexicon" during installation

gregorw
SAP Mentor
SAP Mentor
905

Hello TREX Experts,

I have my NetWeaver ABAP 7.52 Developer Edition running in a Ubuntu 16.04.5 LTS using Vagrant with this script: https://github.com/sbcgua/sap-nw-abap-vagrant. From the SAP Service Marketplace I've downloaded TREX 7.10: Revision 77 and I've also tried Revision 76. But in both cases I face the same issue during installation.

As a pre-requisite I've installed libstdc++6 and linked it to the position where the TREX installer expects it. Then I could start the installation:

sudo apt-get install libstdc++6
sudo su -
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib64/libstdc++.so.6
./install.sh --action=install --sid=TRX --instance=10 --target=/sybase

That is the relevant output when the installation get's stuck:

Installing new version 7.10.76.404644, creating link: TREX_7.10.76.404644 -> /sybase/TRX/exe/nuc/linuxx86_64/trex_new
Copy the lexicon /sybase/TRX/exe/nuc/linuxx86_64/TREX_7.10.76.404644: /sybase/TRX/global/trex/custom/config/lexicon -> /sybase/TRX/exe/nuc/linuxx86_64/TREX_7.10.76.404644/lexicon
can not copy the lexicon


Action:  Configuring SAP system TRX
possess: /sybase/TRX/profile/DEFAULT.PFL
possess: /sybase/TRX/profile/TRX_TRX10_vhcalnplci
*******************************************************************************
Action: Configuring SAP system TRX -- failed. 
*******************************************************************************
############ >>>ERROR:installsapinit.sh FAILED with rc=1280 - TREX setup cannot proceed.
*******************************************************************************
*                   ===  Script execution resumee  ===                        *
* Step 1: Preparation and checks before TREX system installation      : SUCCESS
* Step 2: TREX system installation                                    : FAILED
*
* Script execution terminated at 2019-02-09_09.22.51 with error 1
* See also log file: /tmp/trex_install_2019-02-09_09.22.43/_install.log
*******************************************************************************

This is the logfile output:

======================================================
-----------------  SarTrek.makeitsap  ----------------
------------------------------------------------------
SarTrek.makeitsap
------------------------------------------------------
*******************************************************************************
Action: Configuring SAP system TRX -- failed. 
Exception description:
Traceback (most recent call last):
  File "./support/_install.py", line 1354, in installInstance
    self.memberInstallStatus.doItOrNot(self.memberSarTrek.makeitsap)
  File "/sybase/tx_trex_content/TX_LINUX_X86_64/support/setuplib.py", line 5930, in doItOrNot
    step(*args, **keyArgs)
  File "/sybase/tx_trex_content/TX_LINUX_X86_64/support/setuplib.py", line 2508, in makeitsap
    raise SetupException("installsapinit.sh FAILED with rc=%d" % (int(rc)))
SetupException: >>>ERROR:installsapinit.sh FAILED with rc=1280
*******************************************************************************
############ >>>ERROR:installsapinit.sh FAILED with rc=1280 - TREX setup cannot proceed.
Exception description:
Traceback (most recent call last):
  File "./support/_install.py", line 3566, in main
    Installer().mainTrexAction()
  File "./support/_install.py", line 705, in mainTrexAction
    self.installInstance(step)
  File "./support/_install.py", line 1381, in installInstance
    framework.error(str(e) + " - TREX setup cannot proceed.")
  File "./support/_install.py", line 3476, in error
    raise ErrorException(self.errorMarker + text,result=1)
ErrorException: <__main__.ErrorException instance at 0x7ff4912a1a28>
*******************************************************************************
*                   ===  Script execution resumee  ===                        *
* Step 1: Preparation and checks before TREX system installation      : SUCCESS
* Step 2: TREX system installation                                    : FAILED
* Script execution terminated at 2019-02-09_09.20.13 with error 1
*******************************************************************************

Hope that anyone can help me with that unsupported installation.

CU
Gregor

View Entire Topic
Robert_Russell
Contributor

Hi Gregor,

With that memory error, if you haven't done so already, I would validate the overall memory allocation of the 7.52 ABAP system + TREX

Check the link for the sappfpar checks to check minimum and worst case memory allocation for 7.52 and required swap.

As TREX will most likely want 1gb of memory set in sapprofile.ini it then depends on your setup. If it's possible to allocate more memory to your VM/server or reduce the ABAP 7.52 memory allocation (reduce PHYS_MEMSIZE ) . (If you have enough memory, then I would be stuck at that point.)

Regards

Robert

gregorw
SAP Mentor
SAP Mentor

Thank you Robet. I've assigned now 6GB to the VM and adjusted the kernel.shmmax parameter according to Linux Kernel Parameters. But I've used 2147483648 (2GB).