[Solved] Unable to add pictures to posts
I'm unable to add pictures to posts. I attempted to restart Apache but the restart failed.
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2022-07-20 17:28:44 UTC; 1 weeks 3 days ago Docs: https://httpd.apache.org/docs/2.4/ Process: 239212 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=226/NAMESPACE) Main PID: 900 (apache2) Tasks: 11 (limit: 19170) Memory: 281.3M CGroup: /system.slice/apache2.service ├─ 900 /usr/sbin/apache2 -k start ├─236207 /usr/sbin/apache2 -k start ├─237511 /usr/sbin/apache2 -k start ├─237613 /usr/sbin/apache2 -k start ├─237720 /usr/sbin/apache2 -k start ├─237794 /usr/sbin/apache2 -k start ├─237798 /usr/sbin/apache2 -k start ├─237799 /usr/sbin/apache2 -k start ├─237890 /usr/sbin/apache2 -k start ├─238518 /usr/sbin/apache2 -k start └─239040 /usr/sbin/apache2 -k start Jul 30 19:20:47 fc-una-main systemd[1]: Reloading The Apache HTTP Server. Jul 30 19:20:47 fc-una-main systemd[238253]: apache2.service: Failed to set up mount namespacing: /run/systemd/u> Jul 30 19:20:47 fc-una-main systemd[238253]: apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apache> Jul 30 19:20:47 fc-una-main systemd[1]: apache2.service: Control process exited, code=exited, status=226/NAMESPA> Jul 30 19:20:47 fc-una-main systemd[1]: Reload failed for The Apache HTTP Server. Jul 30 19:26:49 fc-una-main systemd[1]: Reloading The Apache HTTP Server. Jul 30 19:26:49 fc-una-main systemd[239212]: apache2.service: Failed to set up mount namespacing: /run/systemd/u> Jul 30 19:26:49 fc-una-main systemd[239212]: apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apache> Jul 30 19:26:49 fc-una-main systemd[1]: apache2.service: Control process exited, code=exited, status=226/NAMESPA> Jul 30 19:26:49 fc-una-main systemd[1]: Reload failed for The Apache HTTP Server.
-
-
·
LeonidS
- ·
Hello @RJ Arsenault !
First of all, it needs to complete the Apache restart. Then after the failed attempt of the picture upload, you may check the latest lines in the error log.
-
·
LeonidS
-
- · RJ Arsenault
- ·
I reset Apache using a different command and it fixed the picture upload issue.
sudo sed -i -e 's,PrivateTmp=true,PrivateTmp=false\nNoNewPrivileges=yes,g' /lib/systemd/system/apache2.service sudo systemctl daemon-reload sudo systemctl start apache2.service sudo systemctl status apache2.service