Bug 10314 - Registry version error after downgrading to 3.6
Summary: Registry version error after downgrading to 3.6
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 17:56 UTC by dennis.ordiway
Modified: 2017-01-03 10:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dennis.ordiway 2013-12-10 17:56:52 UTC
Installed sernet samba 4, then settled on 3.6 on RHEL 6.4.  When I do "service smb start", RHEL indicates "OK", but the process fails immediately, not showing up in "ps -aef | grep smb".  A "service smb restart", returns "FAILED" for shutdown and "OK" for the start but still fails to start smb.  It leaves a /var/lock/smbd.pid and a /var/lock/subsys/smb  Deleting those files and restarting smb still fails while indicating "OK".  Increased log level to 10 in smb.conf.  Relevant error from /var/log/samba/log.smbd

[2013/12/10 04:41:30.406097,  1] registry/reg_backend_db.c:543(regdb_init)
  regdb_init: unknown registry version 3 (code version = 2), refusing initialization
[2013/12/10 04:41:30.406150,  0] registry/reg_init_basic.c:36(registry_init_common)
  Failed to initialize the registry: WERR_CAN_NOT_COMPLETE
[2013/12/10 04:41:30.406301, 10] registry/reg_backend_db.c:619(regdb_close)
  regdb_close: decrementing refcount (1->0)

Installed samba 3.6 on an identical server (these are nodes in an Oracle RAC cluster) without installing sernet or other versions, and that server does not have these problems.

Could be related to

https://bugzilla.samba.org/show_bug.cgi?id=8527
Comment 1 dennis.ordiway 2013-12-10 18:28:25 UTC
Also performed:

# net registry check
Failed to initialize the registry: WERR_CAN_NOT_COMPLETE
Comment 2 Volker Lendecke 2013-12-10 21:35:36 UTC
Samba supports transparent upgrades of data structures but not downgrades. Remove the registry.tdb and you should be fine.
Comment 3 Andreas Schneider 2017-01-03 10:23:21 UTC
Samba doesn't support downgrades of tdb files!