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端程 ...
随机推荐
- Oracle空串与null的处理
来源于:http://blog.itpub.net/24870090/viewspace-1057853/ Oracle空串与null的处理[@more@] Oracle中的空字符串基本上是被当成空N ...
- jQuery自定义插件
jQuery自定义插件 jQuery自定义插件按照功能分类,可以分为三类, 1>封装对象方法的插件,(也就是基于某个DOM元素的jQuery对象,局部的) 2>封装全局函数的插件, ( ...
- MySQL修改,表结构大幅修改
------------------create table t_video_file_temp( video_id bigint not null comment '视频Id', file_md5 ...
- [Google Guava]学习--新集合类型Multimap
每个有经验的Java程序员都在某处实现过Map<K, List<V>>或Map<K, Set<V>>,并且要忍受这个结构的笨拙. 假如目前有个需求是给两 ...
- centos 20T硬盘(超过16T)分区
最近新买了一台服务器DELL R730 首先我们做了一个raid 1 和raid 5 在raid 1 上安装系统 安装完系统之后,现在要进行分区了,那个raid 5 做完之后,实际大小是19T 所以这 ...
- Android快速开发框架LoonAndroid (转)
1.源码简介: 主要有以下模块: (1) 自动注入框架(只需要继承框架内的application既可) (2) 图片加载框架(多重缓存,自动回收,最大限度保证内存的安全性) (3) 网络请求模块(继承 ...
- Swift微博项目--Swift中通过类名字符串创建类以及动态加载控制器的实现
Swift中用类名字符串创建类(用到了命名空间) OC中可以直接通过类名的字符串转换成对应的类来操作,但是Swift中必须用到命名空间,也就是说Swift中通过字符串获取类的方式为NSClassFro ...
- Activiti 学习笔记记录(2016-8-31)
上一篇:Activiti 学习笔记记录(二) 导读:上一篇学习了bpmn 画图的常用图形标记.那如何用它们组成一个可用文件呢? 我们知道 bpmn 其实是一个xml 文件
- eclipse-搭建maven的war项目集合spring注解方式
工具:eclipse 4.4.2 版本号:20150219-0600 jdk:1.7 1.下图创建maven工程,然后next 下图选择工程保存位置(这里选择默认),next 下图选择webapp项目 ...
- css-css权威指南学习笔记3
第三章 结构和层叠 1.确定应向一个元素应用哪些值时,用户代理不仅要考虑继承,还要考虑声明的特殊性,另外需要考虑声明本身的来源,这个过程就称为层叠.. 2.特殊性.如果一个元素有两个或多个冲突的属性声 ...