on 05-11-2016 5:33 PM
Hello Anderson
Use the command below
db2 update db cfg for SID using NEWLOGPATH /db2/SID/log_dir
Do not use < ; >
then
> db2stop
>db2start
and let us know the result
Thanks
Sadiq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anderson,
Please execute the command as Sadiq suggested.
You can execute the command as too ending with immediate keyword to see if it comes in effect, else you 'll need a DB restart.
db2 update db cfg for SID using NEWLOGPATH /db2/SID/log_dir immediate
Also.
The new setting does not become the value of logpath until both of the following occur:
If you're changing the parameter on HADR
Regards,
Prithviraj.
Thank you everyone, this is the right answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.