Tiago Damasceno ::: TDA INFORMÁTICA
2010-Jun-16 20:52 UTC
[Samba] RECOVER FILE DAEMON SMBD SAMBA
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? I use a distribution derived from Suse, when I try to install the yast he asks that some libraries are installed: *libstdc + + **libstdc + +-devel **yast2-packagemanager **yast2-devel-packagemanager ?* This server have a service of Oracle database running on it, to install these library will occur some side effect to my server? Thanks for your help, thank you in advance -- 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
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. Move the smbd file to /usr/sbin. But make sure you have good backups first in case you make a mistake. I can't check the correct syntax now because I don't have access to an RPM-based distribution at the moment. -- 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>