Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Trouble installing Samba 6.5.8 : (5 Items)
   
Trouble installing Samba 6.5.8  
Hi, 
 I'm trying to install Samba 6.5.8 on a QNX box running version 6.5.0 and is's an x86 system. I've been able to get a 
partial build but after doing some extra work. In the process of the install I've had to manually install pthreads, cups
, libmcrpt, and libiconv packages. Now the samba server will run but cannot be connected to. Turning on some debug and 
checking the log files I got the following messages:

[2011/04/27 13:03:33.141910,  0] printing/pcap.c:178(pcap_cache_reload)
  Unable to open printcap file /etc/printcap for read!
[2011/04/27 13:03:33.141910,  0] printing/pcap.c:178(pcap_cache_reload)
  Unable to open printcap file /etc/printcap for read!
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 1 (min password length), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 2 (password history), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to change password), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 4 (maximum password age), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 5 (minimum password age), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 6 (lockout duration), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 7 (reset count minutes), returning 0
[2011/04/27 13:03:35.573538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout attempt), returning 0
[2011/04/27 13:03:35.574538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect time), returning 0
[2011/04/27 13:03:35.574538,  1] lib/account_pol.c:325(account_policy_get)
  account_policy_get: tdb_fetch_uint32 failed for type 10 (refuse machine password change), returning 0
[2011/04/27 13:03:45.312048,  0] lib/util_sock.c:844(open_socket_in)
  open_socket_in(): socket() call failed: Address family not supported by protocol family
[2011/04/27 13:03:45.361041,  0] smbd/server.c:500(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address family not supported by protocol family
[2011/04/27 13:03:45.361041,  0] lib/util_sock.c:844(open_socket_in)
  open_socket_in(): socket() call failed: Address family not supported by protocol family
[2011/04/27 13:03:45.361041,  0] smbd/server.c:500(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address family not supported by protocol family

I'm not worried about the pcap messages, the socket issues is really the big issue. Has anyone else run into this 
problem and have a fix? 
Also during the configuration an error involving -lpthreads was thrown. Has this happed to anyone else and is there a 
fix?
Re: Trouble installing Samba 6.5.8  
Make sure io-pkt is running.

Regards,

-seanb

On Thu, Apr 28, 2011 at 09:20:22AM -0400, Dan Fenton wrote:
> Hi, 
>  I'm trying to install Samba 6.5.8 on a QNX box running version 6.5.0
> and is's an x86 system. I've been able to get a partial build but after
> doing some extra work. In the process of the install I've had to
> manually install pthreads, cups, libmcrpt, and libiconv packages. Now
> the samba server will run but cannot be connected to. Turning on some
> debug and checking the log files I got the following messages:
> 
> [2011/04/27 13:03:33.141910,  0] printing/pcap.c:178(pcap_cache_reload)
>   Unable to open printcap file /etc/printcap for read!
> [2011/04/27 13:03:33.141910,  0] printing/pcap.c:178(pcap_cache_reload)
>   Unable to open printcap file /etc/printcap for read!
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 1 (min password
> length), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 2 (password
> history), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 3 (user must
> logon to change password), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 4 (maximum
> password age), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 5 (minimum
> password age), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 6 (lockout
> duration), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 7 (reset count
> minutes), returning 0
> [2011/04/27 13:03:35.573538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout
> attempt), returning 0
> [2011/04/27 13:03:35.574538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect
> time), returning 0
> [2011/04/27 13:03:35.574538,  1]
> lib/account_pol.c:325(account_policy_get)
>   account_policy_get: tdb_fetch_uint32 failed for type 10 (refuse
> machine password change), returning 0
> [2011/04/27 13:03:45.312048,  0] lib/util_sock.c:844(open_socket_in)
>   open_socket_in(): socket() call failed: Address family not supported
> by protocol family
> [2011/04/27 13:03:45.361041,  0] smbd/server.c:500(smbd_open_one_socket)
>   smbd_open_once_socket: open_socket_in: Address family not supported by
> protocol family
> [2011/04/27 13:03:45.361041,  0] lib/util_sock.c:844(open_socket_in)
>   open_socket_in(): socket() call failed: Address family not supported
> by protocol family
> [2011/04/27 13:03:45.361041,  0] smbd/server.c:500(smbd_open_one_socket)
>   smbd_open_once_socket: open_socket_in: Address family not supported by
> protocol family
> 
> I'm not worried about the pcap messages, the socket issues is really the
> big issue. Has anyone else run into this problem and have a fix? 
> Also during the configuration an error involving -lpthreads was thrown.
> Has this happed to anyone else and is there a fix?
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85290
> 
Re: Trouble installing Samba 6.5.8  
Wound up just starting form the beginning and re-configuring, re-compiling, re-making, and re-make install and got it to
 run and allow users to connect. Now my problem is when more than one user connects at a time Samba seems to lock up. 
Checking the log files for the machines that were connected gave the following debug message:

smbd/connection.c:claim_connection(208)
claim_connection: tdb_store failed with error Corrupt database.

do i need separate lock files for each share?

can anyone shed some light on this? And I should add again that there was a problem with -lpthreads so in the make 
process the Makefile was edited to not use -lpthreads

Re: Trouble installing Samba 6.5.8  
On Thu, Apr 28, 2011 at 02:56:49PM -0400, Dan Fenton wrote:
> Wound up just starting form the beginning and re-configuring,
> re-compiling, re-making, and re-make install and got it to run and allow
> users to connect. Now my problem is when more than one user connects at
> a time Samba seems to lock up. Checking the log files for the machines
> that were connected gave the following debug message:
> 
> smbd/connection.c:claim_connection(208)
> claim_connection: tdb_store failed with error Corrupt database.
> 
> do i need separate lock files for each share?

Try commenting out 'HAVE_MMAP' in your config.h after
configure but before make.

> 
> can anyone shed some light on this? And I should add again that there
> was a problem with -lpthreads so in the make process the Makefile was
> edited to not use -lpthreads

That shouldn't be a problem.

Regards,

-seanb
Re: Trouble installing Samba 6.5.8  
Disregard my last post. I'm still having the same issue as stated in my original post.


-Dan