Invalid method parameter: Failed to start PDF converter
说明
Trying to export a report as PDF fails with "Invalid method parameter: Failed to start PDF converter"
Email notifications as PDF will stop working without displaying the error above but may continue to work when set to HTML.
原因
Reports are first created as an HTML file which can then be converted to PDF through phanthomjs.
A quick trace while trying to export as PDF will have the following lines on the nvwsworker: 0 PROCESS :3481354 268 0 183811.943808 Do not have execute access on '/usr/netvault/bin/phantomjs' 3 PROCESS :3481354 261 0 183811.943811 FALSE = ProcStartProcessTags(/usr/netvault/bin/phantomjs, ....) 3 0 WSPROV :3481354 5938 0 183811.943813 phantomjs not started
Looking into the permissions from '/usr/netvault/bin/phantomjs' they'll have 644 (-rw-r--r--) rather than 700 (-rwx------).
解决办法
Execution permissions can be granted through the following command: chmod 700 /usr/netvault/bin/phantomjs
This happens on Linux-based NetVault Server with 13.2.0.16. For both, new installs and upgrades. Development is currently working on a fix.
This has been identified as defect NV-3807 and will be addressed in a future release.