免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 6627 | 回复: 23
打印 上一主题 下一主题

AS400中 HTTP的配置问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-20 11:54 |只看该作者 |倒序浏览
1)启动i系列400 HTTP Server administration 服务: STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
2)从IE, 输入 http://192.168.XXX.XXX:8080
3)输入正确的i系列400用户ID和口令,进入i系列400 HTTP 管理画面 ->进入"MANAGER"菜单

但当我启动完HTTP之后,在IE上输入http://192.168.XXX.XXX:8080,页面无法显示。
出现以下信息:

ページを表示できません。
検索中のページは現在、利用できません。Web サイトに技術的な問題が発生しているか、ブラウザの設定を調整する必要があります。

--------------------------------------------------------------------------------



这是什么原因?

论坛徽章:
0
2 [报告]
发表于 2009-05-20 12:32 |只看该作者

回复 #1 Stealer 的帖子

1、默认的访问地址应该是 http://XXXX:2001
2、WRKSBS 去确认你执行的STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN) 启动了几个进程,是否启动完整

论坛徽章:
0
3 [报告]
发表于 2009-05-20 13:15 |只看该作者
Subsystem  . . . . . . . . . . :   QHTTPSVR                                 
                                                                             
Type options, press Enter.                                                   
  2=Change   3=Hold   4=End   5=Work with   6=Release   7=Display message   
  8=Work with spooled files   13=Disconnect                                 
                                                                             
                                                                             
Opt  Job         User        Type     -----Status-----  Function            
     ADMIN       QTMHHTTP    BATCH    ACTIVE            PGM-QZHBMAIN         
     ADMIN       QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRLOG         
     ADMIN       QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRHTTP         
     ZENDCORE    QTMHHTTP    BATCH    ACTIVE            PGM-QZHBMAIN         
     ZENDCORE    QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRLOG         
     ZENDCORE    QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRLOG         
     ZENDCORE    QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRHTTP         
     ZENDCORE    QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRHTTP         

正常应该是8个

论坛徽章:
0
4 [报告]
发表于 2009-05-20 14:09 |只看该作者
   是zendcore + PHP 环境吗 http管理界面没能进去?

论坛徽章:
0
5 [报告]
发表于 2009-05-21 09:22 |只看该作者
原帖由 ien0291266 于 2009-5-20 13:15 发表
Subsystem  . . . . . . . . . . :   QHTTPSVR                                 
                                                                             
Type options, press Enter.            ...






我用wrkactjob看到pool有2个。
但实际上一个都没有启动。
是不是在这之前需要修改或配置一些什么呢?
比如目录的权限设置?

[ 本帖最后由 Stealer 于 2009-5-21 09:42 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2009-05-21 09:44 |只看该作者
原帖由 Oo懒觉熊... 于 2009-5-20 14:09 发表
   是zendcore + PHP 环境吗 http管理界面没能进去?




是啊,没有进去管理界面。
如果我要自己配置一个WEB服务器,在V5R3上应该是什么样的步骤啊?

论坛徽章:
0
7 [报告]
发表于 2009-05-21 09:47 |只看该作者
1. Make sure the i5/OS version of your System i is V5R4.

2. Signon to your System i, and make sure your job has the following
    attributes:

Country ID:  CN
Language ID: CHS
CCSID:       65535

3. Make sure that TCP/IP settings are correct

GO TCPADM -> Choose 1 -> Choose 12 - Change TCP/IP Domain (CHGTCPDMN)
GO TCPADM -> Choose 1 -> Choose 10 - Work with TCP/IP Host Table Entries

4. Make sure HTTP Server Admin Instance is active

STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)

NETSTAT -> Port 2001 - httpd admin instance

WRKSBS  -> QHTTPSVR  - httpd admin instance

            Job         User        Type     -----Status-----  Function
            ADMIN       QTMHHTTP    BATCH    ACTIVE            PGM-QZHBMAIN
            ADMIN       QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRLOG
            ADMIN       QTMHHTTP    BATCH    ACTIVE            PGM-QLWISVR
            ADMIN       QTMHHTTP    BATCHI   ACTIVE            PGM-QZSRHTTP
            ADMIN       QTMHHTTP    BATCHI   ACTIVE            PGM-QYUNLANG

http://<server_ip>:2001

5. Check the prerequisites before PHP & MySQL setup

DSPSFWRSC - Display Software Resource

    5722SS1  *BASE            i5/OS Version 5 Release 4 (V5R4)
    5722SS1  Option 13        System Openness Includes
    5722SS1  Option 30        Qshell
    5722SS1  Option 33        Portable App Solutions Environment
    5722SS1  Option 34        Digital Certificate Manager
    5722DG1  *BASE            IBM HTTP Server for i5/OS
    5722JV1  *BASE            IBM Developer Kit for Java
    5722JV1  Option 5 / 6     Java Development Kit 1.3 or 1.4

6. Now, you can enter the command one by one. And if the command is
    too long for Cut & Past, just use CALL QCMD to enter the screen of
    Command Entry


v5r3没试过 应该要v5r4吧

论坛徽章:
0
8 [报告]
发表于 2009-05-22 12:06 |只看该作者
3. Make sure that TCP/IP settings are correct
GO TCPADM -> Choose 1 -> Choose 12 - Change TCP/IP Domain (CHGTCPDMN)
GO TCPADM -> Choose 1 -> Choose 10 - Work with TCP/IP Host Table Entries


怎样的才算正确的呢?使用命令之后,参数什么纸都没有。

论坛徽章:
0
9 [报告]
发表于 2009-05-26 09:22 |只看该作者
Checking TCP/IP configuration
Web technologies rely heavily on TCP/IP. Before you install the Zend Core product, ensure
that TCP/IP is appropriately configured.
In particular, check the following configuration settings:
 Ensure that a host name is defined for the system. Run the Configure TCP/IP (CFGTCP)
command and select option 12 (Change TCP/IP domain information) to display this
setting. Make sure that a value is listed in the Host name field.
 Make sure that the loopback entry (which represents “localhost” or 127.0.0.1) is
configured in the TCP/IP host table. Run the Configure TCP/IP (CFGTCP) command and
select option 10 (Work with TCP/IP host table entries) to display the host table. Ensure that
an entry for the IP address 127.0.0.1 exists and is mapped to host names LOOPBACK
and LOCALHOST.
Also on this display, check that the IP address for the i5 system is mapped to its host name
(such as SYSTEMA) and fully qualified host name (such as
SYSTEMA.MYCOMPANY.COM). You should be able to successfully ping both the
loopback address and the fully qualified host name of your system from i5/OS, and the
fully qualified host name from any browser that will be used to access PHP scripts.

论坛徽章:
0
10 [报告]
发表于 2009-05-28 00:57 |只看该作者
請問您這台AS400有曾經開起過HTTP ADMIN的服務嗎?
還是第一次呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP