Hello Naresh,
The command you run to set the RunDirectoryPath is correct, but It looks like the parameter CONTROLUSERID is not set to the correct value.
What actions caused this error ?
Did you make any changes the MaxDB parameter file ?
Is M01 a copy of some other instance ?
If you do not know the Control/DBM user-id for your database instance M01, run the statement "sql_execute select * from users" to get the list of database users. Adjust the parameter CONTROLUSERID to its correct value.
dbmcli on m01>param_put CONTROLUSERID <control user>
Now, adjust the RunDirectoryPath parameter
dbmcli on m01>param_put RunDirectoryPath /sapdb/data/wrk/M01
If the problem still persists, Update the thread with the output of following commands
> dbmcli on m01> param_checkall
> dbmcli on m01> sql_execute select * from users
> dbmcli on m01> param_versions
> dbmcli on m01> param_directget CONTROLUSERID
Attach to the thread "m01.pah" file from the RUN directory
Regards,
Yashwanth