关闭开启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自动重启服务

  1. Configure ArcGIS for Server to be started with the operating system by following these instructions:
    1. Switch to root user.
    2. 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/
    3. 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.
    4. Edit the arcgisserver script as follows:
      1. Update the agshome variable to the ArcGIS for Server installation directory, for example, /home/username/arcgis/server.
      2. For RHEL only, add the line below just before # Description: ArcGIS Server Service:

# chkconfig: 35 99 01

      1. Save the edits to the arcgisserver script.
    1. 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

    1. End the root user session.
    2. Reboot the operating system and verify that ArcGIS for Server restarts properly.

ArcGIS Server 10.1 for Linux典型问题总结的更多相关文章

  1. Arcgis Server 10.2默认服务端口号修改方法

    本人安装Arcgis Server 10.2之后发布了一个地图服务,该服务默认使用的端口号是6080,本人使用的是教育网,使用教育网均能正常使用该服务,但是使用电信或者移动网络均不能正常访问该网站. ...

  2. arcgis server 10.2安装后,忘记Manager的用户名和密码

    arcgis server 10.2安装完毕后,需要创建站点,创建站点时,填写管理站点的用户名和密码.自己不小心,创建完毕后,给忘记了用户名和密码.求助Esri,解决方法如下: (1)找到arcgis ...

  3. ArcGIS Server 10.2 实战(三)图层标注及图例中文显示乱码的解决

    发布的图层中不可避免的使用到中文来标注,默认设置下,ArcGIS Server不支持中文的,中文标注显示成乱码,主要是编码的问题,需要把手动把编码改为UTF-8. ArcGIS Server 10.2 ...

  4. ArcGIS Server 10.2 实战(二)动态修改要素数据的地理处理服务

    上一篇<ArcGIS Server 10.2 实战(一)Asp.net MVC与JSON数据妙用实现动态生成要素图层>介绍了如何用JSON转要素的地理处理服务,实现了动态创建点要素并加载到 ...

  5. ArcGIS Server 10.0 安装及使用完整攻略

    引言 ArcGIS Server 10.0在使用和安装的过程中,需要进行比较全面的学习,才能正确使用.缺乏正确的指引,用户很容易在安装及使用中遇到问题.所以笔者在此总结Server 10.0的安装及使 ...

  6. ArcGIS Server 10 Java 版的Rest服务的部署方法

    使用ArcGIS Server 10 Java版发布GIS服务,当使用ArcGIS Manager创建好服务后,然后打开“ArcGIS Services Directory”的链接时发现网页报出了找不 ...

  7. ArcGIS Server 10.1发布GP服务

    ArcGIS Server 10.1发布GP服务 ArcGIS Server 10.1发布GP服务确实更简单了,只是刚使用不怎么习惯.ArcGIS Server 10.1发布GP服务需要先在ArcCa ...

  8. 分享ArcGIS Server 10.0修复安装心得

    最近,捣腾了一阵子在xp系统上安装ArcGIS Server10.0(下方均简称server),解决了一些初学者可能面临的problem,给大家贴出来, 希望能够给初学者一些有益的帮助. 我的系统环境 ...

  9. ArcGIS Server 10.2 公布Oracle11g数据源的 Feature Service

    安装好arcgis server 10.2及 Desktop 而且确保 arcgis server manager 能够正常启动执行载入服务 1.Oracle 配置 安装好Oracleserver端程 ...

随机推荐

  1. Android 强制竖屏

    一般android 显示内容都有两种实现方式,java代码中实现,xml布局中实现(或者权限管理页面) 直接上代码: java方法 setRequestedOrientation(ActivityIn ...

  2. PHPStorm2016如何安装主题

    今天放出如何安装phpstorm 主题教程,教程如下: 下载主题 地址:phpstoorm-themes.com 安装主题 PhpStorm and WebStorm themes can be in ...

  3. Android M 控件:Snackbar、Toolbar、TabLayout、NavigationView

    Snackbar Snackbar提供了一个介于Toast和AlertDialog之间轻量级控件,它可以很方便的提供消息的提示和动作反馈.Snackbar的使用与Toast的使用基本相同: Snack ...

  4. ListView上拉加载,下拉刷新 PullToRefresh的使用

    PullToRefresh是一套实现非常好的下拉刷新库,它支持:ListViewExpandableListViewGridViewWebViewScrollViewHorizontalScrollV ...

  5. 【UOJ #29】【IOI 2014】holiday

    http://uoj.ac/problem/29 cdq四次处理出一直向左, 一直向右, 向左后回到起点, 向右后回到起点的dp数组,最后统计答案. 举例:\(fi\)表示一直向右走i天能参观的最多景 ...

  6. RFID标签

    定义: RFID无线射频识别是一种非接触式的自动识别技术,它通过射频信号自动识别目标对象并获取相关数据,识别工作无须人工干预,可工作于各种恶劣环境.RFID技术可识别高速运动物体并可同时识别多个电子标 ...

  7. 【USACO 2.2】Preface Numbering (找规律)

    求 1-n 的所有罗马数字表达中,出现过的每个字母的个数. 分别对每个数的罗马表达式计算每个字母个数. 对于十进制的每一位,都是一样的规则,只是代表的字母不同. 于是我们从最后一位往前考虑,当前位由字 ...

  8. url 字符串中的参数信息

    /// <summary>        /// 分析 url 字符串中的参数信息        /// </summary>        /// <param nam ...

  9. 1.python算法之汉诺塔

    代码如下: #!/usr/bin/env python # encoding: utf-8 """ @author: 侠之大者kamil @file: 汉诺塔.py @t ...

  10. 【bzoj3156】 防御准备

    http://www.lydsy.com/JudgeOnline/problem.php?id=3156 (题目链接) 题意 给出n个防御节点,每个节点有两种选择,可以花费a[i]建立一个防御塔,或者 ...