How do I run GMS on Redhat 9 or Suse 9.1?

  1. Home
  2. Knowledge Base
  3. GMS
  4. How do I run GMS on Redhat 9 or Suse 9.1?

Answer

Note:This KB article only applies to build 3365 and earlier of GMS however due to backwards compatibility issues, please see KB 2535

Newer versions of linux do not include correct implementation of certain technologies – as such you need to update the startup and install scripts for GMS to preload correct libraries.

There are now multiple downloads for Linux servers depending on the version of glibc that you are running on your server. Please ensure that you download the appropriate build for your version.

If you are running Redhat 9 you will also need to stop GMS loading the new pthread library which does not function correctly. To do this unpack the the installation files into a temporary directory, edit the install script in this directory and add the following two lines to the top of the file and then save the changes.


LD_PRELOAD="/lib/libc.so.6 /lib/libpthread-0.10.so"
export LD_PRELOAD

If running Enterprise edition 3 or glibc 2.3.2 you will need to use the following lines instead.

LD_PRELOAD="/lib/libc.so.6 /lib/libpthread-0.10.so /lib/librt.so.1 /lib/libm.so.6"
export LD_PRELOAD

Note:

Later versions of linux may move the required files to another folder. For example, Fedora Core 4 locates these files in

/lib/obsolete/linuxthreads/

If this is true for your system you will need to update the script accodingly.
Now run the installation and then edit the startup file called glmail under /etc/init.d and add the same two lines to the top of this file and then restart your system.

If you are running SuSE version 9.1, you need to make the folliwing ammendment to the above entry:

replace

/lib/libpthread-0.10.so

with

/lib/libpthread.so.0

NOTE:

If you wish to use the “command line” style utilities – such as adduser in the gordano/mail/bin folder, you will need to append the same information to the environment variables of your shell session.

For example, prior to running


[root] ./adduser


You first need to run these two commands:


[root] LD_PRELOAD="/lib/libc.so.6 /lib/libpthread-0.10.so /lib/librt.so.1 /lib/libm.so.6"
[root] export LD_PRELOAD

See Also:

Keywords:GMS Redhat 9 glibc unix linux install pthread library Suse 9.1 redhat enterprise

Was this article helpful?

Related Articles