Hi :)
Brilliant!  Nicely solved :)  Also thanks for letting this list know how you 
solved it.  It's a bit over my head tbh but i'm sure there are plenty on the 
list that will understand it.  

Many thanks and regards from
Tom :)  





>________________________________
> From: Bobby kneisel <bobby.knei...@ktechsolutionsllc.com>
>To: 
>Cc: "users@global.libreoffice.org" <users@global.libreoffice.org> 
>Sent: Tuesday, 18 December 2012, 17:06
>Subject: Re: [libreoffice-users] Apache user can't run libreoffice --headless
> 
>Thanks for your reply. I looked at all the results of ps -aux last night
>and didn't see any service that would affect it. I solved the issue earlier
>today. Long story short, libreoffice needs a directory to write a temp file
>to and it writes to whatever is in $HOME so I needed to put export
>HOME=/apache/writable/
>directory and that solved it.
>
>Bobby Kneisel
>Owner
>KTech Solutions
>bobby.knei...@ktechsolutionsllc.com
>614.398.0999
>
>
>
>On Tue, Dec 18, 2012 at 12:02 PM, Tom Davies <tomdavie...@yahoo.co.uk>wrote:
>
>> Hi :)
>> Do you have LO's or AOO's "Quickstarter" running?  Can you see it when you
>> check what processes are running?  Sry, i don't know what to grep to look
>> for it but something like
>>
>> ps aux | grep ???
>>
>> with the question marks replaced by something useful, perhaps "soffice"?
>> Errr, i am assuming a Gnu&Linux system due to the L in Lamp, otherwise i
>> guess you would have said "Wamp" or something right?
>> Regards from
>> Tom :)
>>
>>
>>   ------------------------------
>> *From:* Bobby kneisel <bobby.knei...@ktechsolutionsllc.com>
>> *To:* users@global.libreoffice.org
>> *Sent:* Tuesday, 18 December 2012, 7:03
>> *Subject:* [libreoffice-users] Apache user can't run libreoffice
>> --headless
>>
>> I am stumped on something and hoping you all can help. I have need for a
>> LAMP server to print directly from a webpage without the dialog box. So I
>> installed CUPS and mapped the printers. I am printing .docx files so I was
>> using the libreoffice --headless command to print using a shell script.
>> Everything was working great until today. All of a sudden clicking the
>> button to kick off the script failed, and after much troubleshooting, I
>> have traced the issue back to the apache user having an issue running
>> libreoffice --headless
>>
>> I used it at the CLI and it returns to a new line with no error, but no job
>> gets submitted to CUPS. If I re-direct output to a file, all I get is a
>> blank file
>>
>> commands I am using are:
>> libreoffice --headless -pt PrinterQueue FileName
>> or
>> libreoffice --headless -pt PrinterQueue FileName > testfile
>>
>> I have double-checked the PATH variable as well to make sure that was ok
>> and it is.
>>
>> Any ideas?
>>
>> --
>> For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
>> Problems?
>> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>> List archive: http://listarchives.libreoffice.org/global/users/
>> All messages sent to this list will be publicly archived and cannot be
>> deleted
>>
>>
>>
>>
>
>-- 
>For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
>Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>List archive: http://listarchives.libreoffice.org/global/users/
>All messages sent to this list will be publicly archived and cannot be deleted
>
>
>
>
-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to