You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resulting server doesn't seem to be functional:
flammie@flammie:~$ sudo systemctl start apertium-apy
flammie@flammie:~$ sudo systemctl status apertium-apy
● apertium-apy.service - Translation server and API for Apertium
Loaded: loaded (/lib/systemd/system/apertium-apy.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since pe 2019-08-16 08:53:43 EDT; 5s ago
Docs: http://wiki.apertium.org/wiki/Apertium-apy
Process: 28320 ExecStart=/usr/bin/apertium-apy /usr/share/apertium/modes (code=exited, status=1/FAILURE)
Main PID: 28320 (code=exited, status=1/FAILURE)
elo 16 08:53:42 flammie.name systemd[1]: apertium-apy.service: Unit entered failed state.
elo 16 08:53:42 flammie.name systemd[1]: apertium-apy.service: Failed with result 'exit-code'.
elo 16 08:53:43 flammie.name systemd[1]: apertium-apy.service: Service hold-off time over, scheduling restart.
elo 16 08:53:43 flammie.name systemd[1]: Stopped Translation server and API for Apertium.
elo 16 08:53:43 flammie.name systemd[1]: apertium-apy.service: Start request repeated too quickly.
elo 16 08:53:43 flammie.name systemd[1]: Failed to start Translation server and API for Apertium.
The problem seems to be with the locale but I think the startup scripts should handle setting the correct locale?
It seems that the startup script tries to set C.UTF8 locale but somehow doesn't work, using /etc/default/apertium-apy fixed it:
Yeah, so the init script doesn't work out of the box as it is, although, the container I have is I think not 100 % default ubuntu LTS 16.04 but quite close. So to reproduce just did something like:
I tried to upgrade my manual installation to ubuntu packaging as instructed in README:
The resulting server doesn't seem to be functional:
The problem seems to be with the locale but I think the startup scripts should handle setting the correct locale?
It seems that the startup script tries to set C.UTF8 locale but somehow doesn't work, using /etc/default/apertium-apy fixed it:
The text was updated successfully, but these errors were encountered: