If you are running low on disk space in the partition where PureMessage is installed, you can relocate the PureMessage quarantine and log directories to a different partition that has sufficient disk space.
In the steps below, operations that must be performed by the root user are indicated by the "#" prompt. Operations that must be performed by the PureMessage user (by default, "pmx") are indicated by the "$" prompt. The instructions assume that PureMessage is installed in the default location of /opt/pmx. Alter the path as necessary.
Note: These steps do not apply to the PostgreSQL database; they only apply to the message stores and log directories on individual PureMessage servers.
To relocate the quarantine and log directories:
$ pmx stop
# mkdir -p /sde1/opt/pmx/var# cp -Rp /opt/pmx/var/qdir /sde1/opt/pmx/var/qdir# cp -Rp /opt/pmx/var/log /sde1/opt/pmx/var/log# chown pmx:pmx /sde1/opt/pmx/var# ls -l /sde1/opt/pmx/var
drwxrwxr-x 5 pmx pmx 4096 Nov 20 08:23 logdrwxrwxr-x 8 pmx pmx 4096 Nov 20 08:23 qdir
$ mv /opt/pmx/var/qdir /opt/pmx/var/qdir.old$ mv /opt/pmx/var/log /opt/pmx/var/log.old
# ls -l /opt/pmx/var
lrwxrwxrwx 1 root other 28 Dec 15 13:11 log -> /sde1/opt/pmx/var/loglrwxrwxrwx 1 root other 28 Dec 15 13:11 qdir -> /sde1/opt/pmx/var/qdir
$ diff -rc /opt/pmx/var/qdir /sde1/opt/pmx/var/qdir$ diff -rc /opt/pmx/var/log /sde1/opt/pmx/var/log
$ pmx start
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.