{"id":2752,"date":"2012-04-11T14:47:59","date_gmt":"2012-04-11T19:47:59","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=2752"},"modified":"2012-04-11T14:52:26","modified_gmt":"2012-04-11T19:52:26","slug":"freebsd-samba-does-not-start-after-updating-to-3-5-14","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/freebsd-samba-does-not-start-after-updating-to-3-5-14\/","title":{"rendered":"[FreeBSD] Samba does not start after updating to 3.5.14"},"content":{"rendered":"<p><\/p>\n<p><img decoding=\"async\" data-attachment-id=\"1813\" data-permalink=\"https:\/\/icesquare.com\/wordpress\/how-to-setup-tftp-on-ubuntu\/tftp-title\/#main\" data-orig-file=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/11\/tftp-title.jpg\" data-orig-size=\"373,155\" data-comments-opened=\"1\" data-image-title=\"tftp-title\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/11\/tftp-title.jpg\" src=\"\/wordpress\/wp-content\/uploads\/2011\/12\/computer-problem.jpg\" alt=\"\" title=\"tftp-title\" class=\"alignleft size-thumbnail wp-image-1813\"\/><\/p>\n<p>After I updated my Samba to 3.5.14 on my FreeBSD box today, it stopped working. I couldn&#8217;t connect to the Samba server from my Windows clients. Initially, I thought it was the memory cache issues, and I thought the problem would be solved by rebooting both machines. Unfortunately, it didn&#8217;t work. Therefore, I accessed to the server and check the cause of the problem.<\/p>\n<p>First, I found that Samba was not evening running.<\/p>\n<pre>\r\nps -ax | grep smb\r\n<\/pre>\n<p>So I started the Samba service manually:<\/p>\n<pre>\r\nsudo \/usr\/local\/etc\/rc.d\/samba start\r\n<\/pre>\n<p>And it returned me the following message:<\/p>\n<pre>\r\nCannot 'start' samba. Set winbindd_enable to YES in \/etc\/rc.conf or use 'onestart' instead of 'start'.\r\n<\/pre>\n<p>Oh that was easy. All I need to do was to modify my rc.conf:<\/p>\n<pre>\r\n#Samba service\r\nsamba_enable=\"YES\"\r\nwinbindd_enable=\"YES\"\r\n<\/pre>\n<p>And then I started the Samba again:<\/p>\n<pre>\r\nsudo \/usr\/local\/etc\/rc.d\/samba start\r\n<\/pre>\n<p>Yay, Samba is up and running again!<\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I updated my Samba to 3.5.14 on my FreeBSD box today, it stopped working. I couldn&#8217;t connect to the Samba server from my Windows clients. Initially, I thought it <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/freebsd-samba-does-not-start-after-updating-to-3-5-14\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,7,144,6,69],"tags":[171,32],"class_list":["post-2752","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-freebsd","category-sever-problem","category-technology","category-troubleshooting-technology","tag-freebsd","tag-samba"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-Io","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3125,"url":"https:\/\/icesquare.com\/wordpress\/freebsdthe-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36\/","url_meta":{"origin":2752,"position":0},"title":"[FreeBSD]The net\/samba35 port has been deleted: Obsoleted by net\/samba36","author":"Derrick","date":"February 11, 2013","format":false,"excerpt":"FreeBSD is designed for users who got lots of spare time. Every once a while, it will give you some troubles (or \"snacks\" in programmer language), which help you to burn some of your spare time. If you cannot handle these troubles, then FreeBSD is not for you. Although FreeBSD\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":174,"url":"https:\/\/icesquare.com\/wordpress\/mount_smbfs-kldloadsmbfs-operation-not-permitted-solved\/","url_meta":{"origin":2752,"position":1},"title":"&#8220;mount_smbfs: kldload(smbfs): Operation not permitted&#8221; SOLVED!!!!","author":"Derrick","date":"July 28, 2009","format":false,"excerpt":"When I tried to mount a windows share from FreeBSD: sudo mount_smbfs -I WindowsBoxIPaddress \/\/username@WindowsBoxIPaddress\/WindowsShare \/mnt I always got this error: mount_smbfs: kldload(smbfs): Operation not permitted After searching this error message on Google, I found that all suggested solutions were related to running this command using sudo, which I already\u2026","rel":"","context":"In &quot;FreeBSD&quot;","block_context":{"text":"FreeBSD","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/freebsd\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1516,"url":"https:\/\/icesquare.com\/wordpress\/cups-client-1-4-8-is-marked-as-broken-gnutls-does-not-support-threads-yet-disable-the-gnutls\/","url_meta":{"origin":2752,"position":2},"title":"cups-client-1.4.8 is marked as broken: gnutls does not support threads yet; disable the GNUTLS.","author":"Derrick","date":"September 6, 2011","format":false,"excerpt":"I saw this message twice on two machines on two different days, end up using the same way to fix it. Case 1: Samba My Samba was down today, so I tried to start it manually: \/usr\/local\/etc\/rc.d\/samba start And I got the following error message: Removing stale Samba tdb files:\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":705,"url":"https:\/\/icesquare.com\/wordpress\/softlink-symbolic-link-doesnt-work-on-samba-solved\/","url_meta":{"origin":2752,"position":3},"title":"Softlink \/ Symbolic Link doesn&#8217;t work on Samba &#8211; Solved","author":"Derrick","date":"May 6, 2010","format":false,"excerpt":"After upgrading my Samba servers (One is Ubuntu Linux, and the other one on Fedora Linux), I found that I can no longer access the symbolic links \/ soft links from Windows. It keeps returning \"permission error\", \"You don't have permission to access this folder\" etc. I am pretty sure\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":31,"url":"https:\/\/icesquare.com\/wordpress\/installing-apache-php-mysql-and-memcached-on-freebsd\/","url_meta":{"origin":2752,"position":4},"title":"Installing Apache, PHP, MySQL and MemCached on FreeBSD","author":"Derrick","date":"May 19, 2009","format":false,"excerpt":"This is my note on how to to install Apache, PHP, MySQL and MemCached on a FreeBSD 7 Box. 1. MySQL Go to the mysql52-server port directory by typing the command: cd \/usr\/ports\/databases\/mysql51-server Build the port by typing: make BUILD_OPTIMIZED=yes BUILD_STATIC=yes Using these two options will speed up the execution\u2026","rel":"","context":"In &quot;FreeBSD&quot;","block_context":{"text":"FreeBSD","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/freebsd\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1214,"url":"https:\/\/icesquare.com\/wordpress\/building-a-super-large-and-reliable-file-server-with-mixed-size-of-harddisks\/","url_meta":{"origin":2752,"position":5},"title":"Building a Super Large and Reliable File Server with Mixed Size of Harddisks","author":"Derrick","date":"January 17, 2011","format":false,"excerpt":"In this article, I am going to show you how to build a super large, ultra reliable, expandable file server with mixed size of hard drives. Here is my criteria: Large Storage Capacity. At this moment, the largest hard drive is 2TB. I am looking for at least 10TB. Great\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/01\/zfs_logo-150x150.jpg","width":350,"height":200},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/2752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2752"}],"version-history":[{"count":4,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/2752\/revisions"}],"predecessor-version":[{"id":2757,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/2752\/revisions\/2757"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}