________________________________
From: Bobby kneisel <bobby.kneisel@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.kneisel@ktechsolutionsllc.com
614.398.0999
On Tue, Dec 18, 2012 at 12:02 PM, Tom Davies <tomdavies04@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.kneisel@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+help@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+help@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
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.