This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

pmx-location on sophos puremessage 5.6.1 Linux

Hello,

We have four edges servers and one csm server:

Edges servers :

mailgatea : pmx-location : 

Hostname: mailgatea.smals-mvm.beIP Address: 85.91.175.39   --> good

mailgateb: pmx-location :

Hostname: mailgateb.smals-mvm.beIP Address: 85.91.175.40  --> good

mailgatec : pmx-location :

Hostname: mailtrunka.smals-mvm.beIP Address: 85.91.175.44 --> name mismatch

mailgated : pmx-location : 

Hostname: mailgatea.smals-mvm.beIP Address: 85.91.175.39  --> name mismatch

csm servers:

mailtrunka : pmx-location :

Hostname: mailtrunka.smals-mvm.beIP Address: 85.91.175.44  --> good

How can I change the location on mailgatec and mailgated.

If (on mailgatec) I do pmx-location :

pmx-location --prev-hostname mailtrunka.smals-mvm.be            --new-hostname mailgatec.smals-mvm.be --prev-ip 85.91.175.44           --new-ip 85.91.175.41

The location is correctly changed on mailgatec but  it is also incorrectly replicated on mailtrunka server.

mailtrunka : pmx-location :

Hostname: mailgatec.smals-mvm.beIP Address: 85.91.175.41  --> name mismatch

Best regards

:23289


This thread was automatically locked due to age.
  • Hi There,

    The man page says to check the files in /opt/pmx/postgres/var/data on the database server. I would check the contents of your pg_hba.conf file as this needs to be setup correctly for client authentication to occur.

    Erric

    :23299
  • Hello,

    here is my pg_hba.conf

    host    all         all         85.91.175.32/27         trust

    host    all         all         127.0.0.1         255.0.0.0   trust

    host    all         all         ::1               ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff        trust

    host    all         all         85.91.175.44/32 trust

    host    all         all         85.91.175.44/32 trust

    Thanks,

    Olivier

    :23303
  • The pmx-location tool reads information from the DB that is inserted from the file db.conf and stored in location.conf.    If you have a multi-homed machine or have multiple names in DNS then you may need to alter the files.  You can also verify or alter the names on the CSM via the interactive psql command.  You will need to display the cfg_location contents to see what information is stored.  The location_id and location_name is what is queried.

    -Jason

    :23359
  • Hello Jason,

    Thanks a lot, the correction of location_id and location_name in psql db was the solution

    Olivier

    :23369