Hello Helmut,
Could you post few more lines after the error ERR_COMMAND_FAILED.
I tested this scenario in my system. I get the same error as you get, when I rename the executable protconv in /sapdb/programs/bin directory.
Error in my case looks like this:
-24580 DBMSrv ERR_COMMAND_FAILED: Command 'file_getfirst' has ended and failed with return code -24964
ERR_EXECUTE: error in program execution
1,""C:\sapdb\programs\bin\protconv" -p "C:\sapdb\data\wrk\SM1" -f classic -t _KNLMSG -o "C:\sapdb\data\wrk\SM1\.KnlMsg.txt""
'"C:\sapdb\programs\bin\protconv"' is not recognized as an internal or external command,
Which is expected because it cannot find the executable there. I would like to know what the error in your case is.
"It seem that the protcov-command is not valid (because the filename is KNLMSARC), "
The filename does not matter for the protconv tool. It should work.
Here's my recommendation:
At OS level go to /sapdb/programs/bin and check for the protconv tool - check the size of the file to make sure it is not corrupt.
Run sdbverify as root/admin to verify the installation.
If everything looks OK, try to run the tool at OS level with the command:
/sapdb/programs/bin/protconv -t KNLMSGARCHIVE -o knldiagerr.txt
See if the converted text file is generated. (Specify the complete path for the KNLMSGARCHIVE and the output file knldiagerr - if you are not running this command from the rundirectory.
Regards,
yashwanth