Hello
I'm testing prince on centOS 6 with cloudlinux.
I've installed prince rpm and added prince to cagefs, so it is available to all cpanel accounts.
On a specific account I can execute prince with success over command line, however with PHP wrapper it doesn't work, it just gives time out error after 30 s.
I've executed with --debug and -verbose and kill the process before timeout and I can see this:
Any ideia what is wrong ?
I'm testing prince on centOS 6 with cloudlinux.
I've installed prince rpm and added prince to cagefs, so it is available to all cpanel accounts.
On a specific account I can execute prince with success over command line, however with PHP wrapper it doesn't work, it just gives time out error after 30 s.
I've executed with --debug and -verbose and kill the process before timeout and I can see this:
Prince instantiation OK
Log file to /home/signedp/public_html/dev/kwb/Classes/PDF/prince/prince_error.log
"/usr/bin/prince" -i "html" --log="/home/signedp/public_html/dev/kwb/Classes/PDF/prince/prince_error.log" --fileroot="/home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/" --debug --verbose --structured-log=normal "/home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/pag1.html" -o "/home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/pag1_prince_175904.pdf"
bool(false) DEBUG
Array
(
[0] => Array
(
[0] => dbg
[1] =>
[2] => init locking for NSS
)
[1] => Array
(
[0] => dbg
[1] =>
[2] => loading license: /usr/lib/prince/license/license.dat
)
[2] => Array
(
[0] => inf
[1] =>
[2] => loading document: /usr/lib/prince/license/license.dat
)
[3] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/license/license.dat
)
[4] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[5] => Array
(
[0] => inf
[1] =>
[2] => loading style sheet: /usr/lib/prince/style/fonts.css
)
[6] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/style/fonts.css
)
[7] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[8] => Array
(
[0] => dbg
[1] =>
[2] => starting prefetch threads
)
[9] => Array
(
[0] => inf
[1] =>
[2] => loading HTML5 input: /home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/pag1.html
)
[10] => Array
(
[0] => inf
[1] =>
[2] => loading document: /home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/pag1.html
)
[11] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/pag1.html
)
[12] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[13] => Array
(
[0] => dbg
[1] =>
[2] => loaded document: /home/signedp/public_html/dev/kwb/templates/flyer_txt_prince/pag1.html
)
[14] => Array
(
[0] => dbg
[1] =>
[2] => sniffed doctype: XHTML
)
[15] => Array
(
[0] => inf
[1] =>
[2] => loading style sheet: /usr/lib/prince/style/xhtml-ns.css
)
[16] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/style/xhtml-ns.css
)
[17] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[18] => Array
(
[0] => inf
[1] =>
[2] => loading style sheet: /usr/lib/prince/style/common.css
)
[19] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/style/common.css
)
[20] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[21] => Array
(
[0] => inf
[1] =>
[2] => loading style sheet: /usr/lib/prince/style/hyph.css
)
[22] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/style/hyph.css
)
[23] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[24] => Array
(
[0] => inf
[1] =>
[2] => loading style sheet: /usr/lib/prince/style/mathml.css
)
[25] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/style/mathml.css
)
[26] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[27] => Array
(
[0] => inf
[1] =>
[2] => loading style sheet: /usr/lib/prince/style/svg.css
)
[28] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: /usr/lib/prince/style/svg.css
)
[29] => Array
(
[0] => dbg
[1] =>
[2] => loaded resource: type: no
)
[30] => Array
(
[0] => dbg
[1] =>
[2] => stopping prefetch threads
)
[31] => Array
(
[0] => dbg
[1] =>
[2] => pack
)
[32] => Array
(
[0] => dbg
[1] =>
[2] => font request: serif
)
[33] => Array
(
[0] => dbg
[1] =>
[2] => font scan: Times New Roman
)
[34] => Array
(
[0] => dbg
[1] =>
[2] => font scan: Times New Roman, 0 matches
)
[35] => Array
(
[0] => dbg
[1] =>
[2] => font scan: DejaVu Serif
)
[36] => Array
(
[0] => dbg
[1] =>
[2] => font scan: DejaVu Serif, 8 matches
)
[37] => Array
(
[0] => dbg
[1] =>
[2] => font scan: DejaVu LGC Serif
)
[38] => Array
(
[0] => dbg
[1] =>
[2] => font scan: DejaVu LGC Serif, 8 matches
)
[39] => Array
(
[0] => dbg
[1] =>
[2] => font scan: Liberation Serif
)
[40] => Array
(
[0] => dbg
[1] =>
[2] => font scan: Liberation Serif, 0 matches
)
[41] => Array
(
[0] => dbg
[1] =>
[2] => font scan: OpenSymbol
)
[42] => Array
(
[0] => dbg
[1] =>
[2] => font scan: OpenSymbol, 0 matches
)
[43] => Array
(
[0] => dbg
[1] =>
[2] => font scan: AR PL UMing CN
)
[44] => Array
(
[0] => dbg
[1] =>
[2] => font scan: AR PL UMing CN, 0 matches
)
[45] => Array
(
[0] => dbg
[1] =>
[2] => font scan: AR PL SungtiL GB
)
)
Any ideia what is wrong ?