On 20 Sep 2003 at 23:34, Aurangzeb M. Agha wrote: > I use the following command to report a SPAM item: > > | razor-report -d > > However, when I do this, I get the following error: > > Can't exec razor-report -d > Reason: No such file or directory
> I've made sure that I have the proper aliases set up in my .cshrc file: <SNIP> Why would you do it this way? Did you "make install" after razor was built? That should copy razor-client to /usr/bin and create symbolic links for the other required files. > FYI, One thing that IS interesting, is that I seem to have another > razor-client installed in /usr/bin -- don't know why: How 'bout because that's where it *should* be? :-) > Anyone know why I'm having this problem and what I have to do to fix it? I'm seeing the same problem with razor-report (and razor-revoke) generally, not from within pine. If I call "razor-report ./[filename]" I get this error: > Can't open [filename]: No such file or directory If I run "cat [filename] | razor-report" then everything works fine. That's really annoying when trying to process a whole directory full of spam-to-be-reported, though. I tried running "strace -f razor-report [filename]". The problem seems to occur immediately after razor-report is done reading in the information from "~/.razor/identity" when it changes to the root directory prior to opening the file: > chdir("/") = 0 > fork() = 14043 > [pid 14041] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > [pid 14041] rt_sigprocmask(SIG_BLOCK, NULL, <unfinished ...> > [pid 14043] getpid() = 14043 > [pid 14043] setsid() = 14043 > [pid 14043] brk(0x8441000) = 0x8441000 > [pid 14043] open("./spam-2003-09-19-11.01.57-001.eml", O_RDONLY) = -1 > ENOENT (No such file or directory) [pid 14043] > open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT > (No such file or directory) [pid 14043] > open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No > such file or directory) [pid 14043] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) > = 0 [pid 14043] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 [pid 14043] > gettimeofday({1064269498, 166462}, NULL) = 0 [pid 14043] > time([1064269498]) = 1064269498 [pid 14043] write(3, "Sep 22 > 16:24:58.166462 report[14"..., 136) = 136 [pid 14043] write(2, "Can\'t > open ./spam-2003-09-19-11."..., 73Can't open > ./spam-2003-09-19-11.01.57-001.eml: No such file or directory ) = 73 [pid > 14043] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 14043] > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 [pid 14043] brk(0x8442000) > = 0x8442000 [pid 14043] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 If I pass the filename prepended with the complete path, then it seems to work. Any ideas? ---- Nels Lindquist <*> Information Systems Manager Morningstar Air Express Inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users