Migrating configuration from PMX 5 to PMX 6 fails to stop the database

  • Article ID: 117413
  • Updated: 10 May 2016

This article explains how to resolve the following error from migrating from PMX v5 to PMX v6.

ERROR: Command failed (255): 'su - pmx6 -c '/opt/pmx6/bin/pmx-env pmx-database stop'':
The pmx-database program must only be run as the pmx user.
Migration script has terminated with error.

Known to apply to the following Sophos product(s) and version(s)

PureMessage for Unix 6.0

Operating systems

Linux & FreeBSD

What To Do

In the pmx 5 configuration directory edit the file pmx.conf and remove the line that references the following.

 user = pmx

Save the file and return to the pmx6 user and re-run the pmx-v6-migrate script.


If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent