I unset all of variables that was shown 'export' command and soffice.bin was executed. Seems problem not in environmental variables.
On Sunday, 7 July 2013 г. at 3:02, Jens Rantil wrote: > Hi! > > Seems noone else has responded to this, so I'll give it a shot by asking some > diagnostic questions: > > Starting from your shell implies that a bunch environmental variables are set > (can usually be viewed using 'export'). Can your command still execute if you > unset all of those? I'm especially thinking of the DISPLAY variable. > > Also, would it be possible to get the full exception message for the > RuntimeException? Or (slightly worse) the full stack trace? It might hint as > to what actually went wrong. > > Cheers, > Jens > > Den onsdagen den 3:e juli 2013 skrev Владимир: > > > > Hello! > > > > > > My supervisor conf: > > > > [program:libre] > > user = myuser > > directory = /user/home/directory > > command = /usr/lib/libreoffice/program/soffice.bin > > "--accept=socket,host=127.0.0.1,port=9000,tcpNoDelay=1;urp;" --headless > > --nodefault --nofirststartwizard --nolockcheck --nologo --norestore > > stdout_logfile= /var/log/libreoffice-headless.log > > redirect_stderr = true > > autostart = true > > > > soffice.bin does not start under the user "myuser". Here is the error log: > > > > terminate called after throwing an instance of > > 'com::sun::star::uno::RuntimeException' > > terminate called after throwing an instance of > > 'com::sun::star::uno::RuntimeException' > > > > But if i run command in the console under the "myuser", it starts. > > -- > Want to know how full my inbox is? Or how to get in touch with me faster? Or > tell me your e-mail is not that important? Then check this out: > http://courteous.ly/4WtfZY
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
