Issues in compiling samba-3.5.4 from source

Abhinav Gupta3 abgupta7 at in.ibm.com
Thu Aug 19 04:41:11 MDT 2010


I was able to start smb services using smbd -D and nmbd -D, but almost all 
the binaries are giving errors. I'm not sure which libraries/modules have 
not been installed by "make install" and "make installbin"

lf9:/usr/local/samba/lib# smbtree
Enter root's password:
Broken pipe

lf9:/usr/local/samba/lib# smbget
params.c:OpenConfFile() - Unable to open configuration file 
"/root/.smb/smb.conf":
        No such file or directory
params.c:OpenConfFile() - Unable to open configuration file 
"/root/.smb/smb.conf.append":
        No such file or directory
Downloaded 0b in 0 seconds



Regards,
------------------------------------------
Abhinav Gupta
Senior Systems Engineer - Linux, Unix, AIX, IT Security
DST India, GBS GD - AS
Email: abgupta7 at in.ibm.com
Hello: 91-080-41954174



From:
Volker Lendecke <Volker.Lendecke at SerNet.DE>
To:
Abhinav Gupta3/India/IBM at IBMIN
Cc:
samba-technical at samba.org
Date:
19/08/2010 15:58
Subject:
Re: Issues in compiling samba-3.5.4 from source



On Thu, Aug 19, 2010 at 03:48:15PM +0530, Abhinav Gupta3 wrote:
> Sorry for missing out on the CC list.
> 
> After copying the modules to /usr/lib and replacing the samba binaries 
in 
> /usr/sbin with the new ones, I get the following -
> 
> lf9:/usr/local/sbin# smbstatus -V
> Version 3.5.4
> lf9:/usr/local/sbin# smbcontrol smbd start
> Can't find pid for destination 'smbd'
> lf9:/usr/local/sbin# smbcontrol /usr/local/sbin/smbd start
> Can't find pid for destination '/usr/local/sbin/smbd'
> lf9:/usr/local/sbin# ls
> nmbd*      smbd*      swat*      winbindd*

smbcontrol is for controlling already running processes. You
need to start smbd with

/usr/local/sbin/smbd -D

or add it to your AIX initialization procedure. The latter
is pretty AIX specific, so I can't be of much help there.

Volker




More information about the samba-technical mailing list