on 04-06-2015 7:32 AM
Hello,
I am trying to install TREX 7.1_62 on Linux server.
I put /sapmnt as my installation location in sapinst.
While installing TREX instance the installer is terminating with below log:
_install.log
Traceback (most recent call last):
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/setuplib.py", line 5013, in createLinked
os.symlink(link[1], link[0])
OSError: [Errno 17] File exists
*******************************************************************************
Action: Creating directory structure for SAPSID D82, Instance 00 -- failed.
Exception description:
Traceback (most recent call last):
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/_install.py", line 1340, in installInstance
self.memberInstallStatus.doItOrNot(self.memberSarTrek.createdirs)
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/setuplib.py", line 5857, in doItOrNot
step(*args, **keyArgs)
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/setuplib.py", line 2542, in createdirs
self.ds.createLinked()
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/setuplib.py", line 5016, in createLinked
raise SetupException("failed to check/create link %s -> %s!" % (link[0], link[1]))
SetupException: >>>ERROR:failed to check/create link /usr/sap/D82 -> /sapmnt/D82!
*******************************************************************************
############ >>>ERROR:failed to check/create link /usr/sap/D82 -> /sapmnt/D82! - TREX setup cannot proceed.
Exception description:
Traceback (most recent call last):
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/_install.py", line 3562, in main
Installer().mainTrexAction()
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/_install.py", line 703, in mainTrexAction
self.installInstance(step)
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/_install.py", line 1379, in installInstance
framework.error(str(e) + " - TREX setup cannot proceed.")
File "/sapsw/TREX_71_62/tx_trex_content/TX_LINUX_X86_64/support/_install.py", line 3472, in error
raise ErrorException(self.errorMarker + text,result=1)
ErrorException: <__main__.ErrorException instance at 0x7f4cfda6bd88>
*******************************************************************************
* === Script execution resumee === *
* Step 1: Preparation and checks before TREX system installation : SUCCESS
* Step 2: TREX system installation : FAILED
* Script execution terminated at 2015-04-03_08.33.35 with error 1
*******************************************************************************
I tried to use other locations like /usr/sap/D82 as installation location, inthat case it tries to create link like
/usr/sap/D82/D82 --> /usr/sap/D82
My server has /sapnt/D82 and /usr/sap/D82 as separate mount points.
/dev/mapper/vg_dd82-lvusapd82_3
47G 1.1G 46G 3% /usr/sap/D82
/dev/mapper/vg_dd82-lvusapd82_4
4.7G 139M 4.6G 3% /usr/sap/SMD/SMDA90
itsusravmdd05.jnj.com:/vol/itsusravmdd05_btb/btb_fsrf_sapmnt_d82
25G 0 25G 0% /sapmnt/D82
I dont understand why installer is trying to create a softlink between
/sapmnt/D82 and /usr/sap/D82
Please share any information you guys are having.
Thanks & Regards,
Tejas
I faced the same problem as well. The reply of Maurizio is the correct "workaround" here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here with same mount points.
Solved with following commands:
umount /usr/sap/SID
cd /usr/sap
rm -r SID
SAP installation try to create symbolic link from /usr/sap/SID to /sapmnt/SID
SID under /usr/sap should not exist.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Tejas,
1. Firstly cleanup your failed installs.
2. Use /usr/sap as your installation directory.
By default (when I use command line) TREX installs into /usr/sap with the SID and SYSNR you provide.
Cheers,
Amerjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amerjit,
Thanks for your reply.
I tried to install under /usr/sap and its successfull.
I performed all the tests and they are successful.
However mount point /sapmnt/D82 is blank and has no data.
This is not a standard behaviour.
I have earlier installed version 57 without any issue.
Any idea if there is any change in TREX 7.1 version D62?
I tried to browse through notes/blogs/forums but did not get any useful information.
Thanks & Regards,
Tejas
Hey Tejas,
I can't recall from which version/patch that the software stopped being installed into /sapmnt.
All my TREX installations in the last couple of years (manual not sapinst) have all gone into /usr/sap
Anyway, I'm glad you got it installed.
Close out the post as answered and enjoy.
Cheers,
A.
Hi Amerjit,
TREX got installed but /sapmnt/D82 has no data in it.
Is this fine?
When I installed version 57, the directory structure was perfect and /sapmnt/SID has all the global directories i.e. exe, global, profile
So I was expecting same behaviour for version 62 as well.
Thanks & Regards,
Tejas
Hey Tejas,
All my installations (>= 7.10.57.00) are running fine in /usr/sap/>SID> for years now.
http://help.sap.com/saphelp_nwes72/helpdata/en/45/6ddd60fe7b40bfe10000000a1553f7/content.htm
I seem to recall on TREX 7.0 that it installed into /sapmnt and /usr/sap/<SID>
Cheers,
Amerjit
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.