Error starting AMS (oostartams) on Ubuntu

We have a few users reporting an error when running oostartams (the AMS server) on Ubuntu platforms. If you see “Exit code=13” or you run oocheckls from the command line and get the response ‘The Lock Server is not running‘, this could be a known issue with IPv6 which can be immediately solved by disabling it:

First, to see if IPv6 is enabled run:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

If it returns “0” then it is enabled. To disable, edit “/etc/sysctl.conf” and add: