1

I am trying to install ArcGIS for server 10.1 on my linux system. When I run "./startserver.sh" I get following error:

ERROR: Unable to start Xvfb on any port in the range 6600 - 6619.

I have checked "xvfb_err.log" and this is the issue I found there:

/root/arcgis/server//framework/runtime/xvfb/RHEL/Xvfb: error while loading shared libraries: libXfont.so.1: cannot open shared object file: No such file or directory

How can I fix the problem?

2

You must install all the required packages. libXfont provides libXfont.so.1 (be certain you have the .i386 package).

2

I'm adding this answer because this topic shows up as a top hit for a similar problem. When we were doing an install using Centos instead of RedHat, we had a similar problem starting. However, instead of missing a library, the error was something along the lines of

/root/arcgis/server//framework/runtime/xvfb/Ubuntu/Xvfb: No such file or directory

The error comes as a result of the init_xvfb.sh script trying to figure out what Linux distro it is running on. Just comment out lines 74 and 75 in the script as shown below. This will cause it to run the RHEL binary, and everything appears to work from there.

# try to use the system one if it's there
if [ -f /usr/bin/Xvfb ]; then
  XVFBBIN=/usr/bin/Xvfb
elif [ -f /usr/X11R6/bin/Xvfb ]; then
  XVFBBIN=/usr/X11R6/bin/Xvfb
else
# fall back to our own
if [ -f /etc/SuSE-release ]; then
    XVFBBIN="${XVFBHOME}/SuSE/Xvfb"
#elif [ -f /etc/lsb-release ]; then
#  XVFBBIN="${XVFBHOME}/Ubuntu/Xvfb"
else
    XVFBBIN="${XVFBHOME}/RHEL/Xvfb"
fi
fi
  • 1
    Be careful! CentOS is not an Esri-supported platform. I found this out the hard way when a CentOS 6.x security patch released somewhen before 06 Jan 2014 caused ArcGIS 10.1sp1+QIP to stop working (and it corrupted all the services, forcing a complete reinstall/republish). I had to install RHEL 6.x to revive my stricken AGS instances. – Vince Aug 28 '14 at 3:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.