- 论坛徽章:
- 0
|
我在linux环境下使用
sp_configure "number of devices",20
go
之后,使用设备号:10,11都是可以的。
但是在solaris下使用同样的命令就不行,显示如下:
1>; sp_configure "number of devices",20
2>; go
Parameter Name Default Memory Used Config Value
Run Value
------------------------------ ----------- ----------- ------------
-----------
number of devices 10 #4 20
10
(1 row affected)
Configuration option changed. Since the option is static, Adaptive Server must
be rebooted in order for the change to take effect.
(return status = 0)
之后我添加新的数据库,使用设备号:10,11,就报出错误说超出范围了,说vdevno只能在0-9之间,我真是郁闷,为什么linux下可以,solaris下怎么就不可以了呢?
之后我没有办法就想修改solaris下/opt/sybase/里的xxx.cfg文件,不管用什么用户都不能修改那个文件,这就使我更郁闷了!除此之外还有更奇怪的问题:
我以超级用户登陆查看xxx.cfg是这样的:
number of devices = 20
suspend audit when device full = DEFAULT
以一般用户登陆显示的是这样的:
number of devices = DEFAULT
suspend audit when device full = DEFAULT
这又是为什么呢? |
|