on 2016 Feb 04 3:30 AM
Clement;
I don't know if you got your answer yet or not but the db2upgrade usually creates the logs in /tmp directory. Look there for the logs. You will probably be able to see why you got the error just by looking at them. Hope this helps.
Len.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
On log i found
1: ERROR:The upgrade of the instance "DB2EPD" has failed. The return value is "2".
1: ERROR:An error occurred while configuring the instance "DB2EPD".
Action 14:46:54: DB2CustomAction. Configuring DB2 instances
1: Configuring DB2 instances:.......Failure
Action 14:46:54: DB2CustomAction. Configuring DB2 extended security
1: ERROR:SQL1390C The environment variable DB2INSTANCE is not defined or is invalid.
Below links will help you to fix the issue,
Connect to database not possible | SCN
Thanks
Sadiq
Hi Clement,
Dropping of DB2 instances failed due to error as reported in log.
1: Failed to drop DB2 Instances.
Please follow below steps to re-create the instance and also check if PATH environment variable contains the sqllib/adm path in it.
DB2PATH should have path set to something like C:\Program Files\IBM\SQLLIB\BIN
Log in as <sid>adm
Open the DB2 command window
db2icrt db2 - Creates the missing instance 'DB2'
db2systray db2 - Puts an green database symbol into the system tray
Select the green database symbol in systray with right mouse button
deselect 'Launch Tool at Startup'
Select 'Exit' to exit the tool
In the DB2 command windows
db2idrop db2 - drops the instance 'DB2'
Hope this helps
Regards,
Prithviraj.
User | Count |
---|---|
71 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.