[torqueusers] Permission denied
Garrick Staples
garrick at clusterresources.com
Thu Mar 8 14:46:28 MST 2007
On Thu, Mar 08, 2007 at 04:23:44PM -0500, michael young alleged:
> Hi,
> When I type 'tracejob -v 275' I get these 3 errors before the rest of
> the output.
>
> /var/spool/PBS//server_priv/accounting/20070308: Permission denied
> /var/spool/PBS//mom_logs/20070308: No such file or directory
> /var/spool/PBS//sched_logs/20070308: No such file or directory
>
>
> The output for 'ls -la /var/spool/PBS/' is:
>
>
> total 112
> drwxr-xr-x 12 root root 4096 Feb 2 2006 .
> drwxr-xr-x 19 root root 4096 Feb 3 2006 ..
> drwxr-xr-x 2 root root 4096 Dec 27 2005 aux
> drwx------ 2 root root 4096 Dec 27 2005 checkpoint
> drwxr-xr-x 2 root root 4096 Dec 29 2005 mom_logs
> drwxr-x--x 3 root root 4096 Feb 2 2006 mom_priv
> lrwxrwxrwx 1 root root 28 Feb 2 2006 pbs_environment ->
> /opt/pbs/etc/pbs_environment
> drwxr-xr-x 2 root root 4096 Dec 29 2005 sched_logs
> drwxr-x--- 2 root root 4096 Dec 27 2005 sched_priv
> drwxr-xr-x 2 root root 12288 Mar 8 00:00 server_logs
> lrwxrwxrwx 1 root root 24 Feb 2 2006 server_name ->
> /opt/pbs/etc/server_name
> drwxr-x--- 9 root root 4096 Nov 3 11:52 server_priv
> drwxrwxrwt 2 root root 4096 Dec 27 2005 spool
> drwxrwxrwt 2 root root 4096 Dec 27 2005 undelivered
>
>
> Any ideas as to why it wont create logs?
Since server_priv only allows root, you need to run tracejob as root.
mom_logs and sched_logs only get created if you run pbs_mom and
pbs_sched on that host.
More information about the torqueusers
mailing list