Index: [Article Count Order] [Thread]

Date:  Tue, 25 Aug 2009 03:21:34 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:15922] Re: Unable to create new records for DNS, users, etc.
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200908250321.34962.bq (at mark) solarspeed.net>
In-Reply-To:  <op.uy606bp03mvmur@behemoth>
References:  <op.uy6w64jn3mvmur (at mark) presto.technologynorth.net> <200908250230.52507.bq (at mark) solarspeed.net> <op.uy606bp03mvmur (at mark) behemoth>
X-Mail-Count: 15922

Hi J.D.,

> You're right - that's certainly not the news we wanted to hear!

Yeah, I can imagine.

> Unfortunately our backup might not be in the best of shape.  It should
> have backed up early this morning, but for some reason
> the codb.oids and db.classes files are not present in the backup... I
> think that it was because of the permissions on them (600 root:root)

Yeah, that's the default ownership and permissions for them:

[root@cbq web]# ls -la /usr/sausalito/codb/
total 68
drwxr-xr-x   4 root root  4096 Aug  7 10:14 .
drwxr-xr-x  27 root root  4096 Aug 25 03:15 ..
-rw-------   1 root root    13 Aug 25 03:00 codb.oids
-rw-------   1 root root 40960 Aug 25 03:00 db.classes
drwx------ 582 root root 12288 Aug 25 03:00 objects
drwxr-xr-x   2 root root  4096 Aug 25 03:15 txn

> my codb.oids looks like:
> 1-2650,2653-2732,2742-2819,2825-2829,2831-2837,2839-2850,2855-2870,2876-289
>7,2903-3116,3122-3129,3131-3162,3164-3215,3221-3377,3380-3414,3420-3500,3502
>-3581,3583-3800,3815-3820 Which seems a little longer than is typical... 

That's a bit cluttered, but not all that unusual. Typically there aren't so 
many "gaps" in between the Object IDs, but on a long running server with 
plenty of DNS records, too, this can happen.

> I'll have a go at restoring from backups and see how bad it ends up :(

Indeed. Best of luck to you and lets hope all goes well!

-- 
With best regards,

Michael Stauber