免费注册 查看新帖 |

Chinaunix

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

(分享)ASE 12.5恢复遇到 3240错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-07-12 14:48 |只看该作者 |倒序浏览
公司迁移数据库,在源上做dump,在目标上做load.
在load时遇到如下错误

Backup Server session id is:  17.  Use this value when executing the 'sp_volchanged' system stored procedure after fulfilling any volume change request from the Backup Server.
Msg 3240, Level 18, State 2:
Server 's1', Line 1:
Unable to obtain the SQL Server's current working directory.  The SQL Server must have search permission on its current working directory and the name must be shorter than 255 bytes.
Msg 3240, Level 18, State 1:
Server 's1', Line 1:
Unable to obtain the SQL Server's current working directory.  The SQL Server must have search permission on its current working directory and the name must be shorter than 255 bytes.
Msg 103, Level 15, State 13:
Server 's1', Line 1:
The parameter that starts with '' is too long. Maximum length is 255.


日志中错误如下:
06:00000:00553:2013/07/09 03:17:29.58 kernel  Could not get the server current working directory. Possible NFS problem. Future dump/load operations may fail.
06:00000:00553:2013/07/09 03:17:29.58 kernel  getwd: can't open ..
06:00000:00553:2013/07/09 03:17:29.59 kernel  Could not get the server current working directory. Possible NFS problem. Future dump/load operations may fail.
06:00000:00553:2013/07/09 03:17:29.59 kernel  getwd: can't open ..



查阅官方说明,Msg 3240 用户权限有问题.
检查相关权限属主,貌似没问题.
最后umount 文件系统后,发现挂载点 /sybase 目录的属主是root,改成sybase:sybase后重新mount,并再次赋为sybase:sybase  问题解决.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP