Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th May 2008, 09:31
tomde tomde is offline
Junior Member
 
Join Date: Apr 2007
Posts: 12
Thanks: 2
Thanked 1 Time in 1 Post
Default Accidently deleted /etc/init.d/samba

Hi, I accidently removed /etc/init.d/samba when preforming a clean remove of all of samba's files. I didn't realize that apt-get install samba didn't reinstall /etc/init.d/samba. Also what I find a bit annoying is that apt-remove doesn't remove any configuration files. And thats basically the reason why I'm missing /etc/init.d/samba, since I preformed a full search to delete anything named samba. I guess that was a bad idea. Now how would I get this file back? Can some one post its contents and I just paste and copy?
thanks all!!
Reply With Quote
Sponsored Links
  #2  
Old 27th May 2008, 05:05
tomde tomde is offline
Junior Member
 
Join Date: Apr 2007
Posts: 12
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

Solution:

# apt-get install samba samba-common
# apt-get --purge remove samba samba-common
# apt-get clean
# apt-get install samba samba-common

Note I had to reinstall it since I had already removed the packages.
Reply With Quote
The Following User Says Thank You to tomde For This Useful Post:
falko (27th May 2008)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
db deleted after change is made, possibly bug? blocker General 2 6th March 2008 19:26
Domain not being deleted codswallop Installation/Configuration 16 1st February 2008 10:39
Restore deleted Logfiles TobiasTM Server Operation 3 16th October 2007 00:24
ISPCONFIG records not deleted... gilas Installation/Configuration 1 7th July 2006 15:48
The reseller was not deleted. Hellbound General 2 6th September 2005 11:05


All times are GMT +2. The time now is 03:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.