on 09-14-2015 6:35 AM
Hi All,
While Upgrading Trex Version from 41 to 63 getting the following error:
Logged in with root user and the update file is uncarred in following location: /usr/sap/TRX_63/TREX_PATCH/tx_trex_content/TX_LINUX_X86_64.
Then I run the following script:
./install.sh --action=update --sid=SID and get the following error instantly:
*******************************************************************************
*
*
* Installation script for TREX system
*
*
*
* Script execution started at 2015-09-13 22:28:28
*
* Log file /tmp/trex_install_2015-09-13_22.28.28/_install.log
*
*******************************************************************************
running as: root (0)
saptrexmanifest.mf doesn't exists. The upgrade was unsuccessful before?
-----------------------------------------------------
*******************************************************************************
*
* Update of TREX installation to version 7.10.63.398887
*
* [UNDEFINED]
*
*
* Script execution started at 2015-09-13 22:28:28
*
* Log file /tmp/trex_install_2015-09-13_22.28.28/_install.log
*
*******************************************************************************
Continue installation for SID DTR, take installation options from status file /usr/sap/SID/update.hostname.TREXStatus.txt
TrexConfigType is DEFAULT
Cocktail is: TREX_ALONE
Persistence: FS
SarTrek: systemloc is: /sapmnt
Installing Version: 7.10.63.398887
SystemType is STANDALONE
IntegratedSystem: False
fsLayout: filer
linkedBinaries: True
sharedBinaries: True
configType: DEFAULT
systemType: STANDALONE
Target dir: /sapmnt/SID/exe/nuc/linuxx86_64/TREX_7.10.63.398887
DearStructure: SYSTEMLOC is: /sapmnt
DearStructure: INSTANCELOC is: /usr/sap
*******************************************************************************
*
* Performing Step 1
*
* Update of TREX master instance
*
*******************************************************************************
Preparing update for SAPSID SID Instance TREX admin user dtradm.
fromRelease: 71
toRelease: 71
======================================================
CONTINUE update, status info: /usr/sap/SID/update.hostname.TREXStatus.txt
======================================================
Action: Migrating to new TREX 7.2 installation structure - adapting directory layout
saptrexmanifest.mf doesn't exists. The upgrade was unsuccessful before?
saptrexmanifest.mf doesn't exists. The upgrade was unsuccessful before?
#########Now getting the joining hosts from /sapmnt/SID
#####something is wrong ['DEFAULT.PFL', 'DTR_TRX00_fcldtr101'] DTR
######pattern ['__copy__', '__deepcopy__', 'findall', 'finditer', 'match', 'scanner', 'search', 'split', 'sub', 'subn']
#########profile file DEFAULT.PFL
#########profile file SID_TRX00_hostname
#########The list of hosts : ['hostname']
#######self.InstanceDir /usr/sap/SID/TRX00
######Check for self.hosts /usr/sap/SID/TRX00/fcldtr101
self.hosts ['hostname']
MigrationToNewRelease - dump output
Platform: linuxx86_64
SID: SID
Instance: 00
InstanceDir: /usr/sap/SID/TRX00
sysDir: /sapmnt/SID
self.globalDir: /sapmnt/SID/global
self.templateDir: /sapmnt/SID/global/trex/install/config
self.globalExePlatformDir: /sapmnt/SID/exe/nuc/linuxx86_64
ConfigType: DEFAULT
self.systemVersion: 7.10.41.257730
self.systemVersion1: 7.10.41.257730
self.systemVersion2: 7.10.41.257730
self.versionDir: TREX_7.10.41.257730
Hosts: ['hostname']
self.srcDir: /usr/sap/TRX_63/TREX_PATCH/tx_trex_content/TX_LINUX_X86_64
self.packageversion: 7.10.63.398887
userId: 500
groupId: 79
Action: Stopping TREX
*******************************************************************************
Action: Stopping TREX -- failed. ############ Migration necessary - have to stop TREX. Check the restart flag and enter a password.
*******************************************************************************
* === Script execution resumee === *
* Step 1: Update of TREX master instance : FAILED
*
* Script execution terminated at 2015-09-13_22.28.28 with error 1
* See also log file: /tmp/trex_install_2015-09-13_22.28.28/_install.log
Tried to stop the TREX server and start the upgrade still the same error.
I have tried to login with the SIDADM and tried doing the same it gives permission errors.
Kindly suggest.
Hi Ambarish
Could you refer the SAP KBA
2073982 - Avoiding various issues during TREX 710 upgrade to revision 58 and higher
BR
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SS,
Phase 1 completed without any issues. 41-57.
But phase 2 is giving the same errors. I also tried with a lower version 62, but the error is same. Please check.
[root@hostname TX_LINUX_X86_64]# ./install.sh --action=update --sid=SID
*******************************************************************************
*
*
* Installation script for TREX system
*
*
*
* Script execution started at 2015-09-14 00:59:14
*
* Log file /tmp/trex_install_2015-09-14_00.59.14/_install.log
*
*******************************************************************************
running as: root (0)
-----------------------------------------------------
*******************************************************************************
*
* Update of TREX installation to version 7.10.62.398064
*
* [UNDEFINED]
*
*
* Script execution started at 2015-09-14 00:59:14
*
* Log file /tmp/trex_install_2015-09-14_00.59.14/_install.log
*
*******************************************************************************
Continue installation for SID SID, take installation options from status file /usr/sap/SID/update.hostname.TREXStatus.txt
TrexConfigType is DEFAULT
Cocktail is: TREX_ALONE
Persistence: FS
SarTrek: systemloc is: /sapmnt
Installing Version: 7.10.62.398064
SystemType is STANDALONE
IntegratedSystem: False
fsLayout: filer
linkedBinaries: True
sharedBinaries: True
configType: DEFAULT
systemType: STANDALONE
Target dir: /sapmnt/SID/exe/nuc/linuxx86_64/TREX_7.10.62.398064
DearStructure: SYSTEMLOC is: /sapmnt
DearStructure: INSTANCELOC is: /usr/sap
*******************************************************************************
*
* Performing Step 1
*
* Update of TREX master instance
*
*******************************************************************************
Preparing update for SAPSID SID Instance TREX admin user SIDadm.
fromRelease: 71
toRelease: 71
======================================================
CONTINUE update, status info: /usr/sap/SID/update.hostname.TREXStatus.txt
======================================================
Action: Migrating to new TREX 7.2 installation structure - adapting directory layout
#########Now getting the joining hosts from /usr/sap/SID/SYS
#####something is wrong ['DEFAULT.PFL', 'SID_TRX00_hostname'] SID
######pattern ['__copy__', '__deepcopy__', 'findall', 'finditer', 'match', 'scanner', 'search', 'split', 'sub', 'subn']
#########profile file DEFAULT.PFL
#########profile file SID_TRX00_hostname
#########The list of hosts : ['hostname']
#######self.InstanceDir /usr/sap/SID/TRX00
######Check for self.hosts /usr/sap/SID/TRX00/hostname
MigrationToNewRelease - dump output
Platform: linuxx86_64
SID: SID
Instance: 00
InstanceDir: /usr/sap/SID/TRX00
sysDir: /usr/sap/SID/SYS
ConfigType: DEFAULT
Hosts: ['hostname']
userId: 500
groupId: 79
Action: Stopping TREX
*******************************************************************************
Action: Stopping TREX -- failed. ############ Migration necessary - have to stop TREX. Check the restart flag and enter a password.
*******************************************************************************
* === Script execution resumee === *
* Step 1: Update of TREX master instance : FAILED
*
* Script execution terminated at 2015-09-14_00.59.14 with error 1
* See also log file: /tmp/trex_install_2015-09-14_00.59.14/_install.log
I am trying 58 now, lets c if its successful or not. Let me know if you get some thing out of the logs pasted.
Regards.
Hi Ambarish
From SP58 and above onwards you have to use the script based upgrade on Linux OS, could you try the following command line
" install.sh --sid=<the SID> --action=update --restart --password=<the password>"
could you refer the SAP Note
2078548 - TREX 7.10: Update shows successful but nothing done
Regards
SS
Hi Sri,
Its still not working.
Please check the error below:
[root@fclSID101 TX_LINUX_X86_64]# ./install.sh --sid=SID --action=update --restart --password=****
[1] 4491
-bash: *****: command not found
[root@hostname TX_LINUX_X86_64]#
*******************************************************************************
*
*
* Installation script for TREX system
*
*
*
* Script execution started at 2015-09-15 22:36:01
*
* Log file /tmp/trex_install_2015-09-15_22.36.01/_install.log
*
*******************************************************************************
running as: root (0)
-----------------------------------------------------
*******************************************************************************
*
* Update of TREX installation to version 7.10.63.398887
*
* [UNDEFINED]
*
*
* Script execution started at 2015-09-15 22:36:01
*
* Log file /tmp/trex_install_2015-09-15_22.36.01/_install.log
*
*******************************************************************************
TrexConfigType is DEFAULT
Cocktail is: TREX_ALONE
Persistence: FS
SarTrek: systemloc is: /sapmnt
Installing Version: 7.10.63.398887
SystemType is STANDALONE
IntegratedSystem: False
fsLayout: filer
linkedBinaries: True
sharedBinaries: True
configType: DEFAULT
systemType: STANDALONE
Target dir: /sapmnt/SID/exe/nuc/linuxx86_64/TREX_7.10.63.398887
DearStructure: SYSTEMLOC is: /sapmnt
DearStructure: INSTANCELOC is: /usr/sap
*******************************************************************************
*
* Performing Step 1
*
* Stopping the TREX landscape SID TRX on 0 hosts
*
*******************************************************************************
Action: Stopping TREX
*******************************************************************************
Action: Stopping TREX -- failed. ############ Cannot stop TREX: Password of TREX admin user missing. Add option --password=somepassword
*******************************************************************************
* === Script execution resumee === *
* Step 1: Stopping the TREX landscape SID TRX on 0 hosts : FAILED
*
* Script execution terminated at 2015-09-15_22.36.01 with error 1
* See also log file: /tmp/trex_install_2015-09-15_22.36.01/_install.log
*******************************************************************************
[1]+ Exit 1 ./install.sh --sid=SID --action=update --restart --password=*****
Hi Ambarish
Action: Stopping TREX
*******************************************************************************
Action: Stopping TREX -- failed. ############ Cannot stop TREX: Password of TREX admin user missing. Add option --password=somepassword
*******************************************************************************
From the log its shows that SIDADM user credential wrong, could you check the SIDADM and then try again
Regards
SS
Hi Sri,
It seems to have worked, but got error at the end. Let me know if you have any inputs or should I open an OSS message.
*******************************************************************************
Action: Migrating to new TREX 7.2 installation structure - adapting configuratio n files -- failed.
---- DO NOT RETRY to update after this error message -- OPEN A CSS TICKET INSTEA D !! ----
## CANCEL ## [Errno 30] Read-only file system: '/usr/home/sidadm/.snapshot/hourl y.0/.kde/Autostart'Migration step failed.
*******************************************************************************
* === Script execution resumee === *
* Step 1: Stopping the TREX landscape SID TRX on 0 hosts : SUCCESS
* Step 2: Update of TREX master instance : CANCELED
*
* Script execution terminated at 2015-09-15_23.58.57 with error 1
* See also log file: /tmp/trex_install_2015-09-15_23.58.16/_install.log
Regards.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.