ArcGIS Server 10.1 for Linux典型问题总结
关闭开启server服务:
[gis@localhost ArcGISServer]$ cd /home/gis/arcgis/server
[gis@localhost server]$ ./stopserver.sh
Attempting to stop ArcGIS Server...
[ OK ]
[gis@localhost server]$ ./startserver.sh
Attempting to start ArcGIS Server...
WARNING: The host name entry for this machine in your /etc/hosts file
does not match the IP address of this machine. This will cause ArcGIS
for Server to function improperly. Correct this entry and restart ArcGIS
for Server.
[ OK ]
以下内容来自http://blog.csdn.net/linghe301/article/details/8102933
1:我的ArcGIS Server10.1的manger用户忘记了,怎么获得相关信息?
回答:进入ArcGIS Server用户(操作系统),进入如下文件夹
[ags@redhat6 config-store]$ pwd
/home/ags/arcgis/server/usr/config-store
[ags@redhat6 config-store]$ ll
total 56
-rw-------. 1 ags ags 112 Jun 16 01:16 arcgis-logsettings.json
-rw-------. 1 ags ags 0 Jun 17 05:55 arcgis-logsettings.json.rlock
drwx------. 2 ags ags 4096 Jun 17 06:01 clusters
drwx------. 2 ags ags 4096 Jun 17 06:01 data
drwx------. 2 ags ags 4096 Jun 17 06:01 events
drwx------. 2 ags ags 4096 Jun 17 06:01 extns
drwx------. 2 ags ags 4096 Jun 17 06:01 locks
drwx------. 3 ags ags 4096 Jun 17 06:01 machines
drwx------. 6 ags ags 4096 Jun 17 06:01 security
drwx------. 2 ags ags 4096 Jun 17 06:01 serverdirs
drwx------. 5 ags ags 4096 Jun 17 06:01 services
drwx------. 3 ags ags 4096 Jun 17 06:01 system
drwx------. 2 ags ags 4096 Jun 17 06:01 uploads
-rw-------. 1 ags ags 72 Jun 16 01:14 version.json
drwx------. 2 ags ags 4096 Jun 17 06:01 web-adaptors
[ags@redhat6 config-store]$
[ags@redhat6 config-store]$ cd security/
[ags@redhat6 security]$ cd super/
[ags@redhat6 super]$ pwd
/home/ags/arcgis/server/usr/config-store/security/super
[ags@redhat6 super]$ ls
super.json super.json.bak super.json.rlock
从上面可以得到config-store文件夹里面有很多在manger里面设置的配置文件都是以json的格式保存的,比如cluster,machines,services等相关信息,那么我们需要知道的是manger用户,进入security/super文件夹,打开里面的super.json
[ags@redhat6 super]$ more super.json
{
"username": "arcgis",
"password": "KLJcC2/WMzjgep+vQFmitg==",
"disabled": false
}
从这个我可以看出我的用户名是arcgis,至于密码是经过加密的.
也可以使用以下方法来获得
[ags@redhat6 passwordreset]$ pwd
/home/ags/arcgis/server/tools/passwordreset
[ags@redhat6 passwordreset]$ ls
passwordreset.sh
[ags@redhat6 passwordreset]$ ./passwordreset.sh
PasswordReset
This tool resets the primary site administrator's credentials for a Site.
Usage: PasswordReset [OPTION]
-p <newPassword>
Resets the password to new password
-l
Lists the name of the primary site administrator
[ags@redhat6 passwordreset]$ ./passwordreset.sh -l
Primary site administrator account: arcgis
这个主要是解决,知道相关用户,可能忘记密码了,来重置密码!
2:我怎么在Linux安装的ArcGIS Server10.1注册许可
回答:
[ags@redhat6 tools]$ pwd
/home/ags/arcgis/server/tools
[ags@redhat6 tools]$ ll
total 28
drwx------. 2 ags ags 4096 Apr 25 20:33 admin
-rwx------. 1 ags ags 4519 Apr 20 17:03 authorizeSoftware
drwx------. 2 ags ags 4096 Apr 26 12:18 passwordreset
-rwx------. 1 ags ags 636 Apr 20 17:05 python
-rwx------. 1 ags ags 919 Apr 20 17:05 serverinfo
-rwx------. 1 ags ags 3277 Apr 26 12:18 ssltool.sh
[ags@redhat6 tools]$
[ags@redhat6 tools]$ ./authorizeSoftware
在这个tools文件夹里面,还有一个python环境,所以如果需要简单的GP测试,可以使用这个工具来做简单测试
4:Linux的ArcGIS Server10.1默认安装的配置目录在哪里存储
回答:
[ags@redhat6 directories]$ pwd
/home/ags/arcgis/server/usr/directories
[ags@redhat6 directories]$ ll
total 16
drwx------. 3 ags ags 4096 Jun 16 01:14 arcgiscache
drwx------. 4 ags ags 4096 Jun 16 01:16 arcgisjobs
drwx------. 6 ags ags 4096 Jun 16 01:16 arcgisoutput
drwx------. 8 ags ags 4096 Jun 16 01:14 arcgissystem
5:Linux的ArcGIS Server10.1怎么获得服务发布的arcgisinput文件夹
回答:
[ags@redhat6 arcgisinput]$ pwd
/home/ags/arcgis/server/usr/directories/arcgissystem/arcgisinput
[ags@redhat6 arcgisinput]$ ll
total 16
drwx------. 3 ags ags 4096 Jun 17 06:59 MyMapService.MapServer
drwx------. 2 ags ags 4096 Jun 16 01:16 SampleWorldCities.MapServer
drwx------. 5 ags ags 4096 Jun 16 01:15 System
drwx------. 4 ags ags 4096 Jun 16 01:16 Utilities
从上面可以获得有相关的四个服务,进入某一个服务,查看相关信息,就知道我的数据是否是Copy还是注册成功了
[ags@redhat6 arcgisinput]$ cd MyMapService.MapServer/
[ags@redhat6 MyMapService.MapServer]$ ls
extracted MyMapService.sd
[ags@redhat6 MyMapService.MapServer]$ cd extracted/
[ags@redhat6 extracted]$ cd v101/
[ags@redhat6 v101]$ ls
arcsde_data.gdb MyMapService.msd MyMapService.mxd
[ags@redhat6 v101]$ ll
total 13856
drwx------. 2 ags ags 4096 Jun 17 06:59 arcsde_data.gdb
-rw-------. 1 ags ags 13956316 Oct 23 2012 MyMapService.msd
-rw-------. 1 ags ags 222208 Oct 23 2012 MyMapService.mxd
从上面可以获得,我本来是发布直连的ArcSDE数据源数据,但是最后还是看到copy到本地的.gdb,所以这个服务并没有注册.
6:Linux的ArcGISServer自动重启服务
- Configure ArcGIS for Server to be started with the operating system by following these instructions:
- Switch to root user.
- Copy <ArcGIS for Server installation directory>/framework/etc/scripts/arcgisserver shell script to the appropriate supported Linux distribution-based locations provided below:
- RHEL: /etc/rc.d/init.d/
- SUSE: /etc/init.d/
- Change directory to the applicable init.d folder and check the arcgisserver script to make sure that root has at least read and execute permissions.
- Edit the arcgisserver script as follows:
- Update the agshome variable to the ArcGIS for Server installation directory, for example, /home/username/arcgis/server.
- For RHEL only, add the line below just before # Description: ArcGIS Server Service:
# chkconfig: 35 99 01
- Save the edits to the arcgisserver script.
- Still as root user, run the following command to automatically create the links in /etc/rc*.d with the appropriate run levels:
- RHEL:
§ $ chkconfig --add arcgisserver
§ $ chkconfig arcgisserver on
- SUSE:
§ $ insserv arcgisserver
§ $ chkconfig arcgisserver on
- End the root user session.
- Reboot the operating system and verify that ArcGIS for Server restarts properly.
ArcGIS Server 10.1 for Linux典型问题总结的更多相关文章
- Arcgis Server 10.2默认服务端口号修改方法
本人安装Arcgis Server 10.2之后发布了一个地图服务,该服务默认使用的端口号是6080,本人使用的是教育网,使用教育网均能正常使用该服务,但是使用电信或者移动网络均不能正常访问该网站. ...
- arcgis server 10.2安装后,忘记Manager的用户名和密码
arcgis server 10.2安装完毕后,需要创建站点,创建站点时,填写管理站点的用户名和密码.自己不小心,创建完毕后,给忘记了用户名和密码.求助Esri,解决方法如下: (1)找到arcgis ...
- ArcGIS Server 10.2 实战(三)图层标注及图例中文显示乱码的解决
发布的图层中不可避免的使用到中文来标注,默认设置下,ArcGIS Server不支持中文的,中文标注显示成乱码,主要是编码的问题,需要把手动把编码改为UTF-8. ArcGIS Server 10.2 ...
- ArcGIS Server 10.2 实战(二)动态修改要素数据的地理处理服务
上一篇<ArcGIS Server 10.2 实战(一)Asp.net MVC与JSON数据妙用实现动态生成要素图层>介绍了如何用JSON转要素的地理处理服务,实现了动态创建点要素并加载到 ...
- ArcGIS Server 10.0 安装及使用完整攻略
引言 ArcGIS Server 10.0在使用和安装的过程中,需要进行比较全面的学习,才能正确使用.缺乏正确的指引,用户很容易在安装及使用中遇到问题.所以笔者在此总结Server 10.0的安装及使 ...
- ArcGIS Server 10 Java 版的Rest服务的部署方法
使用ArcGIS Server 10 Java版发布GIS服务,当使用ArcGIS Manager创建好服务后,然后打开“ArcGIS Services Directory”的链接时发现网页报出了找不 ...
- ArcGIS Server 10.1发布GP服务
ArcGIS Server 10.1发布GP服务 ArcGIS Server 10.1发布GP服务确实更简单了,只是刚使用不怎么习惯.ArcGIS Server 10.1发布GP服务需要先在ArcCa ...
- 分享ArcGIS Server 10.0修复安装心得
最近,捣腾了一阵子在xp系统上安装ArcGIS Server10.0(下方均简称server),解决了一些初学者可能面临的problem,给大家贴出来, 希望能够给初学者一些有益的帮助. 我的系统环境 ...
- ArcGIS Server 10.2 公布Oracle11g数据源的 Feature Service
安装好arcgis server 10.2及 Desktop 而且确保 arcgis server manager 能够正常启动执行载入服务 1.Oracle 配置 安装好Oracleserver端程 ...
随机推荐
- Android Bundle
#Bundle类介绍 Bundle主要用于传递数据:它保存的数据,是以key-value(键值对)的形式存在的. 我们经常使用Bundle在Activity之间传递数据,传递的数据可以是boolean ...
- [Mindjet MindManager]思维导图的快捷键操作
来源于:http://www.cnblogs.com/whylaughing/p/5530935.html Mindjet MindManager(思维导图) 快捷键如下: Insert or CTR ...
- 开发错误记录3:问题 Error:failed to find Build Tools revision 23.0.2
今天导入swiperefreshlayoutdemo 问题 Error:failed to find Build Tools revision 23.0.2 修改build.gradle 里面设置,其 ...
- 顺序队列的C语言实现
#include <stdio.h> #define MAXSIZE 101 #define ELEMTYPE int #define QUEUE_EMPTY -10000 typedef ...
- 【BZOJ 1178】【APIO 2009】CONVENTION会议中心
http://www.lydsy.com/JudgeOnline/problem.php?id=1178 这道题想了好久没想明白,倍增数组通过看题解很快就明白了,但是一小段区间内应有的最多线段数一直不 ...
- 理解 Java 的三大特性之多态
面向对象编程有三大特性:封装.继承.多态. 封装隐藏了类的内部实现机制,可以在不影响使用的情况下改变类的内部结构,同时也保护了数据.对外界而已它的内部细节是隐藏的,暴露给外界的只是它的访问方法. 继承 ...
- 【CodeForces 697C】Lorenzo Von Matterhorn(LCA)
Least Common Ancestors 节点范围是1~1e18,至多1000次询问. 只要不断让深的节点退一层(>>1)就能到达LCA. 用点来存边权,用map储存节点和父亲连边的权 ...
- 【CodeForces 699A】Launch of Collider
维护最新的R,遇到L时如果R出现过就更新答案. #include <cstdio> #include <algorithm> using namespace std; int ...
- watch监听 chechbox 全选
// 监控全选checkbox的状态 $scope.$watch('AllCheck', function (newValue, oldValue) { // 第一次不执行 if (newValue ...
- HIVE: collect_set(输出未包含在groupby的字段);
今天帮同事测试,发现代码里有个好用的hive 函数: 1. collect_set 可以输出未包含在groupby里的字段.条件是,这个字段值对应于主键是唯一的. select a, collect_ ...