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端程 ...
随机推荐
- 1011MySQL Query Cache学习笔记
转自:http://blog.chinaunix.net/uid-16844903-id-321156.html 测试环境 MySQL 5.5 innodb_version 1.1.6 MySQL Q ...
- 你需要知道的MySQL开源存储引擎TokuDB
在四月份的Percona Live MySQL会议上, TokuDB庆祝自己成为开源存储引擎整一周年.我现在仍能记得一年前它刚创建时的官方声明与对它的期望.当时的情况非常有意思,因为它拥有帮助MySQ ...
- Android Studio 解决更新慢的问题
Android Studio 解决更新慢的问题 最近在一些群里有伙伴们反应工具更新慢,由于国内网络对google限制的原因,android studio更新一直是个老大难的问题,为了,提高sdk下载的 ...
- Spring注解@PostConstruct与@PreDestroy
关于在spring 容器初始化 bean 和销毁前所做的操作定义方式有三种: 第一种:通过@PostConstruct 和 @PreDestroy 方法 实现初始化和销毁bean之前进行的操作 第二 ...
- 7 static关键字
class Person { static int i; static void fun() { System.out.println("我是静态函数"); } } 在静态函数中不 ...
- iOS7模拟器安装
安装路径:/Library/Developer/CoreSimulator/Profiles/Runtimes 其中,后两个文件夹没有,需要手动创建. 把iOS7模拟器拖拽到Runtimes文件夹下即 ...
- 机器学习Python包
随着机器学习的逐日升温,各种相关开源包也是层出不群,面对如此多种类的工具包,该如何选择,有的甚至还知之甚少或者不知呢,本文简单汇总了一下当下使用比较多的Python版本机器学习工具包,供大家参看,还很 ...
- iOS正则表达式
//包含数字和字母的密码长度6-16位 -(BOOL) validatePassword:(NSString *)password { //密码正则表达式 NSString *passwordRege ...
- 【BZOJ-4353】Play with tree 树链剖分
4353: Play with tree Time Limit: 20 Sec Memory Limit: 256 MBSubmit: 31 Solved: 19[Submit][Status][ ...
- 【BZOJ-1096】仓库建设 斜率优化DP
1096: [ZJOI2007]仓库建设 Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 3719 Solved: 1633[Submit][Stat ...