[Samba] Directly replace smb.

yyq at eisoo.com yyq at eisoo.com
Mon Aug 15 20:06:04 MDT 2011

     I have a redhat linux of 2.6.24 kernel(x86_64), which smb is 3.0, I 
want to upgrade it, but the system doesn't have gcc development and no 
rpm, that means I can't upgrade the smb on this machine.So I compile the 
new samba on other machine and copy necessary files and replace them on 
my target machine and checked:

smbd -V
nmbd -V
winbind -V

are all the right version, but I can't start the service: service smb 
start and etc. are all failed. what's wrong with my method?

My smb configure as below:

    SBINDIR: /usr/sbin
    BINDIR: /usr/bin
    SWATDIR: /etc/swat
    CONFIGFILE: /etc/samba/smb.conf
    LOGFILEBASE: /var/samba
    LMHOSTSFILE: /etc/samba/lmhosts
    LIBDIR: /usr/lib
    MODULESDIR: /usr/lib
    SHLIBEXT: so
    LOCKDIR: /usr/var/locks
    STATEDIR: /usr/var/locks
    CACHEDIR: /usr/var/locks
    PIDDIR: /usr/var/locks
    SMB_PASSWD_FILE: /usr/private/smbpasswd
    PRIVATE_DIR: /usr/private

More information about the samba mailing list