关闭开启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. SVN的简单使用

    鼠标右键 SVNCheckout 导出文件 如果想在文件里做修改:右击鼠标-SVN Commit 如果想添加文件:把想要添加的文件粘贴到文件夹中,鼠标右击-TortoiseSVN-add 如果想在添加 ...

  2. 访问修饰符(public,private,protected,internal,sealed,abstract)

    为了控件C#中的对象的访问权限,定义对象时可以在前面添加修饰符. 修饰符有五种:private(私有的),protected(受保护的),internal(程序集内部的),public(公开的),以及 ...

  3. iOS开发遇到的错误 -- Label显示多行文字导致宽度和高度的问题

    Label的宽度问题 注意:UILabel下面需要设置preferredMaxLayoutWidth ,设置了autolayout和numberofline的UIlabel才显示多行 label宽度的 ...

  4. iOS开发小技巧-修改SliderBar指针的样式(牢记这个方法,只能通过代码来修改)

    代码: // 修改进度条的指针图片 [self.progressSlider setThumbImage:[UIImage imageNamed:@"player_slider_playba ...

  5. 【BZOJ 1177】【APIO 2009】Oil

    http://www.lydsy.com/JudgeOnline/problem.php?id=1177 前缀和优化,时间复杂度$O(nm)$ 因为数据不全,快速读入会导致RE,切记! #includ ...

  6. 基于@Aspect的AOP配置

    1. Spring 除了支持Schema 方式配置 AOP,还支持注解方式:使用 @Aspect 来配置 2. Spring 默认不支持 @Aspect 风格的切面声明,通过如下配置开启@Aspect ...

  7. Android 自定义Activity基类与TitleBar

    我们在开发App的时候有时候碰到多个界面有一个共同点的时候,比如,都有相同的TitleBar,并且TitleBar可以设置显示的文字.TitleBar上的点击事件,如果给每一个Activity都写一遍 ...

  8. oracle触发器调用java程序

    1.创建java程序:接收存储过程传递的参数,发送socket通信. create or replace and compilejava source named jym as import java ...

  9. 2.Android 自定义通用的Item布局

    转载:http://www.jianshu.com/p/e7ba4884dcdd BaseItemLayout 简介 在工作中经常会遇到下面的一些布局,如图标红处: 05.png 07.png 08. ...

  10. Linux下的IO模式

    对于一次IO访问(以read举例),数据会先被拷贝到操作系统内核的缓冲区中,然后才会从操作系统内核的缓冲区拷贝到应用程序的地址空间.所以说,当一个read操作发生时,它会经历两个阶段:1. 等待数据准 ...