Samba share shows up only after I restart samba

I've been setting up a laptop with Arch to use at work and home. The problem is I can not see my samba share until I restart the samba service. The server is available though. I can connect with \\IPADDRESS\SHARE. It's just not listed under Network Places or smbtree.
I have samba under DAEMONS  in rc.conf and I've tried starting it in rc.local too. But even if I leave it out of those and start samba manually, I have to restart samba before the share will show up on any client.
The clients are Arch, Windows, and Ubuntu and the share is not available any of them. And the problem happens when I'm at work or at home. I've been googling, but I can't find much about a share being available but not being listed.
My /etc/samba/smb.conf:
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = MYWORKGOUP
# server string is the equivalent of the NT Description field
server string = Work Files
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = user
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.0. 192.168.1. 127.
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# you may wish to override the location of the printcap file
; printcap name = /etc/printcap
# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
; printcap name = lpstat
# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
; printing = cups
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Use password server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
; realm = MY_REALM
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
; passdb backend = tdbsam
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
# this line. The included file is read at that point.
; include = /usr/local/samba/lib/smb.conf.%m
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
dns proxy = no
# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
; add user script = /usr/sbin/useradd %u
; add group script = /usr/sbin/groupadd %g
; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
; delete user script = /usr/sbin/userdel %u
; delete user from group script = /usr/sbin/deluser %u %g
; delete group script = /usr/sbin/groupdel %g
# Allow Symlinks (Needed this option after 3.4.6 due to security issues)
unix extensions = no
#============================ Share Definitions ==============================
;[homes]
; comment = Home Directories
; browseable = no
; writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
wins support = no
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
# Set public = yes to allow user 'guest account' to print
; guest ok = no
; writable = no
; printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = no
; printable = no
; write list = @staff
# Other examples.
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[mike]
comment = Work Files
path = /home/MYUSER/.samba_share
valid users = MYUSER
available = yes
browsable = yes
public = yes
writable = yes
# Needed this option after 3.4.6 due to security issues
wide links = yes

I removed the . (and moved the directory to match) but I still have the same issue.
Here's the smbd.log after a rebooting and then restarting samba:
[2010/05/04 07:25:41.262266, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/04 07:25:41.266578, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/04 07:26:01.041577, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2010/05/04 07:26:21.051370, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown
[2010/05/04 07:26:45.716653, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2010/05/04 07:36:46.016675, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/04 07:36:46.017386, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
And log.nmbd:
[2010/05/04 07:25:41, 0] nmbd/nmbd.c:857(main)
nmbd version 3.5.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/05/04 07:26:48.718046, 0] nmbd/nmbd.c:71(terminate)
Got SIGTERM: going down...
[2010/05/04 07:27:26, 0] nmbd/nmbd.c:857(main)
nmbd version 3.5.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/05/04 07:27:26.544934, 0] nmbd/nmbd.c:696(open_sockets)
[2010/05/04 07:36:46, 0] nmbd/nmbd.c:857(main)
nmbd version 3.5.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010

Similar Messages

  • Why does "My Yahoo" open in a new tab [only after a restart of the system] when I open Firefox and my options are set to restore tabs?

    after a system restart, when I open Firefox, a new tab appears with My Yahoo displayed. I have my options set to restore session/tabs, with my home page listed as blank [not the best, i know]. I have not installed any new programs, other than Norton, to 2010 and have only done updates as required.
    == This happened ==
    Every time Firefox opened
    == recently...I usually only shut down for reboots.

    If you use [[Clear Recent History]] in Firefox 3.5 and later or [[Clearing private data|Clear Private Data]] in Firefox 3 to clear the 'Browsing History' when Firefox is closed then restoring tabs from the last session ("Save & Quit" or "Show my windows and tabs from last time") doesn't work.

  • Adobe edge show page only after download all image....

    hi, i have a composition wiht 30 images....when i open page it loads in around 5-6 seconds because adobe edge download all the image and after show the page...i have set immediate preloader that must only download the code and show the page but only in teory..in practice it download all element as code and image and then show the page.... there is' a way to not download all the images and display the composition after downloading only the code or a management priority to download?

    You need an event to trigger an advanced action, and timing is not an event.
    Why not create another identical slide, and have the playhead move to that slide after the first slide (with a timeline of 30secs) is finished?
    Lilybiri

  • Show report only after button pressed

    I do have a page with a report in a region , a button and some item's witch are needed for the query of the report. (-> parameters)
    The problem is that the report should only be calculated after pressing the button "Go"
    But the report is calculated instantly when the page is invoked which took very long because when no parameter is selected the result is very large.
    I tried to use the condition in the report but had no success.
    thanks in advance
    Odeedo

    Report condition: request=GO (or the one that you set with the botton)
    Add a BRANCH to page (after processing) to the page itself, and that set the request to GO (or what have you choose ...)
    It should works
    Thanks
    Stefano Corradi
    (be carefully to avoid a redirect in the botton without submit, because in this case you item has not submitted)

  • Show playbar only after all captions display?

    I am trying to figure out how I want my users to navigate, and thanks to lilybiri's answer on conditional actions I am able to make the playbar pop up if users hit different buttons - thanks again.
    But, here is what I can not figure out now.  I have another slide that I want to have all of the text and captions come up on timing (that follows narration), but then not have the playbar pop up until all of these have been displayed.
    In otherwords, I understand the conditional action that will show the playbar, but in this slide I have nothing to attach a conditional action too.  I just want the playbar to pop up after say 30 seconds, and let the user decide when they advance, but not let them advance prior to the entire page being displayed.
    Note: The slide automatically pauses because I have a button that pops up and allows them to view additional content, but I don't want that to be a mandatory button press prior to seeing the playbar (if it was mandatory then I could use that as the condtional action to shw the playbar)

    You need an event to trigger an advanced action, and timing is not an event.
    Why not create another identical slide, and have the playhead move to that slide after the first slide (with a timeline of 30secs) is finished?
    Lilybiri

  • Our Ipad type line for text disappears after taking a photo to send and only after a restart

    Hello.  We have two Ipads and two Iphones. Our newest Ipad has an issue with I message. If we take a photo to send by text the type screen and line disappears. The only way to get it back is to shut the device and then the type line returns. We have turned the message off on on with the same result. Our Ipad 2 and both our 4s and 5 phones don't seem to have the issue. Any thoughts? We are also did the icloud update and no change happened. Is this a bug or are we missing something? Messaging works fine until we take a picture then the type bar and keyboard disappear. The taken photo goes to photos.. The only way to get messages to work is to shut off the device and then it works until we try to add another new picture. It seems to work if we use an existing photo from the library.

    This sounds like you may have the camera's "Image Review" option set to "hold".
    When you take a photo, two things normally happen.
    1)  The camera should write the image to your memory card.  You'll know when it's writing to your memeory card because there is a red LED ligth which is active when the camera is using the card.  When the light goes out, the camera is finished.
    2)  The camera can be set to do "Image Review".  By default, when you take an exposure, the camera will display the image on the rear screen for just a few seconds.  But this behavior can be customized.
    Your choices for image review are "Off", 2 seconds, 4 seconds, 8 seconds, or "Hold".  If Off is selected you wont get any image review.  If "Hold" is selected, the image you just took will appear on the rear LCD and will never go away until you manually clear it.  You can just do a half-press of the shutter button to clear it (it wont get in the way of you taking more shots... just ignore it.)
    You can find instructions on this on page 166 of your T3i Instruction Manual which describes how to change this setting.
    Tim Campbell
    5D II, 5D III, 60Da

  • Screen shows apple only after tring to updated wont turn off or change

    Tried to update Ipod 4 and restore as got screen with plug in to I-tune, went thru update but then froze with th apple on screen of I-Pod.  Now it wont reset wont turn on or off or be seen in I tunes.  Wont charge either Any help?

    Have you looked at this troubleshooting article?
    http://www.apple.com/support/ipodtouch/assistant/ipodtouch/
    You may need to restore.

  • Able to view new files from a samba share only after refresh

    Hello Guys,
    I'm currently trying to access a samba share from windows server 2012
    When I access the share I'm only able to view 210 files out of 460 files
    and the remaining files are only viewable after refresh(F5)
    This Issue is also appear to be Intermittent, I'm freaked out with this strange behaviour
    and unable to run my scripts on the share they end up with unable to find the files!!
    Please help me in resolving this
    Thanks in Advance

    Hi, this is due to an issue with samba interoperability.update your samba drivers
    http://blogs.msdn.com/b/oldnewthing/archive/2006/03/30/564809.aspx#comments
    MCP/MCSA/MCTS/MCITP

  • Virtual hosts work only after I will restart a httpd

    This is strange. I'm using Apache server, and have problem with virtual hosts. For example I have a host:
    <VirtualHost myhost.localhost:80>
    ServerAdmin [email protected]
    DocumentRoot "/srv/http/projects/2014/myhost.pl/public_html"
    ServerName myhost.localhost
    ServerAlias www.myhost.localhost
    ErrorLog "/var/log/httpd/myhost.localhost-error_log"
    CustomLog "/var/log/httpd/myhost.localhost-access_log" common
    <Directory "/srv/http/projects/2014/myhost.pl/public_html">
    AllowOverride All
    Options Indexes FollowSymLinks
    Require all granted
    </Directory>
    </VirtualHost>
    I also added a
    127.0.0.1 myhost.localhost
    line to /etc/hosts file.
    Now when I restart my computer myhost.localhost will show me default "It works!" message, and just after "sudo systemctl restart httpd" the proper website will appear under this address. Why is that?

    Not sure what your actual hostname is; but this is probably related to DNS not being available at boot. Depending on your actual name; apache might listen on the wrong interface / source-address for this domain; which is only fixed by restarting it when you have a working dns-server.

  • Hi,my apple tv show me only computers and settings only after update the new software

    Hi my apple tv show me only computers and settings only after update the new software

    Try restarting the Apple TV by removing ALL the cables for 30 seconds, or resetting it using the reset option under general. You should also try restarting your router.

  • TS2972 i have done all 7 steps recommended by the troubleshooting articles and only when i restart my router does my library show on apple tv2 but only for about 5 minutes, this was never a problem before the updates of itunes and apple tv2,

    i have done all 7 steps recommended by the troubleshooting articles and only when i restart my router does my library show on apple tv2 but only for about 5 minutes, this was never a problem before the updates of itunes and apple tv2, i have spent insane amounts of money on the apple store buying movies and tv shows that i cannot watch anymore, and no there is no firewall on my laptop nor my router, so no port configuration is needed
    i have read many articles for this problem but there is no solution, some say restart the router, others say uncheck the option to sync iphone over wi-fi, others suggest not hitting the "done" button after setting up homeshare on itunes, NONE of them work. My itunes library disappears from ym apple tv 2 after 5 minutes or so

    Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.

  • New creativ cloud shows 8days till end ofprogram but next bill will be only after 14days?

    new creativ cloud shows 8days till end ofprogram but next bill will be only after 14days?
    I buy new account 2 month ago and use it for the same cloud what was used with another account, maybe that why? But what we can do!?

    I see that you have purchased the Creative Cloud Subscription under the Email address you have used to login to Forums as well. I can see that the activation has not yet been done, Can you please try the below mentioned steps and advies.
    1) Open the Creative Cloud Desktop Application and sign in with the Id that you have used to Login to forums.
    2) If the above step does not resolve the query, please try activating the product under a different network.
    Please share the end result post trying the above steps.

  • IPhone syncs/charges only after restart

    Hello. I am having some troubles getting my iPhone to sync or charge when connected to my iMac G5.
    The phone will not sync, iTunes doesn't recognize that it is connected, AND it will not charge at all. I can plug it in and unplug it as many times as I want. The only way to get the phone and computer to sync/charge the phone again is to restart the iMac, log-in, and then plug the iPhone back in - then everything works great again for 1 more sync/charge session. If I unplug the phone from the iMac, I have to restart again before my next sync/charge. It has been like this since I upgraded (clean install) to Leopard on the iMac.
    Any ideas? Thanks!
    Also, after I restart and log-in I have to start iTunes before plugging in the iPhone otherwise iTunes never automatically launches with the phone is plugged in.
    iMac G5, Leopard 10.5.1 (Clean install), iTunes 7.6, iPhone 8GB 1.1.3

    Not sure if this has anything to do with the new download, but Thursday I downloaded the '08 updates (yeah...I am slow getting to it), anyway... while I was downloading the updates my phone of course was charging from the computer. After the download was finished I turned my phone off and plugged the phone into the wall charger. Charged fine... well last night (Saturday) I had to recharge my phone, but once I connected my phone to the wall charger it would not respond and/or start charging. Tried to plug it into the computer and it said my USB port was overloaded. I was ticked... needless to say I tried again this morning with no luck. Left my phone off for a few hours still nothing. Called tech. support and the guy asked me to try it again on the computer and read what the error said to him.....low and behold it started charging... on the pc and then on the wall charger. I have no idea why it started to work. I was happy it did, but has anyone else had this issue?

  • I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.

    Hi,
    I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.
    The "Staged" folder is present and remains after a restart, but the extensions do not get installed. They show in the extensions page with the "will be installed after you restart Firefox" message and remain like this no matter how many times I restart.
    Any Idea's?
    Running Firefox 24.0 on Windows 8.1
    Many Thanks,
    BD
    P.S. Just tried to install the "troubleshooter" add-on before posting the question and I got an error saying it cannot install because it cannot modify the needed file. (I did it manually instead)

    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end side of the Search Bar to check if there is a compatibility update available.
    If this hasn't helped then also delete the addons.sqlite file.

  • Acrobat PDF file not showing any character "i" only after an "f"

    I have a file that was provided from an unknown origin.  The original PDF is good.  After using Acrobat Pro, 11 - every lower case letter "i" if used after a character "f" is missing.  Therefore the view shows this:  "See f gure #", or "the proper conf guration is", or "in case of f re".  The font is Times Roman.  The "i" character in error can be searched by using a copy paste of the bad character into the search field dialog box.  It can't be replaced however  - with a good "i" - by performing a search and replace.  The (for lack of a better phrase) "invisible i" can be deleted and a new "i" inserted, but by performing a search, I have 6,700 of them.  Doing them individually isn't an option.  This document has gone through at least three editors hands, and re-doing what they so painstakingly did - and losing a large amount of work for what appears to be a software glitch is not the preferred option.
    I've tried saving as prior versions of PDF, messed with Preflight, printed to a pdf, used different views, embedded / unembedded fonts.
    There has got to be a fix for this. 
    Please help, and thank you.

    Adding fuel to the fire...    In a document that uses Times  Roman as the font, the "i"s have been changed to Minion Pro.  Upon further review, all letter "L" - lowercase is also missing, but only after the character "f".  A document that says "have a safe flight"  now says "have a safe f ight" and the word "reflected" is now "ref ected".  The character "lower case L - l " has been changed to the font - Dutch 801 SWA.
    I cannot select any of the invisible characters and change the font - as the fonts are greyed out.
    Gotta be a fix...  this is really bad, and not user error.

Maybe you are looking for