I still have problems pdf generation web server linux

I still have problems pdf generation web server linux, modify the permissions of the folder to 0777, add ip of the server production environment, but still does not work.
Someone can help me.
the error is :

[B]Not Found

The requested URL /webficha/_lib/tmp/sc_pdf_20131213163036_249_grid_pac_imprime_ficha.pdf was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/B]

thanks

I had this on Linux server as well and it turned out there were some dependencies missing.

Open a terminal window and navigate to the wkhtmltopdf folder. Which is: pathtosc/_lib/prod/third/wkhtmltopdf/linux-amd64. (or linux-i386, depends on your hardware)
Run the command: wkhtmltopdf-64 --version (or wkhtmltopdf-i386 --version if you have a 32 bit machine)
See if it generates any error messages.

jsb