Hi, I am using this script to take the cvs backup regularly on daily basis from the cvs server This script is configured through cron to run at 2 AM and the logs are directed to a seperate file in var/log .
The problem is everyday the script is unable to stop xinetd. I the log file it says : Stopping xinetd [FAILED] There is no error when the script tries to start xinetd towrads the end of the script. xinetd is always on ( running ) before the script is being executed as the users are able to access the server. When I stop xinetd by using the same command in the script there is no problem. Please tell me what can be the reason for the script to being able to stop xinetd ? ----------------------------------- #!/bin/sh /etc/rc.d/init.d/xinetd stop rm -f /usr/cvsbkup.tar.gz cd /home tar -czvf /usr/cvsbkup.tar.gz cvs /etc/rc.d/init.d/xinetd start mount -t smbfs -o username=Administrator,password=xxxxxx //ntserver/cvsbkup /NTcvsbkup -rw cp /usr/cvsbkup.tar.gz /NTcvsbkup/. umount /NTcvsbkup ------------------------------------------------ Warm Regards, Kumar ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
