[Samba] Error Starting Samba

Andre Kruger Andre.Kruger at TRW.COM
Mon Aug 25 04:00:53 MDT 2014

Is there anybody out there that can help me troubleshoot this problem?

The short of it is I installed Samba from source on openindiana. Everything completed successfully.

make install

When I start Samba I get the following error:

ld.so.1: smbd: fatal: libiconv.so.2: open failed: No such file or directory
ld.so.1: smbd: fatal: relocation error: file smbd: symbol DEBUGLEVEL_CLASS: referenced symbol not found Killed

Looks like it is complaining about not finding libiconv.so.2, but what provides this library and why did configure not complain about it?

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Andre Kruger
Sent: 21 August 2014 14:48
To: samba at lists.samba.org
Subject: [Samba] Error Starting Samba

I got a copy of the latest samba build from the samba site, v4.1.11. I compiled and installed it with the default options on OpenIndiana 151.1.8. I previously had samba installed from the openindiana repository but this stopped working after my windows folks made security changes to AD. I suspect the older version of samba in the repo 3.5.21- lacks certain functionality to enable it to successfully integrate with AD using winbind. Because no matter what I tried after the changes in AD I could no longer assign AD users and groups to my ZFS file system permissions and as a result seemless integration stopped working.

Now I am unable to get the new samba that I installed to start. I get the following error messages. Any ideas?:

==> /var/svc/log/network-samba4:default.log <== [ Aug 21 14:36:30 Enabled. ] [ Aug 21 14:36:30 Executing start method ("/usr/local/samba/sbin/samba --daemon"). ]
ld.so.1: samba: fatal: libiconv.so.2: open failed: No such file or directory
ld.so.1: samba: fatal: relocation error: file /usr/local/samba/sbin/samba: symbol DEBUGLEVEL_CLASS: referenced symbol not found [ Aug 21 14:36:30 Method "start" failed due to signal KILL. ]

==> /var/adm/messages <==
Aug 21 14:35:11 oi-desktop last message repeated 3 times Aug 21 14:36:30 oi-desktop svc.startd[10]: [ID 636263 daemon.warning] svc:/network/samba4:default: Method "/usr/local/samba/sbin/samba --daemon" failed due to signal KILL.
Aug 21 14:36:30 oi-desktop svc.startd[10]: [ID 748625 daemon.error] network/samba4:default failed: transitioned to maintenance (see 'svcs -xv' for details) Aug 21 14:36:31 oi-desktop fmd: [ID 377184 daemon.error] SUNW-MSG-ID: SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major Aug 21 14:36:31 oi-desktop EVENT-TIME: Thu Aug 21 14:36:31 SAST 2014 Aug 21 14:36:31 oi-desktop PLATFORM: VirtualBox, CSN: 0, HOSTNAME: oi-desktop Aug 21 14:36:31 oi-desktop SOURCE: software-diagnosis, REV: 0.1 Aug 21 14:36:31 oi-desktop EVENT-ID: 418ca667-8148-64f1-a57b-e8f50c374b09
Aug 21 14:36:31 oi-desktop DESC: A service failed - a method is failing in a retryable manner but too often.
Aug 21 14:36:31 oi-desktop   Refer to http://illumos.org/msg/SMF-8000-YX for more information.
Aug 21 14:36:31 oi-desktop AUTO-RESPONSE: The service has been placed into the maintenance state.
Aug 21 14:36:31 oi-desktop IMPACT: svc:/network/samba4:default is unavailable.
Aug 21 14:36:31 oi-desktop REC-ACTION: Run 'svcs -xv svc:/network/samba4:default' to determine the generic reason why the service failed, the location of any logfiles, and a list of other services impacted.
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list