[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

SAMBA migration issue



Guys ...


Been racking my brains out past 3 days till now.
Here's the background:

I have migrated my Old Samba (rhel4) server to the New Samba (rhel5)
server.
Rsynced the data across. NO issue.
New Server, using Old server's smb.conf, smbpasswd, as well as ported over
passwd, group, shadow files.
Hostname , IP, etc has been changed to Old server's settings before SMB
service is started.
Apparently, it works, BUT the access to it, is slow, latency can be felt.
And thru the logs, i initially do see "tdb errors"


[2010/07/15 11:52:02, 2] lib/util_tdb.c:tdb_log(664)
  tdb(unnamed): tdb_open_ex: could not open file
/var/cache/samba/registry.tdb: No such file or directory
[2010/07/15 11:52:02, 2] lib/util_tdb.c:tdb_log(664)
  tdb(unnamed): tdb_open_ex: could not open file
/var/cache/samba/account_policy.tdb: No such file or directory
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password
length), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon
to change password), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password
age), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password
age), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
duration), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
minutes), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
attempt), returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time),
returning 0
[2010/07/15 11:52:02, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine
password change), returning 0

Individual log files can be seen with alot of the following:
yield_connection: tdb_delete for name "example: SHAREFOLDER NAME" failed
with error Record does not exist.


Till now those errors are not reflected, but still slow and latency felt.
Not sure, it's anything to do with the TDB files? What will happen if i
chose to stop the SMB service, and remove the TDB files to let it regenerate
a new set?

Any advice is really really appreciated, and thanks in advance =)




With Regards,
re\/non


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]