Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: "MLUG Members" <EMAIL:PROTECTED>
- Subject: RE: [MLUG] backup via cron
- From: "Nowlin, Dan" <EMAIL:PROTECTED>
- Date: Fri, 3 Feb 2006 00:42:01 -0600
- Delivery-date: Fri, 03 Feb 2006 00:42:08 -0600
- Envelope-to: EMAIL:PROTECTED
- Reply-to: MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
- Thread-index: AcYojDyn/m/G4Z0KR0a6SAC+SF6tFwAADnJQ
- Thread-topic: [MLUG] backup via cron
I do get the warning but the command goes ahead and runs with no
problems. When I try it in a script I get this:
mkisofs: No such file or directory. Invalid node - /var/ftp/files :-(
write failed: Input/output error
> -----Original Message-----
> From: EMAIL:PROTECTED
> [mailto:EMAIL:PROTECTED] On Behalf Of
> Stephen Montgomery-Smith
> Sent: Friday, February 03, 2006 12:36 AM
> To: MLUG Members
> Subject: Re: [MLUG] backup via cron
>
> So, when you type
> growisofs -Z /dev/dvd -J -R /var/ftp/files under su, not as a
> script, you don't get the message:
> WARNING: /dev/dvd already carries isofs!
> ?
>
>
>
> Nowlin, Dan wrote:
> > 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
> >
> >
> >
>
>
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
>
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members