[Samba] tdb_expand overflow detected
Dan Langille
dan at langille.org
Thu Nov 21 01:11:33 UTC 2024
On Wed, Nov 20, 2024, at 6:31 PM, Douglas Bagnall wrote:
> On 20/11/24 11:55, Dan Langille wrote:
>
>> Hope that helps.
>
> Not much unfortunately.
>
> Running this:
>
> net cache list
>
> will tell you what the cache thinks it contains. If it is filled with
> real things, it could indicate where they're coming from. If it fails or
> shows a cache full of nonsense, well that is also interesting.
That is 161 lines of expired stuff.
[1:04 tm dvl ~] % sudo net cache list | grep -x expired
[1:06 tm dvl ~] %
I've saved the list should anyone be interested.
>> The original messages are long scrolled off the rotated files. However, I just restarted samba:
>
> With this restart, you didn't remove the cache file? That might be the
> next step if `net cache list` doesn't help.
Well, I'm going to do it anyway.
[1:06 tm dvl ~] % sudo service samba_server stop
Stopping smbd.
Waiting for PIDS: 35379, 35379.
Stopping nmbd.
Waiting for PIDS: 35374.
[1:09 tm dvl ~] % sudo mv /var/db/samba4/gencache.tdb ~/tmp
[1:09 tm dvl ~] % sudo service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
[1:09 tm dvl ~] %
The messages did not immediately recur. I waited about two minutes. I'll report back tomorrow if they appear overnight.
Thank you for your time.
--
Dan Langille
dan at langille.org
More information about the samba
mailing list