[Samba] RECOVER FILE DAEMON SMBD SAMBA

Tiago Damasceno ::: TDA INFORMÁTICA tiago at tdaconsultoriadigital.com.br
Sat Jun 19 05:52:57 MDT 2010


I found the rpm file regarding my samba version, but it did not come to the
smbd file in which I need:

Under the procedures that I did with him:
1. Under the guidance of Pablo Chamorro extract the file with the command:
rpm2cpio samba-2.2.5-107.src.rpm | cpio-IDMV he extracted the files all
right, but the file which I need smbd is not contained in the package.

Following is the list of extracted files:
drwxr-xr-x 3 root root 4096 Jun 19 08:49.
drwxrwxrwx 6 oracle dba 12 288 Jun 16 17:39 ..
-Rw-r - r - 1 root root 2813 Sep 23 2002 README.SuSE
-Rw-r - r - 1 root root 1149 Sep 22 2002 SuSEconfig.samba.tmpl
-Rw-r - r - 1 root root 207 Jul 19 2002 filelist
-Rw-r - r - 1 root root 377 Sep February 2002 filelist-client
-Rw-r - r - 1 root root 249 Jul 19 2002 lmhosts
-Rw-r - r - 1 root root 7789 Sep February 2002 nettime.c
-Rw-r - r - 1 root root 2804 Sep 22 2002 nmb.init.tmpl
-Rw-r - r - 1 root root 257 Jul 19 2002 samba-2.2.3-smbsh.dif
-Rw-r - r - 1 root root 1247 May February 2002 samba-2.2.4-doc.diff
-Rw-r - r - 1 root root 3462 Jun 23 2002 samba-2.2.4-pdbedit.diff
-Rw-r - r - 1 root root 557 Jul 19 2002 samba-2.2.4-smbadduser.diff
-Rw-r - r - 1 root root 4544953 Jun 19 08:11 samba-2.2.5-107.src.rpm
-Rw-r - r - 1 root root 46 605 Oct 16 2002
samba-2.2.5-acl-mapping-fixes.diff
-Rw-r - r - 1 root root 3477 Sep October 2002 samba-2.2.5-ldap_v3.diff
-Rw-r - r - 1 root root 232 Jul 19 2002 samba-2.2.5-linkvfs.patch
-Rw-r - r - 1 root root 1768 Sep February 2002 samba-2.2.5-nettime.diff
-Rw-r - r - 1 root root 306610 Sep October 2002 samba-2.2.5-printing.diff
-Rw-r - r - 1 root root 5923 Sep October 2002 samba-2.2.5-removeldap.diff
-Rw-r - r - 1 root root 4343641 Jul 19 2002 samba-2.2.5.tar.bz2
-Rw-r - r - 1 root root 96 135 Jul 19 2002 samba-vscan-0.2.5d.tar.gz
-Rw-r - r - 1 root root 82 Jul 19 2002 samba.pamd
-Rw-r - r - 1 root root 36 970 Oct 21 2002 samba.spec
-Rw-r r - - 1 root root 6911 Oct smb.conf August 2002
-Rw-r - r - 1 root root 3886 Oct 15 2002 smb.init.tmpl
-Rw-r - r - 1 root root 3750 Oct 15 2002 smbfs.init.tmpl
-Rw-r - r - 1 root root 379 Aug 21 2002 smbfstab
-Rw-r - r - 1 root root 216 Jul 19 2002 smbpasswd
-Rw-r - r - 1 root root 258 Jul 19 2002 smbusers
-Rw-r - r - 1 root root 198 Aug 19 2002 sysconfig.samba-client
-Rw-r - r - 1 root root 3664 Oct 15 2002 winbind.init.tmpl
-Rw-r - r - 1 root root 853 Aug 19 2002 wizard.gif


2. Updated with the command rpm-U samba-2.2.5-107.src.rpm, trying to be
compressed it into another file, also failed, still showing the message
below when I start the smb service.
Samba daemon, / usr / lib / samba / classic / smbd is not installed

3. I did backup the current settings of the samba and tried to do a fresh
install over the existing (rpm-i samba-2.2.5-107.src.rpm), it executes the
command correctly, but I still returns the message error so when I try to
start the service.

4. I tried to update the version of samba to samba-3.0.28-3.1.src.rpm but he
asks me a list of dependency. This option would not do, because as I have
other services running on the server, I'm afraid to interfere with them
after the installation of such dependence.
I do not know what to do to recover this file blessed!
Can anyone help?

2010/6/18 Michael Wood <esiotrot at gmail.com>

> 2010/6/18 Tiago Damasceno ::: TDA INFORMÁTICA
> <tiago at tdaconsultoriadigital.com.br>:
> > The aid so far given by you has been very important and satisfying, but
> as I
> > no longer have the rpm files from my original installation I'm having
> > trouble finding it in the rpm version, I tried the site
> > http://www.samba.org / samba / download / can not find files related to
> my
> > installed version.
> >
> > The version of my samba is:
> > samba-client-2.2.5-107
> > samba-2.2.5-107
> > samba-vscan-0.2.5d-106
> >
> > Below is a link to a file I found on the Internet more like my version,
> but
> > it does not contain the package file that smbd to need.
> >
> http://rpm.pbone.net/index.php3/stat/4/idpl/555302/dir/redhat_other/com/samba-2.2.5-1.i386.rpm.html
> >
> > Can anyone tell me the link that has a file compatible with my version?
>
> I am afraid I don't know, but perhaps someone else on the list can help.
>
> > 2010/6/18 Michael Wood <esiotrot at gmail.com>
> >>
> >> On 18 June 2010 14:56, Pablo Chamorro C. <pchamorro at ingeominas.gov.co>
> >> wrote:
> >> > On Fri, 18 Jun 2010, Michael Wood wrote:
> >> >
> >> >> 2010/6/16 Tiago Damasceno ::: TDA INFORMÁTICA
> >> >> <tiago at tdaconsultoriadigital.com.br>:
> >> >>>
> >> >>> Hello!
> >> >>>
> >> >>> Accidentally deletes the file daemon, / usr / lib / samba / classic
> /
> >> >>> smbd.
> >> >>> Now I can not start Samba, Samba reinstalling again in the newer
> >> >>> version
> >> >>> I
> >> >>> would lose my settings? It will overwrite existing files or just
> bring
> >> >>> back
> >> >>> the excluded?
> >> >>
> >> >> If it is only the /usr/sbin/smbd file that was deleted, then it might
> >> >> be easiest to do this:
> >> >>
> >> >> Get the original RPM that you used to install Samba.
> >> >> Use rpm2cpio and cpio to extract just the smbd file somewhere.
> >> >
> >> > I use to use for that purpose, preferable in a new folder, a command
> >> > similar
> >> > to:
> >> >
> >> > rpm2cpio rpmfile.rpm |cpio -idmv
> >> >
> >> > Pablo Chamorro
> >>
> >> Thanks :)
>
> --
> Michael Wood <esiotrot at gmail.com>
>



-- 

Tiago Damasceno
E-mail: tiago at tdainformatica.com.br
Telefone: +55 86 3315 2819 / 9451 9892
skype: tiagodamasceno6
MSN: tiago at tdaconsultoriadigital.com.br
www.tdainformatica.com.br


More information about the samba mailing list