[torquedev] Latest snapshot won't start - "unable to read tracksize from tracking file"

Chris Samuel csamuel at vpac.org
Thu Jan 12 22:42:36 MST 2006

Hi folks,

Just tried the latest snapshot, torque-2.0.0p6-snap.1137121187, and found that
it will no longer start, I get the error:

PBS_Server: No such file or directory (2) in pbs_init, unable to read tracksize from tracking file
PBS_Server: PBS_Server, pbsd_init failed

Using strace I see that it's trying to open /usr/spool/PBS/server_priv/tracking
which was empty, so I rm'd it in case it needed to create it itself and restarted
PBS but found that it failed with the same error after recreating that file. :-(

Looking at the code that is involved in pbsd_init.c it seems that the file is
opened with O_CREAT but there are no checks for it existing prior to this
and so it is never initialised to the size that pbs_server seems to be

My guess would be that you'd want to drop the O_CREAT and if that open
fails then create it with the correct size ?

This is on Fedora Core 3 on IA32, very vanilla..

 Christopher Samuel - (03)9925 4751 - VPAC Deputy Systems Manager
 Victorian Partnership for Advanced Computing http://www.vpac.org/
 Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20060113/2576f2f8/attachment.bin

More information about the torquedev mailing list