免费注册 查看新帖 |

Chinaunix

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

[SCO UNIX] sco unix 5.07 下sybase数据库自动备份??? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-09 13:51 |只看该作者 |倒序浏览
我在sco unix 5.06下使用sybase自动可以 , 为什么在5.07就不行了。。 。  
1. 在/var/spool/cron/crontabs目录下建立sybase 文件内容如下:

#        @(#) root 69.1 98/03/10
#
#        Copyright (C) 1989-1998 The Santa Cruz Operation, Inc.
#                All Rights Reserved.
#        The information in this file is provided for the exclusive use of
#        the licensees of The Santa Cruz Operation, Inc.  Such users have the
#        right to use, modify, and incorporate this code into other products
#        for purposes authorized by the license agreement provided they include
#        this notice and the associated copyright notice with any such product.
#        The information in this file is provided "AS IS" without warranty.
#
40 9 * * * /u/sybase/install/autodump

2. 然后打入chgrp cron sybase , chown sybase sybasa命令,最后reboot
可以到这时间后,好像5.07到这个时间后没有执行这文件,请问那位知道是什么原因????????????????????

论坛徽章:
0
2 [报告]
发表于 2006-07-10 09:05 |只看该作者
可把权限修改一下试试

论坛徽章:
0
3 [报告]
发表于 2006-07-10 09:08 |只看该作者
检查一下系统日志里有没有什么报错信息

论坛徽章:
0
4 [报告]
发表于 2006-07-10 09:17 |只看该作者
要修改什么样的权限啊,在5.06是可以的啊...      日志也没有异常,感觉上unix根本没有执行sybase这个文件一样???

论坛徽章:
0
5 [报告]
发表于 2006-07-10 11:36 |只看该作者
autodump是可执行的吗?

论坛徽章:
0
6 [报告]
发表于 2006-07-10 13:19 |只看该作者
一般用root做自动执行软件 如果要使用其它用户的话好像要把这个用户登陆吧?

论坛徽章:
0
7 [报告]
发表于 2006-07-10 16:12 |只看该作者
我在 /etc/rc2.d目录已加建好相应的文件了, 并启动RUN_SYBASE服务了。 如果我手动一条一条执行autodump文件,可以成功。所以小弟实在搞不明白是咱回事了.......头大的问题

论坛徽章:
0
8 [报告]
发表于 2006-07-10 17:47 |只看该作者
在/usr/spool/mai 目录 有一个sybase日志文件,每次执行文件,都会有这种错误??

From cron Mon Jul 10 17:36:01 2006
From: Cron daemon <cron@cg.foxhis.com>
X-Mailer: SCO OpenServer Mail Release 5.0.7
To: sybase@cg.foxhis.com
Date: Mon, 10 Jul 2006 17:36:01 +0800 (CST)
Message-ID:  <200607101736.aa04187@cg.foxhis.com>

/bin/sh: /u/sybase/install/autodump: cannot execute


*************************************************
Cron: The previous message is the standard output
      and standard error of one of your cron commands.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP