<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi all,<br><br>I've a big issue using unoconv to convert Office docs in PDF format from a PHP script.<br><br>It works perfectly when I run the script or the unoconv commands as root, but it fails the second I do the same from web (through apache and www-data user)<br><br>I have installed Ubuntu 10.04 Server 64bits, openoffice.org and unoconv packages have been installed via apt-get (re-installed today). I think openoffice is version 3.2.<br><br>Here is a command line that is called by exec() PHP command :<br><br>Code:<br><br>/usr/bin/unoconv -f pdf /home/www/framework/files/volume_0/document/original/1278613446MWEwwT4k.ppt<br><br>Again : it works when runned as root, fails when runned by apache's www-data.<br><br>I logged into the server as www-data (su www-data) and run the command manually. The result is the following error :<br><br>Code:<br><br>[Java framework] Error in function createSettingsDocument (elements.cxx).<br>javaldx failed! <br>Error: Unable to connect or start own listener. Aborting.<br><br>Very very frustrating bug<br><br>Thank you so much for the help and time to anyone who can help me with this issue <br><br><br>Jean Gabriel<br>                                         <br /><hr />Surfez en toute confiance avec <a href='http://clk.atdmt.com/FRM/go/232102477/direct/01/' target='_new'>IE8, le navigateur le plus utilisé au monde !</a></body>
</html>