Samba server installation ..
Posted by imdad on February 26, 2009
i have a normal linux installation (fedora 5). I was stuck trying to start the samba server after installing it (version: 3.3, installed from a tar ball).
Then after quite a research, this script worked:
export LD_LIBRARY_PATH=/usr/local/samba/lib killall -9 nmbd killall -9 smbd /usr/local/samba/sbin/nmbd -D -s /etc/samba/smb.conf /usr/local/samba/sbin/smbd -D -s /etc/samba/smb.conf
file and save the above lines as startsmb.sh
change its mode to executable
% chmod +x startsmb.sh
execute it with root privileges
% ./startsmb
thats it … then you’ll not get errors like:
/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.1: cannot open shared object file: No such file or directory