On 28/11/16 15:32, Ed Greshko wrote:
On 11/28/16 12:22, Stephen Davies wrote:
If I run /usr/bin/soffice as root, it works and the Office menu appears.
If I do the same as myself (sh -x /usr/bin/soffice), I get:
+ SAL_ENABLE_FILE_LOCKING=1
+ export SAL_ENABLE_FILE_LOCKING
++ pwd
+ sd_cwd=/home/scldad
+ sd_res=/usr/bin/soffice
+ '[' -h /usr/bin/soffice ']'
++ dirname /usr/bin/soffice
+ cd /usr/bin
++ basename /usr/bin/soffice
+ sd_basename=soffice
++ ls -l soffice
++ sed 's/.*soffice -> //g'
+ sd_res=/opt/openoffice4/program/soffice
+ '[' -h /opt/openoffice4/program/soffice ']'
++ dirname /opt/openoffice4/program/soffice
+ cd /opt/openoffice4/program
++ pwd
+ sd_prog=/opt/openoffice4/program
+ cd /home/scldad
++ basename /usr/bin/soffice
+ sd_binary=soffice.bin
+ sd_pagein_args=@pagein-common
+ /opt/openoffice4/program/pagein -L/opt/openoffice4/program @pagein-common
+ '[' -x /opt/openoffice4/program/javaldx ']'
+ case "`uname -s`" in
++ uname -s
++ /opt/openoffice4/program/javaldx
-env:INIFILENAME=vnd.sun.star.pathname:/opt/openoffice4/program/redirectrc
+
my_path=/usr/java/jdk1.7.0_71/jre/lib/amd64/client:/usr/java/jdk1.7.0_71/jre/lib/amd64/native_threads:/usr/java/jdk1.7.0_71/jre/lib/amd64
+ '[' -n
/usr/java/jdk1.7.0_71/jre/lib/amd64/client:/usr/java/jdk1.7.0_71/jre/lib/amd64/native_threads:/usr/java/jdk1.7.0_71/jre/lib/amd64
']'
+
LD_LIBRARY_PATH=/usr/java/jdk1.7.0_71/jre/lib/amd64/client:/usr/java/jdk1.7.0_71/jre/lib/amd64/native_threads:/usr/java/jdk1.7.0_71/jre/lib/amd64:/opt/LCS/bv103/doci:/opt/LCS/bv103/dm/lib
+ export LD_LIBRARY_PATH
+ unset XENVIRONMENT
+ '[' -f /etc/adabasrc ']'
+ trap 'kill -9 $!' TERM
+ wait 11722
+ /opt/openoffice4/program/soffice.bin
+ sd_ret=0
+ '[' 0 -eq 79 -o 0 -eq 81 ']'
+ exit 0
Running soffice without sh -x gives absolutely nothing.
Well, I would check the environment compared to root's. I also find the reference to
LD_LIBRARY_PATH suspect.
Here is what I get.
[egreshko@acer ~]$ sh -x /usr/bin/soffice
+ LO_SAVE_LC_ALL=
+ LC_ALL=C
+ export LC_ALL
+ SAL_ENABLE_FILE_LOCKING=1
+ export SAL_ENABLE_FILE_LOCKING
++ pwd
+ sd_cwd=/home/egreshko
+ sd_res=/usr/bin/soffice
+ '[' -h /usr/bin/soffice ']'
++ dirname /usr/bin/soffice
+ cd /usr/bin
++ basename /usr/bin/soffice
+ sd_basename=soffice
++ ls -l soffice
++ sed 's/.*soffice -> //g'
+ sd_res=/usr/lib64/libreoffice/program/soffice
+ '[' -h /usr/lib64/libreoffice/program/soffice ']'
++ dirname /usr/lib64/libreoffice/program/soffice
+ cd /usr/lib64/libreoffice/program
++ pwd
+ sd_prog=/usr/lib64/libreoffice/program
+ cd /home/egreshko
+ '[' -e /usr/lib64/libreoffice/program/ooenv ']'
+ GDBTRACECHECK=
+ STRACECHECK=
+ VALGRINDCHECK=
+ RRCHECK=
+ checks=
+ EXTRAOPT=
+ test -n ''
+ test -n ''
+ echo ''
+ grep -q cc
+ case "`uname -s`" in
++ uname -s
+ LC_ALL=
+ '[' -n '' ']'
+ '[' -n '' -a -z '' ']'
+ exec /usr/lib64/libreoffice/program/oosplash
Looks as if you are running libreoffice rather than openoffice (from Apache).
I also suspected the LD_LIBRARY_PATH but the root version is the same.
--
=============================================================================
Stephen Davies Consulting P/L Phone: 08-8177 1595
Adelaide, South Australia. Mobile:040 304 0583
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx