You need to check what user is really used. Try this out!
ps aux|grep java|grep -v grep|awk '{print $1}'
This command should give you a least the user currently running the wiki,
so replace 'xwiki' by this user, to run the following command (it was not
bin/ but program/)
sudo -u $USER
/usr/lib64/openoffice.org/program/soffice.bin
If this file is still not found, perform a search on your system ("find"
command, or "locate", for soffice.bin).
Finally, replace the server profile (in xwiki.properties :
openoffice.profilePath)
by the home directory of that user. For example '/home/tomcat/.
openoffice.org/3'#39;. If you successfully run the soffice.bin command with
that user, you should have a '.openoffice' directory created inside. In
fact, the default value of openoffice.profilePath is "/home/user/.
openoffice.org/3"quot;, so just replace user with the current XWiki user, fix
the rights if necessary and that's all.
And restart XWiki.
2013/10/23 MaryJane <mgpardi(a)exis.it>
hi Guillaume thank for your reply, the open office
version is the 3.3
the properties in the "OpenOffice Server" panel are :
SERVER TYPE
Internally managed (local)
SERVER PORT
8100
AUTO START
Yes
SERVER PATH
/opt/openoffice.org3/
SERVER PROFILE
/opt/openoffice.org/
SERVER STATE
Not connected
if I try the command
sudo -u xwiki /usr/lib64/openoffice.org/bin/soffice.bin
I receive sudo: unknown user: xwiki
(furthermoreI haven't the /bin directory )
--
View this message in context:
http://xwiki.475771.n2.nabble.com/xwiki-office-tp7587684p7587694.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users