[Samba] Samba 3.0.2a problems on Solaris 8

Michael Keightley Michael.Keightley at quadstone.com
Thu Apr 22 14:20:24 GMT 2004


The problem is caused by me not setting CPPFLAGS when I compiled!
Compiled again and nmbd has linked in libiconv.

Michael
On Thu, Apr 22, 2004 at 12:27:19PM +0100, Michael Keightley wrote:
> On Thu, Apr 22, 2004 at 12:12:31PM +0100, ww m-pubsyssamba wrote:
> > Looks like you need to install libiconv, find the package on sunfreeware.com and ensure /usr/local/lib is added to your library search patch with "crle"
> 
> We do have libiconv in /usr/local/lib.
> Samba was compiled using these flags:
> 
>   CPPFLAGS="-I/usr/local/include" \
>   LDFLAGS="-L/usr/local/lib -R/usr/local/lib" \
>   ./configure --prefix=/home/samba_pearl
> 
> /home/samba_pearl/bin/profiles is the only binary that is linked against
> libiconv.
> 
> % ldd /home/samba_pearl/bin/profiles
>         libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
>         libsec.so.1 =>   /usr/lib/libsec.so.1
>         libgen.so.1 =>   /usr/lib/libgen.so.1
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libdl.so.1 =>    /usr/lib/libdl.so.1
>         libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libmp.so.2 =>    /usr/lib/libmp.so.2
>         /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
> 
> Michael
> > 
> > thanks Andy.
> > 
> > -----Original Message-----
> > From: samba-bounces+pubsyssamba=bbc.co.uk at lists.samba.org
> > [mailto:samba-bounces+pubsyssamba=bbc.co.uk at lists.samba.org]On Behalf Of
> > Michael Keightley
> > Posted At: 22 April 2004 11:04
> > Posted To: Samba
> > Conversation: [Samba] Samba 3.0.2a problems on Solaris 8
> > Subject: [Samba] Samba 3.0.2a problems on Solaris 8
> > 
> > 
> > 
> > Tried to upgrade our Samba 2.2.8a domain controller (Solaris 8) to Samba
> > 3.0.2a.  Compiled using gcc 3.3.2, linked to libiconv-1.8, popt-1.7 and
> > cups-1.1.20.
> > I shut down the Samba 2.2.8a.  Removed everything in var/locks.  Did a 
> > "make install" to install 3.0.2a, then restarted Samba.  My smb.conf is
> > basically the same as 2.2.8a with "domain admin group" removed.
> > When I stared 3.0.2a I got loads of errors in var/log.nmbd and var/log.smbd.
> > Nothing appeared to be working, couldn't map drives or anything, so I had to
> > quickly revert back to 2.2.8a.  
> > 
> > Does anyone have any idea what might be going wrong?
> > 
> > I've attached my smb.conf file.  
> > These are the errors that I was getting:
> > 
> > % cat /home/samba_pearl/var/log.nmbd
> > [2004/04/20 10:33:07, 0] nmbd/nmbd.c:main(664)
> >   Netbios nameserver version 3.0.2a started.
> >   Copyright Andrew Tridgell and the Samba Team 1994-2004
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UCS-2LE to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to UCS-2LE not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to 646 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to CP850 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to UTF8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from 646 to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from CP850 to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF8 to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UCS-2LE to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to UCS-2LE not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to 646 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to CP850 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF-8 to UTF8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from 646 to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from CP850 to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:init_iconv(134)
> >   Conversion from UTF8 to UTF-8 not supported
> > [2004/04/20 10:33:07, 0] nmbd/asyncdns.c:start_async_dns(150)
> >   started asyncdns process 21525
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/charcnv.c:convert_string_allocate(473)
> >   convert_string_allocate: Conversion not supported.
> > [2004/04/20 10:33:07, 0] lib/fault.c:fault_report(36)
> >   ===============================================================
> > [2004/04/20 10:33:07, 0] lib/fault.c:fault_report(37)
> >   INTERNAL ERROR: Signal 11 in pid 21524 (3.0.2a)
> >   Please read the appendix Bugs of the Samba HOWTO collection
> > [2004/04/20 10:33:07, 0] lib/fault.c:fault_report(39)
> >   ===============================================================
> > [2004/04/20 10:33:07, 0] lib/util.c:smb_panic(1400)
> >   PANIC: internal error
> > 
> > % ldd /home/samba_pearl/sbin/nmbd
> >         libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
> >         libsec.so.1 =>   /usr/lib/libsec.so.1
> >         libgen.so.1 =>   /usr/lib/libgen.so.1
> >         libresolv.so.2 =>        /usr/lib/libresolv.so.2
> >         libsocket.so.1 =>        /usr/lib/libsocket.so.1
> >         libnsl.so.1 =>   /usr/lib/libnsl.so.1
> >         libdl.so.1 =>    /usr/lib/libdl.so.1
> >         libpopt.so.0 =>  /usr/local/lib/libpopt.so.0
> >         libc.so.1 =>     /usr/lib/libc.so.1
> >         libmp.so.2 =>    /usr/lib/libmp.so.2
> >         /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
> > 
> > % ldd /home/samba_pearl/sbin/smbd
> >         libcups.so.2 =>  /usr/lib/libcups.so.2
> >         libsocket.so.1 =>        /usr/lib/libsocket.so.1
> >         libnsl.so.1 =>   /usr/lib/libnsl.so.1
> >         libsendfile.so.1 =>      /usr/lib/libsendfile.so.1
> >         libsec.so.1 =>   /usr/lib/libsec.so.1
> >         libgen.so.1 =>   /usr/lib/libgen.so.1
> >         libresolv.so.2 =>        /usr/lib/libresolv.so.2
> >         libdl.so.1 =>    /usr/lib/libdl.so.1
> >         libpopt.so.0 =>  /usr/local/lib/libpopt.so.0
> >         libc.so.1 =>     /usr/lib/libc.so.1
> >         libmp.so.2 =>    /usr/lib/libmp.so.2
> >         /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
> > 
> > -- 
> > Michael Keightley <Michael.Keightley at quadstone.com>    Tel: +44 131 240 3137
> > Systems Manager, Quadstone Limited,                    Fax: +44 131 220 4492
> > 16 Chester Street, Edinburgh EH3 7RA, Scotland         http://www.quadstone.com
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> > BBCi at http://www.bbc.co.uk/
> > 
> > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically
> > stated.
> > If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in
> > reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received.
> > Further communication will signify your consent to this.
> 
> -- 
> Michael Keightley <Michael.Keightley at quadstone.com>    Tel: +44 131 240 3137
> Systems Manager, Quadstone Limited,                    Fax: +44 131 220 4492
> 16 Chester Street, Edinburgh EH3 7RA, Scotland         http://www.quadstone.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Michael Keightley <Michael.Keightley at quadstone.com>    Tel: +44 131 240 3137
Systems Manager, Quadstone Limited,                    Fax: +44 131 220 4492
16 Chester Street, Edinburgh EH3 7RA, Scotland         http://www.quadstone.com


More information about the samba mailing list