How do I start service at boot?

Hello,
  I am relatively new to arch, so I have played with it since .3 on and off but never as a server.  Right now I can start mysql, httpd and exim just fine, but they don't seem to be starting up at boot time.  How do I fix this?
Thanks,
mrjohnston

Hi mrjohnston,
You have to add an entry for each daemon in the DAEMONS array in the file /etc/rc.conf.  If you add "exim" (for example) to the DAEMONS line, the file /etc/rc.d/exim will be executed, and that should get it started at bootup.
Cheers.

Similar Messages

  • Error message saying this device cannot be used because Apple mobile device service is not started.  What does this mean and how do I start service....had these devices for over a year now??

    When I tried to sync my iphone 4 and ipad in iturnes, an error message popped up saying this device cannot be used because Apple Mobile Device service is not started!  What does that mean and how do I start service?  I've had these devices for over a year and update and sync regularly and have never seen this message before!

    I got that message yesterday. I'm new at this so don't know if this is the correct solution but it worked for me. I reset my iPod by holding the 2 buttons down until the apple appears AND I restarted my computer. After that everything worked.

  • Start Service at Boot

    Solaris 9
    I need to start a service at boot time and cannot figure out where to place it. I Googled it but I could not find anything of real value.
    Thanks,
    DB

    In Solaris 9, this is found with the 'initdefault' line in /etc/inittab. It is 3 by default.
    Default will have the system go through sysinit (which runs /sbin/rcS, running the scripts in /etc/rcS.d), then to run level 3. (which runs the scripts in rc2.d and rc3.d in order).
    Darren

  • How do I start slapd at boot time in leopard?

    Greeting,
      Forgive me if this is the wrong forum/community.
      I want to start slapd at boot time on my new leopard upgrade.  On tiger, it was as simple as having an LDAPSERVER=-YES- line in /etc/hostconfig.  That does not seem to work for leopard.  I can run slapd from the command line.  I needed to make changes to the slapd.conf tiger version and reload my database, but all is working fine.  I just have not been able to get the deamon to start at boot up.  It must be simple.  Any ideas?
      Thanks,
    --Linn

    Texas Mac Man,
      Thanks.  Slapd is the OpenLDAP daemon (server) delivered with MacOS, even Client.  No, starting at the user level is not what I need.  I can already do that in a terminal window with /usr/libexec/slapd, after I get su'ed to root.
      Think Unix, not iApps.  When the system boots up, there should be scripts available to start specific daemons.  I am looking for hints there.
    BDAqua,
      Thanks.  I had seen that first discussion before.  It deals with slapd failing when it tries to start on MacOS Server... where all these daemons indeed start at boot time.  I am just trying to figure out how to do in leopard what I successfully did in tiger, namely start /usr/libexec/slapd at boot time.
      And note, this is not an issue with slapd failing due to slapd.conf or database problems.  All works fine from the user lever start.
      Thanks,
    --Linn

  • How to automatically start postfix on boot?

    I often need postfix to send e-mail. To use postfix I need to start postfix everytime manually via the Terminal commandline.
    I would like to have postfix to be started automatically with booting.
    Is this possible in Mac OS X Snow Leopard? How can it be done?

    There is already an org.postfix.master.plist file in /System/Library/LaunchDaemons
    I had an old copy of Postfix Enabler from http://cutedgesystems.com/ but didn't appreciate having to buy a new program when Leopard came out, so I rolled my own. Here is my edited org.postfix.master.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>org.postfix.master</string>
    <key>OnDemand</key>
    <false/>
    <key>Program</key>
    <string>/usr/libexec/postfix/master</string>
    <key>ProgramArguments</key>
    <array>
    <string>master</string>
    </array>
    <key>QueueDirectories</key>
    <array>
    <string>/var/spool/postfix/maildrop</string>
    </array>
    </dict>
    </plist>
    This will enable you to send mail. You can setup your Mac to receive mail too, but that is a bit more involved.

  • How to auto start services like apache in a zone when i boot it

    Current i have a zone that has a web service configure and it runs fine with "/etc/init.d/apache start"
    but i would like to auto start it like a service when the zone boots.
    correct me if i am correct but i think it should be in a start up script.
    please advise me on how to achieve the above
    thanks
    r@ymond

    I suggest taking a closer look at http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5n0?a=view which explains the whole booting process in detail.
    Apart from that you may also want to check the "ln" manualpage (ln(1)) which explains how to make symlinks on Solaris. After that it should be relatively easy; you basicly create a (sym)link in the right directory and then you're homefree.

  • [SOLVED] How do I start scripts at boot up?

    I've been looking around for awhile and can't find a way to auto-start scripts I've written in the console (the only ways I've found are for older systems using /etc/rc.local, but my system doesn't have this file.  The only things I've found for systemd are about starting daemons.  I'm not running a desktop environment on this system nor do I plan to (I'm using this machine as a server), so I can't put the scripts in a directory that auto-starts them like I can in KDE (and even then, I think that's only auto-starting them after login; I need these scripts to run without need of logging in).  And since my scripts aren't services I can't use "systemctl enable" to make them start at bootup.
    Does anyone know how to start scripts when the system boots?
    Last edited by Zukaro (2013-01-10 23:02:22)

    https://wiki.archlinux.org/index.php/Sy … process.3F

  • How to auto start XAMPP at boot?

    Placing:
    /opt/lampp/lampp start
    in the session will not work because it needs sudo priviliges. But I don't how to config it to auto start at boot on Arch Linux. Thanks

    Probably /etc/rc.local would be your best bet.

  • How do I start IDS upon boot on OSX 10.5?

    I'm trying to start IDS CS3 upon system bootup, which worked just fine by adding a StartupItem under 10.4.
    However, under 10.5, this no longer works.
    Anyone have any suggestions whatsoever, I'm happy to try them out, as long as it doesn't involve always logging in a user...

    Interesting. We have written a script that we place in /Library/StartupItems which works just fine under 10.4, but under 10.5, we get errors indicating that it's trying to access the UI session and isn't signed.
    Have you changed your system configuration in any way to circumvent this? Or am I just missing something fundamental here? I do have lot's of sysadmin experience with SunOS and Linux, but very little when it comes to BSD and OSX, so it's plausible I'm going at this the wrong way.
    If you post your script, I'm happy to try it and see if it works for me and learn from any misstakes I've made in my setup.

  • TS4062 When i go to itunes i get message , Phone can not sync to Itunes cause apple mobile device service is not started. How do I start it?

    When i try to sync to itunes i get message== phone can not sync to itunes cause apple mobile device service is not started, how do i start service?

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • How to change daemon (service) start order by systemd?

    how to change daemon (service) start order by systemd? I want getty start after all other service have been started.

    hoanglan87 wrote:If you do that, you'll not see services messages when booting.
    That's the whole point. Once your system's working fine, you don't need to slow your boot down with those messages. You can always get them back by hitting the "e" key (with Grub) and editing the kernel boot line. Unless you've set your time-out to 0, which is probably not a good idea for most of us. Those service messages don't seem to be logged anywhere (although, there's lots of other logging you can enable). Anyway, we're thread-drifting here, sorry.

  • Auto Start Windows File Services on Boot

    I am trying to figure out how to set a service (specifically Windows File Sharing) to startup automatically on boot. I know when you first set up the server the setup assistant gives you the option to designate which services to start automatically but I cannot figure out how to do this after the fact. Any help would be appreciated.
    Thanks!
    Mac OS X Server 10.4.11

    Most services are enabled/disabled using the Server Admin app. The service named "Windows" allows you to configure and enable Windows file sharing. Once the service is enabled it will start after a reboot. Use Workgroup Manager to configure Windows shares.
    Server Admin and Workgroup Manager can be found in the /Applications/Server/ directory on your server. To make changes from a client machine you will need to install the server admin tools from the server cd's or by downloading them from apple.
    Hope that helps.

  • When i plug my itouch into my computeri get a pop-up that says "this ipod cannot be used because the apple mobile device service is not started." and when i plug it it my itouch name does not come up on my itunes, how do i start it and fix this?

    When I plug my iPod Touch 4g into my computer I get a pop-up that says "This iPod cannot be used because the Apple Mobile Device service is not started." And when I plug in my iTouch the name of the iTouch does not come up on my iTunes. How do I start the Apple Mobile Device? How do I fix this?

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • Error Message: This iPod can not be used because the Apple Mobile Device service is not started.  How do I start it?

    How do I start the Apple Mobile Device service?  or maybe I shouldn't get it.   I recently downloaded a Netflix app thinking it would work on my older iPod running version 3.1.3 and is only a 8 Gig device.  Could this be my problem?  The device doesn't even show up in "My Computer" or under devices in iTunes.  Any help would be appreciated?

    See this article for instructions on restarting the service (or re-installing if necessary).
    http://support.apple.com/kb/ts1567
    B-rock

  • I just got an iphone and am trying to connect it to my itunes account.  Getting the message " This iphone cannot be used because the Apple Mobile Device service is not started.  How do I start it?  Have already been back to the store with it and no change

    I just got an iphone and am trying to connect it to my itunes account.  Getting the message " This iphone cannot be used because the Apple Mobile Device service is not started.  How do I start it?  Have already been back to the store with it and no change.

    http://tinyurl.com/3hs3g2u

Maybe you are looking for