[Samba] Samba 3.2.1 not detecting interface in Solaris 10 x86

Jake Carroll jake.carroll at uq.edu.au
Sat Oct 4 20:51:41 GMT 2008


Jerry,

Thanks for the feedback. In this instance, what specific log would you  
like to see? Would you like me to turn samba log verbosity up? As for  
compiling myself, no, I was given this binary set by a friend who is,  
in theory at least, running on identical hardware and an identical  
environmental setup.

I'll dump some verbose logging here:

[2008/10/05 06:26:40,  3, pid=4414] param/loadparm.c:(8777)
   lp_load_ex: refreshing parameters
Initialising global parameters
[2008/10/05 06:26:40,  3] param/params.c:(569)
   params.c:pm_process() - Processing configuration file "/etc/samba/ 
smb.conf"
[2008/10/05 06:26:40,  3] param/loadparm.c:(7441)
   Processing section "[global]"
   doing parameter use sendfile = yes
   doing parameter interfaces = lo0 nge1

[2008/10/05 06:26:40,  4, pid=4414] param/loadparm.c:(8821)
   pm_process() returned Yes
[2008/10/05 06:26:40,  3, pid=4414] param/loadparm.c:(5929)
   adding IPC service
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  5, pid=4414] lib/charcnv.c:(81)
   Substituting charset '646' for LOCALE
[2008/10/05 06:26:40,  3, pid=4414] printing/pcap.c:(116)
   reloading printcap cache

[2008/10/05 06:26:40,  3, pid=4414] lib/util_sock.c:(122)
   interpret_string_addr_internal: getaddrinfo failed for name lo0  
[Unknown host]
[2008/10/05 06:26:40,  2, pid=4414] lib/interface.c:(383)
   interpret_interface: Can't find address for lo0
[2008/10/05 06:26:40,  3, pid=4414] lib/util_sock.c:(122)
   interpret_string_addr_internal: getaddrinfo failed for name nge1  
[Unknown host]
[2008/10/05 06:26:40,  2, pid=4414] lib/interface.c:(383)
   interpret_interface: Can't find address for nge1
[2008/10/05 06:26:40,  3, pid=4414] lib/util_sock.c:(122)
   WARNING: no network interfaces found
[2008/10/05 06:26:40,  5, pid=4414] lib/util.c:(274)

There is where things become odd I guess. It says that the interface  
is there, but why can it not find an address? The interface is clearly  
there, and up!

#ifconfig nge1
nge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500  
index 5
	inet 192.168.117.141 netmask ffffff80 broadcast 192.168.117.255
	groupname ipmp1
	ether 0:14:4f:4a:1:81

Thanks!

Additionally, if I want to compile for Solaris 10 x86 myself,  
including *all* auth methods (ADS, LDAP, krb etc), is there a good  
starting point/tutorial you could point me towards? I'd very much like  
to try compiling myself, but I am having problems finding a good,  
reliable tutorial or how-to in this respect. They all seem to offer  
small snippets of information, but not the whole picture, and  
moreover, not a correct one!

JC





On Oct 5, 2008, at 3:06 AM, Gerald (Jerry) Carter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jake Carroll wrote:
>> Hi Remy,
>>
>> Thanks for the reply. This was just a trivial example, but yes - I  
>> have
>> it set up as nge1, as it stands, as this is the particular  
>> interface I
>> use for filesharing tasks.
>>
>> I've also tried specifying an IP address and mask with the  
>> interfaces =
>> directive, to no avail.
>>
>> Any extra thoughts?
>>
>> Thanks for your time.
>
> We really need to see why the interface detection failed.
> Did you compile yourself?  If so, check config.log and see
> why the interface detection tests failed.  Also I would recommend
> testing 3.2.4 and see if the problem was resolved in a later
> release (although I don't remember any specific bug fix to
> point at).
>
>
>
>
> cheers, jerry
>
> - --
> =====================================================================
> Samba                                    ------- http://www.samba.org
> Likewise Software          ---------  http://www.likewisesoftware.com
> "What man is a man who does not make the world better?"      --Balian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFI56KyIR7qMdg1EfYRAtnzAKDc81oirfXeYimcGQfmcr4yodNQHgCgq96a
> h989z4wT3N9tYwlf1FcZEGA=
> =8mrX
> -----END PGP SIGNATURE-----



More information about the samba mailing list