Chinaunix

标题: sco unix 5.07 下sybase数据库自动备份??? [打印本页]

作者: zmg020    时间: 2006-07-09 13:51
标题: sco unix 5.07 下sybase数据库自动备份???
我在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到这个时间后没有执行这文件,请问那位知道是什么原因????????????????????
作者: xiahao0469    时间: 2006-07-10 09:05
可把权限修改一下试试
作者: sunlan    时间: 2006-07-10 09:08
检查一下系统日志里有没有什么报错信息
作者: zmg020    时间: 2006-07-10 09:17
要修改什么样的权限啊,在5.06是可以的啊...      日志也没有异常,感觉上unix根本没有执行sybase这个文件一样???
作者: unix007    时间: 2006-07-10 11:36
autodump是可执行的吗?
作者: nike90360    时间: 2006-07-10 13:19
一般用root做自动执行软件 如果要使用其它用户的话好像要把这个用户登陆吧?
作者: zmg020    时间: 2006-07-10 16:12
我在 /etc/rc2.d目录已加建好相应的文件了, 并启动RUN_SYBASE服务了。 如果我手动一条一条执行autodump文件,可以成功。所以小弟实在搞不明白是咱回事了.......头大的问题
作者: zmg020    时间: 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.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2