Error executing unoconv command as apache

Below is the error I get when the command unoconvruns as apache and root is fine.

[root@tux1 apache]# sudo -u apache unoconv -f pdf /var/www/html/testing/example.xlsx

could not create the Region executable memory: the resolution has been rejected
could not create region executable memory areas: the resolution has been rejected
could not create region executable memory areas: the resolution has been rejected
could not create region executable memory areas: the resolution has been rejected
could not create region executable memory areas: the resolution has been rejected
does not managed to create a region of executable memory areas: the resolution has been rejected
could not create an executable memory area: has been declined permission
failed proof create an executable memory area: has been declined permission
could not create an executable memory area: has been declined permission
failed to create executable memory area: permission rejected
failed to create executable memory region: permission rejected
failed to create executable memory region: permission rejected
could not create executable memory region: permission rejected
failed to create executable memory region: permission denied
Error: Unable to connect or start your own listener. Cancel

+3
source share
1 answer

Well, that might be a dumb way around it, but here goes ...

Something in the tool chain wants a home directory. Apache user does not have a home directory.

Apache2 www-data.

:

mkdir /home/www-data
chown www-data:www-data /home/www-data

Voila! .

, , .

+6

Source: https://habr.com/ru/post/1795201/


All Articles