1826160 Members
4575 Online
109691 Solutions
New Discussion

samba 2.2.2

 
Joyce Mazur
Occasional Contributor

samba 2.2.2

I just installed the binaries for subject
software. I connect to my shares just fine
but when I run smbstatus (even at root level)
I get connections.tdb not initialized.

I was previously running 2.0.7 with no problems. Any suggestions would be appreciated.

Thanks
Joyce Mazur
USACECOM SMC
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: samba 2.2.2

Does the connections.tdb file exist? Also, is samba running as root?

live free or die
harry
Live Free or Die
Joyce Mazur
Occasional Contributor

Re: samba 2.2.2

Harry,
Samba is running,well I can print and
file share. Can't find the connections.tdb
file. This was a binary package, although not
depoted, from samba.org.

I am running HP-UX 10.20.

Joyce


harry d brown jr
Honored Contributor

Re: samba 2.2.2

It should be somewhere like this:

/usr/local/samba/var/locks/connections.tdb


live free or die
harry
Live Free or Die
Joyce Mazur
Occasional Contributor

Re: samba 2.2.2

Harry,
File does not exist. Apears it was
not a part of the binary download.

Thanks

Joyce
Mike Hassell
Respected Contributor

Re: samba 2.2.2

Joyce,

The connections.tdb file keeps track of connected users and other stats that 'smbstatus' uses as it's source. This file shoulid be created when your samba daemons startup (smbd/nmbd). There have been problems with previous releases of samba where this file will become very large on HP-UX, but I haven't seen your particular problem before.

I would recommend shutting down your samba daemons and making a configuration change to smb.conf like the following:

[global]
log level = 3

This will log additional information to your default samba logs to help you troubleshoot the problem. I imagine that when using this level of logging that it would state why it had problems creating this file during startup. Also make sure the directory itself is created, which I think on HP-UX is:

/usr/local/samba/var/locks

Also checkout the docs on smb.conf and see what else may be preventing you from creating this file, the following discusses log levels:

http://us6.samba.org/samba/docs/man/smb.conf.5.html#LOGLEVEL

Hope that helps.

-Mike
The network is the computer, yeah I stole it from Sun, so what?
Joyce Mazur
Occasional Contributor

Re: samba 2.2.2

Hi Harry,

Checked the logging level, was already
at 3. This is my test maching.

Logs showed no evidence of complaining
about connections.tdb.

Never had a problem with any of the
previous releases. Glad I didn't apply
the upgrade to all of my systems.

Really appreciate your help.

Thanks
Joyce
Isis Helpdesk
New Member

Re: samba 2.2.2

Hi Joyce,

The same message was my deal as well when I tried to install Samba 2.2.2 on a 10.20 machine (on 11.11: no problem). When I checked the included README.hpux file(in /opt/samba), I noticed that some /var/opt/... directories had been used at compile time (in CFLAGS) that were missing on our system. After creating them manually (and moving directory "using_samba" to /opt/samba/doc), everything was fine. Maybe this helps you out as well.

H.T.H.
Kevin Wright
Honored Contributor

Re: samba 2.2.2

I had the same problem on 10.20 before. Just creating the /var/opt/samba/locks dir fixed the problem.