免费注册 查看新帖 |

Chinaunix

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

请教两个配置方面的问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-30 21:50 |只看该作者 |倒序浏览
发表于: 2003-06-19 12:06 发表主题: 为什么SYBASE 在SCOUNIX下安装不成功!参数完毕后,到了wait fo server "SYBASE" boot....时候总是提示SERVER ERROR:failed to boot server 'SYBASE'请问高手,是为什么?我也遇到了这样的问题,根据[hu1234567890先生]提示:
5.修改内核
#cd /etc/conf/bin
#./idtune NFILE 1024
#cd /etc/conf/cf.d
#./configure
〈问题1〉:我在做 #./idtune NFILE 1024时,误将NFILE 写成nfile, 结果后来在进行
#cd /etc/conf/cf.d
#./configure 时,报
nfile  1024
Incorrect line format in stune

Press<Enter>;to continue
这个命令没法用了,怎样能够把错误纠正过来?
〈问题2〉

选 16 修改 SHMMAX 项为: XXXXXXX ( 共享内存,B为单位,Sco 启动后余多少,设多少)
请问“Sco启动后余多少,设多少”余多少,是指什?我的的机器启动后显示如下:
mem:total=130668k,kernel=12088k,user=118580k
swapdev=1/41,swplo=0,nswap=394000,swapmem=197000k,rootdev=1/42,pipedev=1/42,
dumpdev=1/41
kernel:HZ=100,I?O bufs=6652k
1. Sco我的机器的共享内存余多少?
2. Swapdev=1/41,中1和41指的是啥?

论坛徽章:
0
2 [报告]
发表于 2003-07-02 08:20 |只看该作者

请教两个配置方面的问题?

问题1:
1.vi /etc/conf/cf.d/stune文件,将nfile改为NFILE
2.重新链接核心

论坛徽章:
0
3 [报告]
发表于 2003-07-02 21:15 |只看该作者

请教两个配置方面的问题?

SHMMAX  67108864   (64M)
     设这些足够

论坛徽章:
0
4 [报告]
发表于 2003-07-02 21:21 |只看该作者

请教两个配置方面的问题?

failed to boot server 'SYBASE'

看看init目录中log目录中的创建服务器的日志文件报告什么错误?

论坛徽章:
0
5 [报告]
发表于 2003-07-02 22:54 |只看该作者

请教两个配置方面的问题?

好象还得在 /etc/rc2 中加这样一行;
      /etc/suds_ctrl  -a  100
    其中100是sybase 的 group id  号,根据具体情况填写。

论坛徽章:
0
6 [报告]
发表于 2003-07-03 15:00 |只看该作者

请教两个配置方面的问题?

我已经按照上面的步骤做的,共享内存置67108864,配置后,还报错误!
我把我的装配过程说一下:
我的电脑配置:PIII733,128MB SDRAM,ST 40G ,网卡,RTL8319,安装UNIX 5.05. 
硬盘分为四个区:
第一次安装,硬盘分为 1. 65000(约2G) 2. 65000(约2G) 3. 65000(约2G) 4.剩余的盘为一个区。在第二分区上
建设备foxhis 1000M,安装sybase 11.3,进行配置sybinit.
A. 配置Sybase Server
    1. Port:  5000
    2. Master device:  /dev/rmaster
    3. 5->;20;  1->;20
    4. …
    5. …
    6. …
    7. ->;cp850
    8. …
    9. …
配置成功,后由于foxhis分配小了,我又重新安装sco unix 5.0.5,硬盘分区也重新划分,如下:
    1.4G
    2.6G
    3.6G
    4.剩余的盘为一个区。
foxhis分配 2000M
安装sybase 11.3,进行配置后,报错。提示:Failed to boot server 'SYBASE'
请问:1.安装sybase与硬盘分区大小有关吗?
      2.配置sybinit与master大小有关吗?
      3.除sco unix重装,硬盘重分,msater重分,其他设置同第一次一样(成功那次),不知这次为何不行?
以下是配置时的日志和错误提示,请高手解答!!!
日志log0701
07/01/103 10:43:48 PM Sybinit/11.0.3/P/SCO/SCO_SV r3.2v5.0.2/2/OPT/Fri Jul 18
                      20:17:11 PDT 1997
07/01/103 10:43:48 PM Confidential property of Sybase, Inc. (c) Copyright Sybase Inc.
                      1987, 1997. All rights reserved. Use, duplication, or disclosure by
                      the United States Government is subject to restrictions as set forth
                      in FAR subparagraphs 52.227-19 (a)-(d) for civilian agency
                      contracts and DFARS 252.227-7013 (c)(1)(ii) for Department of
                      Defense contracts. Sybase reserves all unpublished rights under
                      the copyright laws of the United States. Sybase, Inc. 6475 Christie
                      Avenue, Emeryville, CA 94608 USA.
07/01/103 10:43:48 PM BEGIN ENVIRONMENT INFORMATION

USER ENVIRONMENT
----------------------------------------
user name:                     sybase
current directory:             /usr/sybase/install
character set:                 iso_1
language:                      us_english
sybinit release directory:     /usr/sybase
working release directory:     /usr/sybase


07/01/103 10:43:48 PM END ENVIRONMENT INFORMATION
07/01/103 10:45:09 PM Running task: create the master device.
07/01/103 10:45:10 PM Calling the shell with '/usr/sybase/bin/buildmaster
                      -d/dev/rmaster -s25600   >; /usr/sybase/init/logs/tmp 2>;&1 '.
07/01/103 10:45:10 PM Building the master device
07/01/103 10:45:12 PM Done
07/01/103 10:45:12 PM Begin output from 'buildmaster':
Master device: /dev/rmaster
writing configuration area
writing the MASTER database
writing the MODEL database
writing allocation pages for remaining 45 MB, (23040 pages)
2 MB     
4 MB     
6 MB     
8 MB     
10 MB     
12 MB     
14 MB     
16 MB     
18 MB     
20 MB     
22 MB     
24 MB     
26 MB     
28 MB     
30 MB     
32 MB     
34 MB     
36 MB     
38 MB     
40 MB     
42 MB     
44 MB     
45 MB     Buildmaster complete
07/01/103 10:45:12 PM End output from 'buildmaster'.
07/01/103 10:45:12 PM Task succeeded: create the master device.
07/01/103 10:45:12 PM Running task: update the SQL Server runserver file.
07/01/103 10:45:13 PM Task succeeded: update the SQL Server runserver file.
07/01/103 10:45:14 PM Running task: boot the SQL Server.
07/01/103 10:45:14 PM Calling the shell with '/usr/sybase/install/RUN_SYBASE >;
                      /usr/sybase/init/logs/tmp 2>;&1 '.
07/01/103 10:45:15 PM waiting for server 'SYBASE' to boot...
07/01/103 10:45:21 PM SERVER ERROR: Failed to boot server 'SYBASE'.
07/01/103 10:45:22 PM Task failed: boot the SQL Server. Terminating configuration.
07/01/103 10:45:22 PM Configuration failed.
07/01/103 10:45:27 PM Exiting.
07/01/103 10:45:27 PM The log file for this session is
                      '/usr/sybase/init/logs/log0701.001'.
07/01/103 10:45:27 PM Log close.

错误日志errorlog
00:03/07/01 22:45:14.11 kernel  Using config area from primary master device.
00:03/07/01 22:45:14.11 kernel  Warning: Using default file '/usr/sybase/SYBASE.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:03/07/01 22:45:14.14 kernel  Using 11000 file descriptors.
00:03/07/01 22:45:14.14 kernel  ulinitspinlock: allocate mutex lock failed


论坛徽章:
0
7 [报告]
发表于 2003-07-03 15:05 |只看该作者

请教两个配置方面的问题?

我已经按照上面的步骤做的,共享内存置67108864,配置后,还报错误!
我把我的装配过程说一下:
我的电脑配置:PIII733,128MB SDRAM,ST 40G ,网卡,RTL8319,安装UNIX 5.05. 
硬盘分为四个区:
第一次安装,硬盘分为 1. 65000(约2G) 2. 65000(约2G) 3. 65000(约2G) 4.剩余的盘为一个区。在第二分区上
建设备master 1000M,安装sybase 11.3,进行配置sybinit.
A. 配置Sybase Server
    1. Port:  5000
    2. Master device:  /dev/rmaster
    3. 5->;20;  1->;20
    4. …
    5. …
    6. …
    7. ->;cp850
    8. …
    9. …
配置成功,后由于master分配小了,我又重新安装sco unix 5.0.5,硬盘分区也重新划分,如下:
    1.4G
    2.6G
    3.6G
    4.剩余的盘为一个区。
master 分配 2000M
安装sybase 11.3,进行配置后,报错。提示:Failed to boot server 'SYBASE'
请问:1.安装sybase与硬盘分区大小有关吗?
      2.配置sybinit与master大小有关吗?
      3.除sco unix重装,硬盘重分,msater重分,其他设置同第一次一样(成功那次),不知这次为何不行?
以下是配置时的日志和错误提示,请高手解答!!!
日志log0701
07/01/103 10:43:48 PM Sybinit/11.0.3/P/SCO/SCO_SV r3.2v5.0.2/2/OPT/Fri Jul 18
                      20:17:11 PDT 1997
07/01/103 10:43:48 PM Confidential property of Sybase, Inc. (c) Copyright Sybase Inc.
                      1987, 1997. All rights reserved. Use, duplication, or disclosure by
                      the United States Government is subject to restrictions as set forth
                      in FAR subparagraphs 52.227-19 (a)-(d) for civilian agency
                      contracts and DFARS 252.227-7013 (c)(1)(ii) for Department of
                      Defense contracts. Sybase reserves all unpublished rights under
                      the copyright laws of the United States. Sybase, Inc. 6475 Christie
                      Avenue, Emeryville, CA 94608 USA.
07/01/103 10:43:48 PM BEGIN ENVIRONMENT INFORMATION

USER ENVIRONMENT
----------------------------------------
user name:                     sybase
current directory:             /usr/sybase/install
character set:                 iso_1
language:                      us_english
sybinit release directory:     /usr/sybase
working release directory:     /usr/sybase


07/01/103 10:43:48 PM END ENVIRONMENT INFORMATION
07/01/103 10:45:09 PM Running task: create the master device.
07/01/103 10:45:10 PM Calling the shell with '/usr/sybase/bin/buildmaster
                      -d/dev/rmaster -s25600   >; /usr/sybase/init/logs/tmp 2>;&1 '.
07/01/103 10:45:10 PM Building the master device
07/01/103 10:45:12 PM Done
07/01/103 10:45:12 PM Begin output from 'buildmaster':
Master device: /dev/rmaster
writing configuration area
writing the MASTER database
writing the MODEL database
writing allocation pages for remaining 45 MB, (23040 pages)
2 MB     
4 MB     
6 MB     
8 MB     
10 MB     
12 MB     
14 MB     
16 MB     
18 MB     
20 MB     
22 MB     
24 MB     
26 MB     
28 MB     
30 MB     
32 MB     
34 MB     
36 MB     
38 MB     
40 MB     
42 MB     
44 MB     
45 MB     Buildmaster complete
07/01/103 10:45:12 PM End output from 'buildmaster'.
07/01/103 10:45:12 PM Task succeeded: create the master device.
07/01/103 10:45:12 PM Running task: update the SQL Server runserver file.
07/01/103 10:45:13 PM Task succeeded: update the SQL Server runserver file.
07/01/103 10:45:14 PM Running task: boot the SQL Server.
07/01/103 10:45:14 PM Calling the shell with '/usr/sybase/install/RUN_SYBASE >;
                      /usr/sybase/init/logs/tmp 2>;&1 '.
07/01/103 10:45:15 PM waiting for server 'SYBASE' to boot...
07/01/103 10:45:21 PM SERVER ERROR: Failed to boot server 'SYBASE'.
07/01/103 10:45:22 PM Task failed: boot the SQL Server. Terminating configuration.
07/01/103 10:45:22 PM Configuration failed.
07/01/103 10:45:27 PM Exiting.
07/01/103 10:45:27 PM The log file for this session is
                      '/usr/sybase/init/logs/log0701.001'.
07/01/103 10:45:27 PM Log close.

错误日志errorlog
00:03/07/01 22:45:14.11 kernel  Using config area from primary master device.
00:03/07/01 22:45:14.11 kernel  Warning: Using default file '/usr/sybase/SYBASE.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:03/07/01 22:45:14.14 kernel  Using 11000 file descriptors.
00:03/07/01 22:45:14.14 kernel  ulinitspinlock: allocate mutex lock failed

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP