Results 1 to 4 of 4

Thread: Not automatically starting smbd (upstart event)

  1. #1
    Join Date
    Aug 2009
    Beans
    824

    Not automatically starting smbd (upstart event)

    I have posted this somewhere here before and solved it but can't seem to find it. Just waisted 50 minutes googling and checking man pages for upstart.

    By the way; are man pages written by someone using their tows to type and getting beaten by a stick for every character they type? It seems missing a lot of info.

    Anyway, I know smbd is started with /etc/init/smbd.conf and there is a line like:
    Code:
    start on local-filesystems
    Now it needs to be started on ????? (manually) I can't seem to find any useful information but did seem to find the upstart man pages a hundred times or so (same info same missing parts).

    I would love to get involved writing documentation for these things if only I know what I was doing.

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Not automatically starting smbd (upstart event)

    If you are using 10.04 you can install jobs-admin.

    jobs-admin is a simple GTK+ utility that allows any administrator to easily
    configure jobs (services) present on their system. Jobs may be enabled and
    disabled, started and stopped, and can even provide tweakable settings about
    services.
    If you want to disable it manually, simply comment out the start on stanza:
    Code:
    #start on local-filesystems
    BTW, you can use the Search menu at the top of the page to search for your threads/posts.
    Last edited by sisco311; January 10th, 2011 at 11:58 AM.

  3. #3
    Join Date
    Aug 2009
    Beans
    824

    Re: Not automatically starting smbd (upstart event)

    Thank you for your reply.

    I am on Lucid but no jobs-admin available, only since maverick and up:
    http://packages.ubuntu.com/maverick/admin/jobs-admin (links on the top only available for maverick and natty)

    Found it in the search, the thing is I posted the origional for portmap so must have put in the wrong keywords for my search:
    http://ubuntuforums.org/showthread.p...mharu+services

    This seems to work as well:
    start on start-smbd

  4. #4
    Join Date
    Sep 2011
    Beans
    1

    Re: Not automatically starting smbd (upstart event)

    Hi all,

    I'm a newbie in upstart (not complete reading the man yet). But I have the similar problem with my ubuntu 10.10, my samba service is started on system start-up, but for the samba share to work properly I have to login and restart the service. After struggeling with googling + reading manuals (I'm a lazy manual reader), I tried to make the dependency of smbd to be the same with nmbd (/etc/init/smbd.conf vs /etc/nmbd.conf) :

    start on (local-filesystems and net-device-up IFACE!=lo)

    then it is working properly as it should be. Is it the proper way to do it, or I fix it the wrong way?

    Thanks

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •