- 论坛徽章:
- 0
|
sybase12.5安装到红帽子Advanced Server-2.1AS/i386问题求教
已经按“sunlan"的说法,把KSH装了上去。
现在已经按以下方法安装:
1、修改系统内存配置。在root用户登录文件中加入以下语句(以bash用户,.bash_profile为例。更改系统内存值为60M):echo "188743680" >; /proc/sys/kernel/shmmax //把共享内存设成180M(我的内存是256M, 也在/etc/rc.d/rc.local里面加上了这一行,作用是每一次重启 都可以有这么大的共享内存。
2、重新启动系统。
4、确定我的网络是好的。telnet了两次本地。
5、在X-Windows中使用srvbuild工具配置ASE产品 。(中间出现一点问题,说:用户sybase 没有/tmp/orbit-sybase的所有权。
使用chown sybase:dba /tmp/orbit-sybase -R 给sybase 赋权。)
6、在srvbuild窗口中,选择安装Adaptive Server类型。 服务器名为:ITC。并进入Server的配置过程。
7、配置Adaptive Server。填写或选择以下内容:
Master device path(主设备路径):/opt/sybase-12.5/data/master.dat
Master device size(MB)(主设备大小):60
Master database size(MB)(主数据库大小):20
Sybsystemprocs device path(系统存储过程设备路径):/opt/sybase-12.5/data/systemprocs.dat
Sybsystemprocs device size(MB)(系统存储过程设备大小):120
Sybsystemprocs database size(MB)(系统存储过程数据库大小):120
Error log path(错误日志路径):/opt/sybase-12.5/install/TEST.log
Transport type(传输协议类型):tcp
Host name(主机名):itc
Port number(监听端口号):4100
点击OK按钮,进入下一配置过程。
8、然后就build server. 出现下面的问题:
building master device .... master device complete.
writing RUN_ITC file ....RUN_ITC file complete.
starting server ..... Tash failed
unable to boot server 'itc'.
server 'itc' was not created
done
请问这是怎么回事?会不会是因为license的问题?
我是不是应该在/$ASE/install/看日志呢?
我看到的日志是这样子的:
00:00000:00000:2004/11/03 19:19:44.75 kernel Use license file /opt/sybase-12.5/SYSAM/licenses/license.dat
00:00000:00000:2004/11/03 19:19:44.78 kernel Checked out license ASE_SERVER
00:00000:00000:2004/11/03 19:19:44.78 kerner Adaprive Server Enterprise Enterprise Edition
00:00000:00000:2004/11/03 19:19:44.78 kernel Using config area from primary master device.
00:00000:00000:2004/11/03 19:19:44.78 kernel Warning: Using default file '/opt/sybase-12.5/itc.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2004/11/03 19:19:44.79 kernel os_create_region: can't allocate 37040128 bytes
00:00000:00000:2004/11/03 19:19:44.90 kernel kbcreate: couldn't create kernel region.
00:00000:00000:2004/11/03 19:19:45.77 kernel kistartup: could not create shared memory
00:00000:00000:2004/11/03 19:19:45.80 kernel Use license file /opt/sybase-12.5/SYSAM/licenses/license.dat
00:00000:00000:2004/11/03 19:19:44.78 kernel Checked out license ASE_SERVER
00:00000:00000:2004/11/03 19:19:44.78 kerner Adaprive Server Enterprise Enterprise Edition
00:00000:00000:2004/11/03 19:19:44.80 kernel The configuration area in device '/opt/sybase-12.5/data/master.dat' appears to be corrupt. The server needs this data to boot, and so cannot continue. The server will shut down.
请会的兄弟一一指教,谢谢。
那位兄弟有license的,可以写出来吗? |
|