Cannot reinstall samba












1















I am running Ubuntu Server 18.04.



On 10 December 2018 samba stopped working. I know it was that day because I was backing up my Windows computer to Ubuntu Server every day with Macrium Reflect for months with out issue but ever since that day it has been reporting an error. I did not change or do anything that I am aware of to cause this problem. Ever since that day I have not been able access any samba shares on the Ubuntu Server computer from any other computer (linux or windows) nor can I access any samba shares from the Ubuntu Server computer despite being able to previously with out issue. smbtree was returning nothing. Interestingly nmap was showing ports 139 and 445 to be open when ran on Ubuntu Server but closed when scanned from another computer? I have tried many things to solve this problem including adding client max protocol = NT1 under the [global] section in the smb.conf file. I tried replacing the smb.conf file with a copy of the same file that has samba working perfectly on another linux computer. I tried this, I tried that, nothing worked. So in the end I decided to remove and reinstall samba and start again.



sudo apt-get remove --purge samba samba-*
sudo apt-get autoremove


After reinstalling samba it appears it has installed but will not start.



As near as I can tell the problem is this:



/usr/sbin/smbd: error while loading shared libraries: libreplace.so.0: cannot open shared object file: No such file or directory


This post seems to be saying its a bug?



This post seems to be saying I have "installed different and conflicting versions of samba from different sources" but I don't think so. I only ever used apt to install software.



Any true Ubuntu Jedi's out there who can help a wannabe Ubuntu Jedi out?



Thanks heaps :-)










share|improve this question























  • Your first 'post' is for experimental debian only issue solved in 2013 & never affected Ubuntu. Your second assumption is about apt which installs using whatever sources you have added to your system, so it does not disqualify your only using apt. Given you're confused about 'debian!=ubuntu' I'd firstly check your sources as per your second added post, ie. that you've not added sources from another release, or unofficial source & created the issue.

    – guiverc
    Jan 5 at 4:34











  • Actually the first time I tried to re-install I did sudo tasksel install samba-server, would that cause my problem? In any event would uninstalling according to this [askubuntu.com/questions/820108/… post solve the issue of any conflicting version?

    – Jedi
    Jan 5 at 4:48


















1















I am running Ubuntu Server 18.04.



On 10 December 2018 samba stopped working. I know it was that day because I was backing up my Windows computer to Ubuntu Server every day with Macrium Reflect for months with out issue but ever since that day it has been reporting an error. I did not change or do anything that I am aware of to cause this problem. Ever since that day I have not been able access any samba shares on the Ubuntu Server computer from any other computer (linux or windows) nor can I access any samba shares from the Ubuntu Server computer despite being able to previously with out issue. smbtree was returning nothing. Interestingly nmap was showing ports 139 and 445 to be open when ran on Ubuntu Server but closed when scanned from another computer? I have tried many things to solve this problem including adding client max protocol = NT1 under the [global] section in the smb.conf file. I tried replacing the smb.conf file with a copy of the same file that has samba working perfectly on another linux computer. I tried this, I tried that, nothing worked. So in the end I decided to remove and reinstall samba and start again.



sudo apt-get remove --purge samba samba-*
sudo apt-get autoremove


After reinstalling samba it appears it has installed but will not start.



As near as I can tell the problem is this:



/usr/sbin/smbd: error while loading shared libraries: libreplace.so.0: cannot open shared object file: No such file or directory


This post seems to be saying its a bug?



This post seems to be saying I have "installed different and conflicting versions of samba from different sources" but I don't think so. I only ever used apt to install software.



Any true Ubuntu Jedi's out there who can help a wannabe Ubuntu Jedi out?



Thanks heaps :-)










share|improve this question























  • Your first 'post' is for experimental debian only issue solved in 2013 & never affected Ubuntu. Your second assumption is about apt which installs using whatever sources you have added to your system, so it does not disqualify your only using apt. Given you're confused about 'debian!=ubuntu' I'd firstly check your sources as per your second added post, ie. that you've not added sources from another release, or unofficial source & created the issue.

    – guiverc
    Jan 5 at 4:34











  • Actually the first time I tried to re-install I did sudo tasksel install samba-server, would that cause my problem? In any event would uninstalling according to this [askubuntu.com/questions/820108/… post solve the issue of any conflicting version?

    – Jedi
    Jan 5 at 4:48
















1












1








1








I am running Ubuntu Server 18.04.



On 10 December 2018 samba stopped working. I know it was that day because I was backing up my Windows computer to Ubuntu Server every day with Macrium Reflect for months with out issue but ever since that day it has been reporting an error. I did not change or do anything that I am aware of to cause this problem. Ever since that day I have not been able access any samba shares on the Ubuntu Server computer from any other computer (linux or windows) nor can I access any samba shares from the Ubuntu Server computer despite being able to previously with out issue. smbtree was returning nothing. Interestingly nmap was showing ports 139 and 445 to be open when ran on Ubuntu Server but closed when scanned from another computer? I have tried many things to solve this problem including adding client max protocol = NT1 under the [global] section in the smb.conf file. I tried replacing the smb.conf file with a copy of the same file that has samba working perfectly on another linux computer. I tried this, I tried that, nothing worked. So in the end I decided to remove and reinstall samba and start again.



sudo apt-get remove --purge samba samba-*
sudo apt-get autoremove


After reinstalling samba it appears it has installed but will not start.



As near as I can tell the problem is this:



/usr/sbin/smbd: error while loading shared libraries: libreplace.so.0: cannot open shared object file: No such file or directory


This post seems to be saying its a bug?



This post seems to be saying I have "installed different and conflicting versions of samba from different sources" but I don't think so. I only ever used apt to install software.



Any true Ubuntu Jedi's out there who can help a wannabe Ubuntu Jedi out?



Thanks heaps :-)










share|improve this question














I am running Ubuntu Server 18.04.



On 10 December 2018 samba stopped working. I know it was that day because I was backing up my Windows computer to Ubuntu Server every day with Macrium Reflect for months with out issue but ever since that day it has been reporting an error. I did not change or do anything that I am aware of to cause this problem. Ever since that day I have not been able access any samba shares on the Ubuntu Server computer from any other computer (linux or windows) nor can I access any samba shares from the Ubuntu Server computer despite being able to previously with out issue. smbtree was returning nothing. Interestingly nmap was showing ports 139 and 445 to be open when ran on Ubuntu Server but closed when scanned from another computer? I have tried many things to solve this problem including adding client max protocol = NT1 under the [global] section in the smb.conf file. I tried replacing the smb.conf file with a copy of the same file that has samba working perfectly on another linux computer. I tried this, I tried that, nothing worked. So in the end I decided to remove and reinstall samba and start again.



sudo apt-get remove --purge samba samba-*
sudo apt-get autoremove


After reinstalling samba it appears it has installed but will not start.



As near as I can tell the problem is this:



/usr/sbin/smbd: error while loading shared libraries: libreplace.so.0: cannot open shared object file: No such file or directory


This post seems to be saying its a bug?



This post seems to be saying I have "installed different and conflicting versions of samba from different sources" but I don't think so. I only ever used apt to install software.



Any true Ubuntu Jedi's out there who can help a wannabe Ubuntu Jedi out?



Thanks heaps :-)







networking samba






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 5 at 2:49









JediJedi

234




234













  • Your first 'post' is for experimental debian only issue solved in 2013 & never affected Ubuntu. Your second assumption is about apt which installs using whatever sources you have added to your system, so it does not disqualify your only using apt. Given you're confused about 'debian!=ubuntu' I'd firstly check your sources as per your second added post, ie. that you've not added sources from another release, or unofficial source & created the issue.

    – guiverc
    Jan 5 at 4:34











  • Actually the first time I tried to re-install I did sudo tasksel install samba-server, would that cause my problem? In any event would uninstalling according to this [askubuntu.com/questions/820108/… post solve the issue of any conflicting version?

    – Jedi
    Jan 5 at 4:48





















  • Your first 'post' is for experimental debian only issue solved in 2013 & never affected Ubuntu. Your second assumption is about apt which installs using whatever sources you have added to your system, so it does not disqualify your only using apt. Given you're confused about 'debian!=ubuntu' I'd firstly check your sources as per your second added post, ie. that you've not added sources from another release, or unofficial source & created the issue.

    – guiverc
    Jan 5 at 4:34











  • Actually the first time I tried to re-install I did sudo tasksel install samba-server, would that cause my problem? In any event would uninstalling according to this [askubuntu.com/questions/820108/… post solve the issue of any conflicting version?

    – Jedi
    Jan 5 at 4:48



















Your first 'post' is for experimental debian only issue solved in 2013 & never affected Ubuntu. Your second assumption is about apt which installs using whatever sources you have added to your system, so it does not disqualify your only using apt. Given you're confused about 'debian!=ubuntu' I'd firstly check your sources as per your second added post, ie. that you've not added sources from another release, or unofficial source & created the issue.

– guiverc
Jan 5 at 4:34





Your first 'post' is for experimental debian only issue solved in 2013 & never affected Ubuntu. Your second assumption is about apt which installs using whatever sources you have added to your system, so it does not disqualify your only using apt. Given you're confused about 'debian!=ubuntu' I'd firstly check your sources as per your second added post, ie. that you've not added sources from another release, or unofficial source & created the issue.

– guiverc
Jan 5 at 4:34













Actually the first time I tried to re-install I did sudo tasksel install samba-server, would that cause my problem? In any event would uninstalling according to this [askubuntu.com/questions/820108/… post solve the issue of any conflicting version?

– Jedi
Jan 5 at 4:48







Actually the first time I tried to re-install I did sudo tasksel install samba-server, would that cause my problem? In any event would uninstalling according to this [askubuntu.com/questions/820108/… post solve the issue of any conflicting version?

– Jedi
Jan 5 at 4:48












1 Answer
1






active

oldest

votes


















0














If we talking about missing libreplace.so.0 library - then it came from libwbclient0 (see search results on packages.ubuntu.com).



So you need to reinstall the package:



sudo apt-get install --reinstall libwbclient0





share|improve this answer
























  • N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

    – Jedi
    Jan 5 at 9:59











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107067%2fcannot-reinstall-samba%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If we talking about missing libreplace.so.0 library - then it came from libwbclient0 (see search results on packages.ubuntu.com).



So you need to reinstall the package:



sudo apt-get install --reinstall libwbclient0





share|improve this answer
























  • N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

    – Jedi
    Jan 5 at 9:59
















0














If we talking about missing libreplace.so.0 library - then it came from libwbclient0 (see search results on packages.ubuntu.com).



So you need to reinstall the package:



sudo apt-get install --reinstall libwbclient0





share|improve this answer
























  • N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

    – Jedi
    Jan 5 at 9:59














0












0








0







If we talking about missing libreplace.so.0 library - then it came from libwbclient0 (see search results on packages.ubuntu.com).



So you need to reinstall the package:



sudo apt-get install --reinstall libwbclient0





share|improve this answer













If we talking about missing libreplace.so.0 library - then it came from libwbclient0 (see search results on packages.ubuntu.com).



So you need to reinstall the package:



sudo apt-get install --reinstall libwbclient0






share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 5 at 8:10









N0rbertN0rbert

22k547102




22k547102













  • N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

    – Jedi
    Jan 5 at 9:59



















  • N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

    – Jedi
    Jan 5 at 9:59

















N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

– Jedi
Jan 5 at 9:59





N0rbert you are Ubuntu Jedi :-) I actually tried this but it was the --reinstall option that did the trick. Thank you so much, I spent ages on Google trying to find a solution before posting here. smbtree is still producing no output but that's for a separate question.

– Jedi
Jan 5 at 9:59


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107067%2fcannot-reinstall-samba%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕