Hi, the problem seems to be solved by creating /usr/var and /var/samba, that need more tests.

Thanks for replying guys.

于 2011-8-16 11:12, [email protected] 写道:
Actually, the target machine run on a DOM(Disk On Module), and its capacity is limited, so unnecessary module are all stripped, so I can't use the yum and rpm and etc.


于 2011-8-16 10:41, Christopher M. Bailey 写道:
----- Original Message -----
From: [email protected]
Sent: Tue, 8/16/2011 12:06pm
To: [email protected]
Subject: [Samba] Directly replace smb. [Scanned]

Hi,all,
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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

What was wrong with using yum to install gcc and the other software you require before compiling the tar ball directly on the system you want to install on?

Cheers,
Chris





--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to