Home > error lock > error lock directory /var/run/samba

Error Lock Directory /var/run/samba

not exis Pages: 1 #1 2007-06-29 17:33:24 Phrodo_00 Member From: Santiago de Chile Registered: 2006-04-09 Posts: 340 Website Samba is not working - ERROR: pid directory /usr/var/run does not exis Hi, samba sudenly stoped working on my machine (it supposedely starts, but doesn't appear in ps -A), I looked through all log files and found nothing, the only anormal thing it tells me is when I run testparm, and it says testparm wrote:ERROR: pid directory /usr/var/run does not exist. Any ideas? what's supposed to be at /usr/var/run. (btw, that directory doesn't exist, /usr/var exists though)EDIT: forgot to post my smb.conf:[global] workgroup = SADOJANI server string = Tarro de Phrodo_00 security = share #hosts allow = 192.168. 127. load printers = no log file = /var/log/samba/log.%m max log size = 50 dns proxy = no wins support = no [Juegos] path = /media/archivos/Juegos comment = weeeeeeeh! available = yes browseable = yes public = yes writable = yes [Descargas] path = /media/archivos/Descargas available = yes browseable = yes public = yes writable = yes [musica] path = /media/archivos/Musica available = yes browseable = yes public = yes writable = yes [Videos] path = /media/archivos/Videos available = yes browseable = yes public = yes writable = yes [CShare] path = /media/windows/shared comment = Compartidos en C: available = yes browseable = yes public = yes writable = yes Last edited by Phrodo_00 (2007-06-29 17:51:20) Offline #2 2007-06-30 12:16:51 madeye Member From: Denmark Registered: 2006-07-19 Posts: 331 Website Re: Samba is not working - ERROR: pid directory /usr/var/run does not exis I looked through my usr dir, and /usr/var/run/samba exists and contains the followingaccount_policy.tdb group_mapping.tdb ntforms.tdb sessionid.tdb brlock.tdb locking.tdb ntprinters.tdb share_info.tdb browse.dat messages.tdb perfmon[dir] connections.tdb notify.tdb printing[dir] gencache.tdb ntdrivers.tdb registry.tdbThe directory seems to hold the session files for the sever, to se

+0100 Message-id: <200909261733.28278.linux@xxxxxxxxxxxxxxxxxxxxx> On Saturday 26 September 2009 09:45:16 Bob Williams wrote: On Saturday 26 September 2009 04:46:42 David C. Rankin wrote: On Friday 25 September 2009 04:48:56 pm Bob Williams wrote: Hi David, [...] There's something fundamentally sick with my installation, which I need to sort out first. Then I'll be delighted to use your outline :) Bob (off to bed now) After your first cup of coffee, add the following (changed for your release) http://download.opensuse.org/repositories/network:/samba:/STABLE/openSUSE _1 1.0/ 3.2 is an older release. 3.4 is current. update the samba packages and see if that helps. If not, a post to the https://bbs.archlinux.org/viewtopic.php?id=34690 samba list is usually the quickest was to get an answer. Post back if you get hung up. Good morning, Thanks for the samba repo which I have added, and duly upgraded my samba installation. However, not much has changed... barrowhillfarm:~ # testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[profiles]" Processing section "[users]" Processing section "[groups]" Processing section "[pictures]" Processing section "[tmp]" Loaded https://lists.opensuse.org/opensuse/2009-09/msg01303.html services file OK. ERROR: lock directory file:///var/lib/samba does not exist ERROR: state directory file:///var/lib/samba does not exist ERROR: cache directory file:///var/lib/samba does not exist ERROR: pid directory file:///var/run/samba does not exist Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions Am I supposed to create the missing files? Who should own them? What permissions should they have? I would have thought they would have been created automatically. I shall take your advice to ask on the samba list, but when I made initial enquiries there, I was advised to re-install, which I've now done. Many thanks, Bob The answer is staring me in the face! Those lines marked ERROR above refer to lines in smb.conf such as lock directory = file:///var/lib/samba which should, of course, read lock directory = /var/lib/samba I have no idea where the spurious "file://" came from, but many thanks to Helmut Hullen on samba@xxxxxxxxxxxxxxx for helping me find the problem. Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.1, Kernel 2.6.27.25-0.1-default, KDE 4.3 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9200GS -- To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx For additional commands, e-mail: op

ubuntu-mate Edit Fix Released Low Martin Wimpress Edit You need to log in to change this bug's status. Affecting: ubuntu-mate Filed here by: diego vivar otero When: https://bugs.launchpad.net/bugs/1342206 2014-07-15 Confirmed: 2014-07-29 Assigned: 2014-07-16 Started work: 2014-07-29 Completed: 2014-07-31 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Fix Released Low Assigned to Me Martin Wimpress (flexiondotorg) Comment on this change (optional) Email me about changes to this bug error lock report Also affects project (?) Also affects distribution/package Nominate for series Bug Description when trying to create a shared folder get this error, instead of samba installation wizard. The Samba testparm returned error 1: Load smb config files from / etc / samba / smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[printers]" Processing section "[print $]" Loaded services error lock directory file OK. ERROR: lock directory / var / run / samba does not exist ERROR: pid directory / var / run / samba does not exist image http://i.imgur.com/7flzniW.png?1 Add tags Tag help Martin Wimpress (flexiondotorg) on 2014-07-16 Changed in ubuntu-mate: assignee: nobody → Martin Wimpress (flexiondotorg) importance: Undecided → High diego vivar otero (diegomadrid100) on 2014-07-16 Changed in ubuntu-mate: status: New → Incomplete status: Incomplete → New Martin Wimpress (flexiondotorg) on 2014-07-16 Changed in ubuntu-mate: importance: High → Low Martin Wimpress (flexiondotorg) wrote on 2014-07-29: #1 In order to resolve this the `samba` package must be installed and samba must be running. I don't want to ship a running samba setup in what is a workstation OS. Therefore, I've removed `caja-share` from the default package list and this will be reflected in the upcoming alpha 2 release. Should anyone want to use the `caja-share` extension they can `apt-get install caja-share samba` to get the desired functionality. Changed in ubuntu-mate: status: New → Fix Committed diego vivar otero (diegomadrid100) wrote on 2014-07-31: #2 with caja-share extension samba works perfectly Martin Wimpress (flexiondotorg) on 2014-07-31 Changed in ubuntu

 

Related content

error lock required

Error Lock Required p von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen p p a GitHub relatedl account Sign in Create a gist now Instantly share code notes and snippets Star Fork maxcnunes Error-Gemfile lock-required sh Created May Embed What would you like to do Embed Embed this gist in your website Embed Share Copy sharable URL for this gist Share Clone via HTTPS Clone a href https groups google com d topic comp lang clipper visual-objects Yx WtAinjU https groups google com d topic comp lang clipper visual-objects Yx WtAinjU a with Git or checkout with SVN using the repository's