[Samba] 302rc1 and AIX 5.2
William Jojo
jojowil at hvcc.edu
Thu Jan 29 17:40:18 GMT 2004
I'm getting some wierd things going on. Mostly segfaults with testparm,
but others as well...
AIX 5.2, IBM C compiler version 6.0, libiconv 1.9.1 compiled in shared
mode.
I've resolved the LIBPATH thing so I can compile correctly now.
When I start nmbd, or smbd with the -D option they just chew up a ton of
cpu and log level 10 only shows the code pages being mapped and that's it.
I can't seem to connect with a truss. Niether of them disassociate from
the calling term and daemon-ize. Sometimes I can't control-C - I have to
kill them outright.
This is really strange...I've never seen it behave this way.
When I do a make, sometimes it says I have to run config.status. I tried
libiconv as shared and as static, no change. I've compiled libiconv
standard and with -D_ALL_SOURCE. libiconv.a was smaller, but no change in
behavior.
I've compiled SAMBA with the default of _LINUX_SOURCE_COMPAT and with it
removed. I've also added _ALL_SOURCE to the _LINUX_SOURCE_COMPAT option
and all it did was change the size of my executables. Same symptoms...
The testparm command with no options segfaults at the [global] stanza.
with -v it gets to [homes] and then dies.
nmbd seems to stop its log level here:
[2004/01/29 12:35:00, 5] lib/iconv.c:smb_register_charset(95)
Attempting to register new charset ISO-8859-1
[2004/01/29 12:35:00, 5] lib/iconv.c:smb_register_charset(103)
Registered charset ISO-8859-1
[2004/01/29 12:35:00, 5] lib/iconv.c:smb_register_charset(95)
Attempting to register new charset UCS2-HEX
[2004/01/29 12:35:00, 5] lib/iconv.c:smb_register_charset(103)
Registered charset UCS2-HEX
[2004/01/29 12:35:00, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO8859-1' for LOCALE
and then just consumes CPU and never daemon-izes.
smbd does exactly the same thing at the same point.
Regards,
Bill
More information about the samba
mailing list