There are a couple of gotchas with this setup. Eg. I wanted to install it on an Opteron and the installer reported that the platform is not supported.
To get over this, you've to start the installer with an option:
./installFMS -platformWarnOnly
The installer script was written for RedHat and thus it reports two errors:
- first it is complaining about a missing
/sbin/chkconfig
binary
- then it's complaining about some error in the
server
script that was installed into your /opt/macromedia/fms
directory (or whatever you've set as install dir)
The first one would only set the
/etc/init.d/fms
script to start automatically during every reboot. In Debian you can do this after the FMS installer finished with this:
update-rc.d fms defaults
The second message is a problem with the
/opt/macromedia/fms/server
script. In line#14 it uses the output of the
ulimit -u
command in a conditional
if
expression and assumes that it contains a numeric value. For me
ulimit -u
returned the
unlimited
string, thus the script aborted. To fix this you've to add an extra check around that condition, like this:
if [ "$max_processes" != "unlimited" ]; then
if [ $max_processes -lt 32768 ]; then
ulimit -u 32768
fi
fi
You're still not done yet, because the FMS components miss a couple of shared libraries. to be exact, the following:
- libssl.so.4
- libcrypto.so.4
- libnspr4.so
First make sure that the libssl libraries are installed:
apt-get install libssl0.9.8
Now make two symlinks for them (since the FMS server tries to load earlier versions):
cd /usr/lib
ln -s libssl.so.0.9.8 libssl.so.4
ln -s libcrypto.so.0.9.8 libcrypto.so.4
The
libnspr4.so
can be installed with the
libnspr4-dev
package, thus issue this command:
apt-get install libnspr4-dev
You're now done. FMS should run fine from here. You can start it with a
/etc/init.d/fms start
manually or reboot the server and FMS will be started automatically.
Comments
Impossible to connect to an application
I'm trying to install FMS2 2.0.3 on Debian Etch. My server is running, I can access the console, but impossible to connect to an application. "NetConnection.Connect.Failed" is what i get.
Any idea?
Thanks
firewall?
Most probably you have one of the following three options:
use netstat
netstat --listening -n -p | grep -i fms
It should produce something like this:
tcp 0 0 0.0.0.0:11110 0.0.0.0:* LISTEN 4228/fmsadmin
tcp 0 0 0.0.0.0:1935 0.0.0.0:* LISTEN 4081/fmsedge
tcp 0 0 0.0.0.0:19350 0.0.0.0:* LISTEN 4081/fmsedge
tcp 0 0 0.0.0.0:1111 0.0.0.0:* LISTEN 4228/fmsadmin
In my logs i have
2007-07-31 15:01:00 2832 (e)2581279 Assert failed in /server/edge/TCEdgeControlTransport.cpp line 180
2007-07-31 15:01:00 2832 (i)2581250 Edge disconnected from core (2900).
I saw in other forum that it is a kernel version issue if you have 2.4. But i have kernel 2.6.16
Re: In my logs ...
2007-07-31 17:46:09 4228 (e)2581279 Assert failed in /server/admin/FCSAdminServer.cpp line 361
errors in the admin.00.log, but the server and the apps are working.This error is in edge0 log
2.6.8?
ulucom:/home/FMS3# ldd
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7ef9000)
libasneu.so.1 => not found
librt.so.1 => /lib32/librt.so.1 (0xf7ef1000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7eec000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7e09000)
libm.so.6 => /lib32/libm.so.6 (0xf7de5000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7dda000)
libc.so.6 => /lib32/libc.so.6 (0xf7caf000)
/lib/ld-linux.so.2 (0xf7f14000)
ulucom:/home/FMS3# ldd fmscore
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f9f000)
libnspr4.so => not found
libplc4.so => not found
libplds4.so => not found
libasneu.so.1 => not found
librt.so.1 => /lib32/librt.so.1 (0xf7f96000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7f92000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7eaf000)
libm.so.6 => /lib32/libm.so.6 (0xf7e8a000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7e7f000)
libc.so.6 => /lib32/libc.so.6 (0xf7d54000)
/lib/ld-linux.so.2 (0xf7fba000)
ulucom:/home/FMS3# netstat --listening -n -p | grep -i fms
tcp 0 0 127.0.0.1:11110 0.0.0.0:* LISTEN 3727/fmsadmin
tcp 0 0 0.0.0.0:1111 0.0.0.0:* LISTEN 3727/fmsadmin
ulucom:/home/FMS3#
**********************************
But the Lib and the Symbolic Links are avalible. Whats the Problem ?