免费注册 查看新帖 |

Chinaunix

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

小弟初学,有关在Linux上创建设备的问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-05-29 16:51 |只看该作者 |倒序浏览
1>;disk init name = "kd20dat",physname = "/opt/sybase/data/kd20.dat",vdevno = 5, size = 51200
2>; go

报如下错误:
Msg 5123, Level 16, State 1:
Line 1:
DISK INIT encountered an error while attempting to open/create the physical file.  Please consult the SQL Server error log (in the SQL Server boot  directory) for more details.


谢谢!

论坛徽章:
0
2 [报告]
发表于 2003-05-29 17:00 |只看该作者

小弟初学,有关在Linux上创建设备的问题?

查日志看下

论坛徽章:
0
3 [报告]
发表于 2003-05-29 17:02 |只看该作者

小弟初学,有关在Linux上创建设备的问题?

Please consult the SQL Server error log

论坛徽章:
0
4 [报告]
发表于 2003-05-30 09:06 |只看该作者

小弟初学,有关在Linux上创建设备的问题?

00:2003/05/29 21:45:14.42 server  The configuration option 'allow updates to sys
tem tables' has been changed by 'sa' from '1' to '0'.
00:2003/05/30 00:32:18.07 kernel  dcreate: error creating /opt/sybase/data/kd20.
dat.  System message is: Permission denied
00:2003/05/30 00:38:01.78 kernel  dcreate: error creating /opt/sybase/data/kd20.
dat.  System message is: Permission denied
00:2003/05/30 00:39:55.30 kernel  dcreate: error creating /opt/sybase/data/kd20.
dat.  System message is: Permission denied
00:2003/05/30 00:43:54.90 kernel  dcreate: error creating /dev/hda2/opt/sybase/d
ata/kd20.dat.  System message is: Not a directory
00:2003/05/30 00:45:01.02 kernel  basis_dsizecheck: attempt to open device '/dev
/hda2' failed, system error is: Permission denied
00:2003/05/30 00:45:39.83 kernel  dcreate: error creating /dev/hda2/kd20.dat.  S
ystem message is: Not a directory

论坛徽章:
0
5 [报告]
发表于 2003-05-30 09:37 |只看该作者

小弟初学,有关在Linux上创建设备的问题?

谢谢,问题已经解决,原来是对新建的这个目录没有权限
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP