Ask Your Question

libreoffice won't start on debian: ERROR 4 forking process

asked 2018-09-18 15:46:35 +0100

stanlouse gravatar image

Since I ran an update yesterday, libreoffice won't start any more on my debian system. No error messages, only when I try from the command line, I get:

ERROR 4 forking process

Any ideas how this could be fixed?

edit retag flag offensive close merge delete


I found this reference amongst others for the message By update, do you mean debian update? More information on your system would be helpful as to whether this problem is Debian, or LibreOffice related.

petermau gravatar imagepetermau ( 2018-09-18 16:26:21 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-10-18 05:07:14 +0100

I think you'll find that there is a conflict in this file: /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin

If you run sudo aa-complain /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin it might help you zero in on the problem. The error I got was completely unhelpful initially because it didn't tell me which line was at fault. But there is the following line:

/usr/lib{,32,64}/@{multiarch}/gstreamer???/gstreamer-???/gst-plugin-scanner mrPUx,

The problem is that I believe it includes another file above which also contains a gstreamer rule, but instead of mrPUx, it uses ix . PUx conflicts with ix, so I changed the libreoffice file to be mrix instead of mrPUx. It is possible I had an old file, but I think this was the conflict:

abstractions/ubuntu-browsers.d/ubuntu-integration: /usr/lib/@{multiarch}/gstreamer0.10/gstreamer-0.10/gst-plugin-scanner ix,

I'm running Ubuntu, but Ubuntu gets their initial spin from Debian, so it should be similar. At any rate, it ultimately comes down to soffice.bin's apparmor file isn't being loaded so soffice.bin doesn't run.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-09-18 15:46:35 +0100

Seen: 305 times

Last updated: Oct 18