[sclug] Mpack failing with execv error

Tim Sutton suttont at onetel.net.uk
Sat Oct 25 09:05:52 UTC 2003


Hi all

Does anyone know of an alternative program to mpack?
I use mpack in a cron job to send myself some backup files each night. 
Recently I upgraded some things on my machine and now mpack fails with:


-bash-2.05b$ mpack -s "Test" testfile.tar.bz2  some at address.com
execv: No such file or directory

(The test.tar.bz2 file does exist)

I ran an strace on the above command and it shows that it is a temporary file 
which is not there not the original file:


munmap(0x40024000, 4096)                = 0
open("/root/tmp/mpackow0Jru", O_RDONLY) = 4
fork()                                  = 24355
execv: No such file or directory
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 24355
close(4)                                = 0
unlink("/root/tmp/mpackow0Jru")         = 0
open("/root/tmp/mpackow0Jru.01", O_RDONLY) = -1 ENOENT (No such file or 
directory)
munmap(0x40014000, 4096)                = 0
exit_group(0)                           = ?


Does anyone have any ideas on how to fix this? Running MDK9.1.

Regards Tim
-- 
Get my public keys from:

http://tim.suttonfamily.co.uk/modules.php?name=Content&pa=showpage&pid=2




More information about the Sclug mailing list