Here is some more info:
strace on the working box contains this near the end:
chdir("/var/spool/atjobs") = 0
brk(0x8051000) = 0x8051000
time([1011914030]) = 1011914030
open("/etc/localtime", O_RDONLY) = 4
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\3\0"..., 44) = 44
read(4, "\236\246\36p\237\272\353`\240\206\0p\241\232\315`\242e"..., 1170) = 1170
read(4, "\377\377\307\300", 4) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1250, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(4, "\1\0\377\377\271\260\0\4\377\377\307\300\1\10EWT\0EST\0"..., 4096) = 32
close(4) = 0
Whereas the nonworking atd gives this with strace:
chdir("/var/spool/atjobs") = 0
SYS_174(0x1, 0, 0xbffffa68, 0x8, 0x1) = 0
SYS_174(0x1, 0xbffffae8, 0, 0x8, 0x1) = 0
SYS_174(0x11, 0, 0xbffffa50, 0x8, 0x11) = 0
SYS_174(0x11, 0xbffffaf4, 0, 0x8, 0x11) = 0
SYS_174(0xf, 0, 0xbffffa5c, 0x8, 0xf) = 0
SYS_174(0xf, 0xbffffadc, 0, 0x8, 0xf) = 0
SYS_174(0x2, 0, 0xbffffa68, 0x8, 0x2) = 0
SYS_174(0x2, 0xbffffae8, 0, 0x8, 0x2) = 0
close(0) = 0
close(1) = 0
close(2) = 0
open("/dev/null", O_RDWR) = 0
open("/dev/null", O_RDWR) = 1
open("/dev/null", O_RDWR) = 2
Any insight, as always, appreciated.
Joel
On Thu, Jan 24, 2002 at 10:11:24AM -0500, Joel Hammer wrote:
> As root.
> I have the same at.deny list on two different machines, but only one
> machine refuses to start atd.
>
> Joel
>
> On Thu, Jan 24, 2002 at 09:39:31AM -0500, Ian wrote:
> > Joel Hammer wrote:
> > >
> > > Can't link execution file: Permission denied
> > >
> > > Does anyone know why I am getting this error when I try to run atd?
> > >
> > > Thanks,
> > >
> > > Joel
> >
> > As a user or root?
> >
> > See /etc/at.deny * at.allow if as a user
> > --
> _______________________________________________
> Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
_______________________________________________
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.