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]
WHat is the name of your script?

If you do
ls -ld the_script
what does that do for you?  Also do

ls -ld `which mkisofs`

ls -ld /var

ls -ld /var/ftp

Stephen Montgomery-Smith wrote:
Nowlin, Dan wrote:

check the update and none is available. Not too good at compiling.


I don't think it is an issue. I found the source for growisofs 5.21, and the bug that Dan hinted might be present isn't there. If it isn't going to work because it is non-interactive, it has to write the message "FATAL" not "WARNING".

I am getting the feeling that the issue is with mkisofs. Somehow it is not able to see /var/ftp/files.

WHat if you write a script containing

ls -ld /var/ftp/files

and run that? I already saw what happened when you run that command not as a script.

Also, locate only finds stuff that was put into its database. Is there a file called mkisofs in /root or /root/bin?

Also, did you try the

export MKISOFS=/usr/bin/mkisofs
growisofs ......
command sequence?




-----Original Message-----
From: EMAIL:PROTECTED [mailto:EMAIL:PROTECTED] On Behalf Of Stephen Montgomery-Smith
Sent: Friday, February 03, 2006 1:11 AM
To: MLUG Members
Subject: Re: [MLUG] backup via cron


I have growisofs version 6.0.  Any chance you could upgrade?



Nowlin, Dan wrote:

#mkisofs -version
mkisofs 2.01

#growisofs --version
* growisofs by <EMAIL:PROTECTED>, version 5.21,
 front-ending to mkisofs: mkisofs 2.01 (i686-pc-linux-gnu)




-----Original Message-----
From: EMAIL:PROTECTED [mailto:EMAIL:PROTECTED] On Behalf Of Stephen Montgomery-Smith
Sent: Friday, February 03, 2006 12:57 AM
To: MLUG Members
Subject: Re: [MLUG] backup via cron


Mark Rages wrote:


On 2/3/06, Stephen Montgomery-Smith


<EMAIL:PROTECTED> wrote:


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!
?



from the man page I quoted earlier:


If the media already carries isofs and growisofs


is invoked with -Z


option non-interactively, e.g. through cron, it


shall  fail  with


"FATAL: /dev/dvd already carries isofs!" Note


that only ISO9660 is


recognized, you can perfectly zap e.g. an UDF


filesystem  non-interac-


     tively.

This explains why it works directly from the shell, and


fails in the


script. growisofs senses it's being run from a script and changes


from WARNING to FATAL. (I'm guessing there's a bug and it prints


WARNING in the error message, but aborts anyway.)


That would make sense.

What does

mkisofs -version

or

mkisofs --version

do?








Regards,
Mark
EMAIL:PROTECTED
--
You think that it is a secret, but it never has been one.
- fortune cookie

_______________________________________________
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




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