Chinaunix首页 | 论坛 | 博客
  • 博客访问: 37648
  • 博文数量: 9
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 91
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-05 14:12
文章分类

全部博文(9)

文章存档

2014年(9)

我的朋友

分类: LINUX

2014-05-15 15:20:58

1、安装完arcgis 10.2 for server,启动arcgis服务时报错,具体如下
[ags@test81 server]$ ./startserver.sh
Attempting to start ArcGIS Server...
WARNING:

ERROR: Unable to start Xvfb on any port in the range 6600 - 6619.
2、解决方法如下:
[ags@test81 ~]$ find -name xvfb
./arcgis/server/framework/runtime/xvfb
[ags@test81 ~]$cd arcgis/server/framework/runtime/xvfb/
[ags@test81 xvfb]$ ll
总用量 20
-rwx------. 1 ags ags 4460 6月  21 2013 init_Xvfb.sh
drwx------. 2 ags ags 4096 6月  21 2013 RHEL
drwx------. 2 ags ags 4096 6月  21 2013 SuSE
-rw-------. 1 ags ags  159 5月  13 10:11 xvfb_err.log
[ags@test81 xvfb]$ cat xvfb_err.log
/home/ags/arcgis/server/framework/runtime/xvfb/init_Xvfb.sh: line 85: /home/ags/arcgis/server//framework/runtime/xvfb/Ubuntu/Xvfb: 没有那个文件或目录
根据以上提示,打开init_Xvfb.sh,在70行左右
 # 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
将Ubuntu改为RHEL,保存后,重新启动arcgis服务。
阅读(3220) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~