MLUG: RE: [MLUG] backup via cron
RE: [MLUG] backup via cron
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nope just did a locate and I only have one copy of mkisofs. 

> -----Original Message-----
> From: EMAIL:PROTECTED 
> [mailto:EMAIL:PROTECTED] On Behalf Of 
> Stephen Montgomery-Smith
> Sent: Friday, February 03, 2006 12:08 AM
> To: MLUG Members
> Subject: Re: [MLUG] backup via cron
> 
> My guess is that you have two copies of mkisofs that are different.
> 
> 
> 
> Daniel Nowlin wrote:
> > I tried with and without the BASH bang and paths.  I have the job 
> > running as root.  It will not even run when I run it with 
> ./ as root.
> > Here is the error I get:
> > 
> > [EMAIL:PROTECTED bash]# ./files_bkup
> > WARNING: /dev/dvd already carries isofs!
> > | builtin_dd of=/dev/dvd obs=32k seek=0'files
> > INFO:ingUTF-8 character encoding detected by locale settings.
> >        Assuming UTF-8 encoded filenames on source filesystem,
> >        use -input-charset to override.
> > mkisofs: No such file or directory. Invalid node - 
> /var/ftp/files :-( 
> > write failed: Input/output error
> > 
> > It ran just fine in the past but my DVD drive bit the dust 
> and I think 
> > before I got it replaced DVDTools was updated.
> > 
> > Dan
> > 
> > Russell Horn wrote:
> > 
> >> On Thu, 2006-02-02 at 05:21 -0600, Nowlin, Dan wrote:
> >>  
> >>
> >>> Can anybody tell me why these two commands will work in 
> BASH but not 
> >>> in a script?
> >>>  
> >>> dvd+rw-format -f /dev/dvd
> >>> growisofs -Z /dev/dvd -J -R /var/ftp/files
> >>>     
> >>
> >>
> >> Are you using the full path to them in your script, and 
> are you using 
> >> bash as the shell the script is running under?
> >>
> >> It may be the user the cron job is running as doesn't have these 
> >> programs in their path.
> >>
> >> make sure
> >>
> >> #!/bin/bash
> >>
> >> is the first line of your script and try using the full 
> path to your 
> >> executables.
> >>
> >> Russell.
> >>
> >>
> >> _______________________________________________
> >> members mailing list
> >> EMAIL:PROTECTED
> >> http://mlug.missouri.edu/mailman/listinfo/members
> >>   
> > 
> > 
> > _______________________________________________
> > members mailing list
> > EMAIL:PROTECTED
> > http://mlug.missouri.edu/mailman/listinfo/members
> > 
> > 
> 
> 
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
> 

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members