Edit services which start at boot

I need to add some services to my boot sequence which are launched by the launchd...
yes... to fix the bug that Apple's latest update has caused with pboard and Spotlight not starting.
I can manually start these services from a terminal window using launchctl but what I'd really like to know is where are the scripts that govern what services are loaded as OSX starts, because obviously that's where the problem is.

I see, so it just cycles through them at the boot sequence looking at when theyre meant to be launched...
Hmmm, Justin your posts have been very helpful in learning how OSX launches boot services but I'm now totally stuck as to why pboard (most important), Spotlight and UserEventAgent will not load even though their plists are exactly the same as on my other mac that works... I've even checked the binaries that these things relate to and the files seem fine.
Totally stuck now. I can't bear the thought of a clean install for a seemingly simple problem.
Is there any way OSX can repair its system files from install CD without a major reinstall?

Similar Messages

  • [solved] systemd services not starting at boot (or at all)

    On my router, some systemd services fail to start at boot.
    The services are :
    adsl (pppoe connetction on the wan interface)
    shorewall (funny again for a router)
    logind (brings up only tty1, and not the others with a 'timeout' error)
    adsl starts fine manually after booting up
    the others don't work, I have to launch shorewall with the old sysvinit rc script (and it works)
    I really don't know, what happened to logind...
    Last edited by scar (2012-11-30 10:20:44)

    cups: avahi client failed
    adsl: timeout (ppp0 running on eth0, the service did not found eth0)
    shorewall: did not work by the systemctl command, only with the old rc script
    I'm not sure if there was an error with logind, but I've had only tty1, not all the others (I have not touched /etc/inittab)
    since this was a very old install (but up to date), I've decided to reinstall the whole thing,
    Everything works
    (But reinstalling does not solve any problem, it erases the problems...)
    Last edited by scar (2012-11-30 10:21:20)

  • Trying to create a service that starts at boot

    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:
    svcs -a | grep patch
    disabled       18:23:23 svc:/site/patch-install:defaultI have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.
    BTW, I do not want the login prompt to appear until my method is complete.
    Thanks.
    -mschwage
    Here fyi is my /var/svc/manifest/site/patch-install.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='Patches:patch-install'>
    <service
            name='site/patch-install'
            type='service'
            version='1'>
            <create_default_instance enabled='false' />
            <single_instance />
            <dependent
                    name='patch-install_single-user'
                    grouping='require_all'
                    restart_on='none'>
                    <service_fmri value='svc:/milestone/single-user' />
            </dependent>
            <exec_method
                    type='method'
                    name='start'
                    exec='/var/tmp/S92delay'
                    timeout_seconds='86400' />
            <exec_method
                    type='method'
                    name='stop'
                    exec=':true'
                    timeout_seconds='0' />
            <property_group name='startd' type='framework'>
                    <propval name='duration' type='astring' value='transient' />
            </property_group>
            <stability value='External' />
            <template>
                    <common_name>
                            <loctext xml:lang='C'>
                            Install patchset upon boot.
                            </loctext>
                    </common_name>
            </template>
    </service>
    </service_bundle>

    Hushpuppy wrote:
    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.I'd probably create the service now (by importing the manifest manually rather than waiting for the reboot), then set general/enabled in the default instance to be be true with svcprop. That should tell it to start at boot, but not enable it immediately.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:Yes, that's the default. Or you can load it immediately to create the service now.
    # svccfg import patch-install.xml
    I have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.There's a difference between a "service" like network/smtp or console-login and an "instance" like network/smtp:sendmail or console-login:default. In most cases, you just want a single "default" instance of your service. The above line sets the default instance 'enabled' property to true or false. When I import your manifest as is, the service comes in as 'disabled'. If I set it to true, it comes in as 'maintenance' (almost certainly because it was enabled, tried to start, and couldn't find the start method on my machine).
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.'profiles' are loaded exactly once, and they are mainly used to set certain services to enabled or disabled.
    3 of them are loaded if present, platform.xml, generic.xml, and site.xml. The last is not generated by the OS, but left for you to use. But it's usually only useful as a "first boot" type thing. Because if you make changes to it, it will not be reread. This isn't usually a problem because after first boot you're in control of the services. The usual thing is that at first boot the manifests load to create services, then the profiles are loaded to set then enabled or disabled. This isn't possible before that point because there's no service to modify yet.
    BTW, I do not want the login prompt to appear until my method is complete.Any login prompt like a network login, or only the console login prompt? If the latter, then you'll want a dependency so that system-console-login depends on your service. But if your service has a problem at boot time, you'd make it difficult to log in.
    Darren

  • Forefront Protection controller services not starting

    We're running SharePoint 2010 SP2 with cumulative update April 2014 and had to recently do a server restore from backup. When the servers were brought back up, the Forefront service won't start. I can start the Microsoft Forefront Server Protection Controller
    for SharePoint service but the Microsoft Forefront Server Protection Controller service won't start. It complains about a dependency on the Microsoft Forefront Server Protection Eventing Service which starts then stops (this is what the message says)
    Has anybody got any suggestions on how to troubleshoot this problem?

    Hi,
    Have you tried to start Microsoft Forefront Server Protection Eventing Service manually? Please check event log to see whether there are any helpful information.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows Vista Home Premium (64-bit) is slow. Which start-up services should run?

    I recently had to use system restore and make a few changes to get my system running again.  Ooops. I now have a very slow computer whereas it was working fine before.  I haven't recently installed any new software or hardware and suspect that some essential start-up services may have been disabled, stopped or set to manual while some other unused services may have been set to start, automatic or automatic (delayed).
    Can someone please direct me to another thread (if available) or list which start-up services should be in which state?
    Thank you!
    System details:
     ~ HP IQ818A 
     ~ Windows Vista Home Premium
      ~ Service Pack 1 
     ~ 4GB RAM 
     ~ 64-bit 
     ~ avast! Anti-virus is active 

    Sydney,
    I don't have an IQ818 at the moment, all I have is an IQ506T - from last fall.  I had just done a recovery of it.
    Note:  1) I did choose to NOT perform automatic updates, 2) I haven't yet configured Norton, and 3) I haven't turned off TouchSmart from running in the background.
    This isn't exactly your system, but it would be somewhat close.  Your safest bet would be to recover and start over, but here goes with the services listings.  Please note its comma delimited - you can look at it better with something like Excel, Works or Open Office.
    Good luck on this.
    -dm (an HP employee, but the comments/etc, are mine, not HP's)
    Name,Status  ,Startup Type,,
    Andrea ADI Filters Service,Started,Automatic,,
    Application Experience,Started,Automatic,,
    Application Information,Started,Manual,,
    Application Layer Gateway Service,,Manual,,
    Automatic LiveUpdate Scheduler,,Disabled,,
    Background Intelligent Transfer Service,Started,Automatic (Delayed Start),,
    Base Filtering Engine,Started,Automatic,,
    Bluetooth Support Service,Started,Automatic,,
    CalendarSynchService,Started,Automatic,,
    Certificate Propagation,,Manual,,
    CNG Key Isolation,Started,Manual,,
    COM Host,,Manual,,
    COM+ Event System,Started,Automatic,,
    COM+ System Application,,Manual,,
    Computer Browser,,Automatic,,
    Cryptographic Services,Started,Automatic,,
    DCOM Server Process Launcher,Started,Automatic,,
    Desktop Window Manager Session Manager,Started,Automatic,,
    DFS Replication,,Manual,,
    DHCP Client,Started,Automatic,,
    Diagnostic Policy Service,Started,Automatic,,
    Diagnostic Service Host,,Manual,,
    Diagnostic System Host,Started,Manual,,
    Distributed Link Tracking Client,Started,Automatic,,
    Distributed Transaction Coordinator,,Manual,,
    DNS Client,Started,Automatic,,
    Extensible Authentication Protocol,Started,Manual,,
    Function Discovery Provider Host,Started,Manual,,
    Function Discovery Resource Publication,Started,Automatic,,
    GameConsoleService,,Manual,,
    Group Policy Client,Started,Automatic,,
    Health Key and Certificate Management,,Manual,,
    HP Health Check Service,Started,Automatic (Delayed Start),,
    HP Touch Screen Enhance,Started,Automatic,,
    Human Interface Device Access,Started,Automatic,,
    IKE and AuthIP IPsec Keying Modules,Started,Automatic,,
    Interactive Services Detection,,Manual,,
    Internet Connection Sharing (ICS),,Disabled,,
    IP Helper,Started,Automatic,,
    IPsec Policy Agent,Started,Automatic,,
    KtmRm for Distributed Transaction Coordinator,Started,Automatic (Delayed Start),,
    Link-Layer Topology Discovery Mapper,,Manual,,
    LiveUpdate,,Manual,,
    LiveUpdate Notice,Started,Automatic,,
    Microsoft .NET Framework NGEN v2.0.50727_X64,,Manual,,
    Microsoft .NET Framework NGEN v2.0.50727_X86,,Manual,,
    Microsoft iSCSI Initiator Service,,Manual,,
    Microsoft Office Diagnostics Service,,Manual
    Microsoft Software Shadow Copy Provider,,Manual
    Multimedia Class Scheduler,Started,Automatic
    Net.Tcp Port Sharing Service,,Disabled
    Netlogon,,Manual
    Network Access Protection Agent,,Manual
    Network Connections,Started,Manual
    Network List Service,Started,Automatic
    Network Location Awareness,Started,Automatic
    Network Store Interface Service,Started,Automatic
    NVIDIA Display Driver Service,Started,Automatic
    Office Source Engine,,Manual
    Parental Controls,,Manual
    Peer Name Resolution Protocol,,Manual
    Peer Networking Grouping,,Manual
    Peer Networking Identity Manager,,Manual
    Performance Counter DLL Host,,Manual,,
    Performance Logs & Alerts,,Manual,,
    Plug and Play,Started,Automatic,,
    PnP-X IP Bus Enumerator,,Manual,,
    PNRP Machine Name Publication Service,,Manual,,
    Portable Device Enumerator Service,Started,Automatic,,
    Print Spooler,Started,Automatic,,
    Problem Reports and Solutions Control Panel Support,,Manual,,
    Program Compatibility Assistant Service,Started,Automatic,,
    Protected Storage,,Manual,,
    Quality Windows Audio Video Experience,,Manual,,
    ReadyBoost,Started,Automatic,,
    Remote Access Auto Connection Manager,,Manual,,
    Remote Access Connection Manager,Started,Manual,,
    Remote Procedure Call (RPC),Started,Automatic,,
    Remote Procedure Call (RPC) Locator,,Manual,,
    Remote Registry,,Manual
    Routing and Remote Access,,Disabled
    Secondary Logon,Started,Automatic
    Secure Socket Tunneling Protocol Service,Started,Manual
    Security Accounts Manager,Started,Automatic
    Security Center,Started,Automatic (Delayed Start)
    Server,Started,Automatic
    Shell Hardware Detection,Started,Automatic
    SL UI Notification Service,,Manual
    Smart Card,,Manual
    Smart Card Removal Policy,,Manual
    SNMP Trap,,Manual
    Software Licensing,Started,Automatic
    SSDP Discovery,Started,Manual
    Superfetch,Started,Automatic
    Symantec Core LC,,Manual
    Symantec Event Manager,Started,Automatic
    Symantec Lic NetConnect service,Started,Automatic
    Symantec Settings Manager,Started,Automatic
    System Event Notification Service,Started,Automatic
    Tablet PC Input Service,Started,Automatic
    Task Scheduler,Started,Automatic
    TCP/IP NetBIOS Helper,Started,Automatic
    Telephony,Started,Manual
    Terminal Services,Started,Automatic
    Terminal Services Configuration,,Manual
    Themes,Started,Automatic
    Thread Ordering Server,,Manual
    TPM Base Services,,Automatic (Delayed Start)
    UPnP Device Host,Started,Automatic
    User Profile Service,Started,Automatic
    Virtual Disk,,Manual
    Volume Shadow Copy,,Manual,,
    WebClient,Started,Automatic,,
    Windows Audio,Started,Automatic,,
    Windows Audio Endpoint Builder,Started,Automatic,,
    Windows Backup,,Manual,,
    Windows CardSpace,,Manual,,
    Windows Color System,,Manual,,
    Windows Connect Now - Config Registrar,,Manual,,
    Windows Defender,Started,Automatic,,
    Windows Driver Foundation - User-mode Driver Framework,Started,Automatic,,
    Windows Error Reporting Service,Started,Automatic,,
    Windows Event Collector,,Manual,,
    Windows Event Log,Started,Automatic,,
    Windows Firewall,Started,Automatic,,
    Windows Image Acquisition (WIA),Started,Automatic,,
    Windows Installer,,Manual,,
    Windows Management Instrumentation,Started,Automatic,,
    Windows Media Center Extender Service,,Disabled,,
    Windows Media Center Receiver Service,,Manual,,
    Windows Media Center Scheduler Service,,Manual,,
    Windows Media Center Service Launcher,,Automatic (Delayed Start),,
    Windows Media Player Network Sharing Service,,Manual,,
    Windows Modules Installer,,Manual,,
    Windows Presentation Foundation Font Cache 3.0.0.0,Started,Manual,,
    Windows Remote Management (WS-Management),,Manual,,
    Windows Search,Started,Automatic,,
    Windows Time,Started,Automatic,,
    Windows Update,Started,Automatic (Delayed Start),,
    WinHTTP Web Proxy Auto-Discovery Service,Started,Manual,,
    Wired AutoConfig,,Manual,,
    WLAN AutoConfig,Started,Automatic,,
    WMI Performance Adapter,,Manual,,
    Workstation,Started,Automatic
    -DM (HP Retiree)
    NOTE: If this helps you or solved your problem - please say thanks by clicking the white kudos star on the left.
    If you think this would also help others, please mark 'Accept as Solution' to help them find it easier.

  • Since I upgraded I can't edit my files - keepts asking me to buy the service which I already purchased

    Since I upgraded I can't edit my files - keepts asking me to buy the service which I already purchased

    Hi teresaf31018510,
    Could you please share the screenshot of the error message that appears when you try to edit PDFs.
    Also, let me know if you have purchased license or subscription for Acrobat DC version.
    Hope to hear from you.
    Regards,
    Anubha

  • I have a 4th gen ipod nano which will not sync after restore. i have run itunes diagnostics and attached thMicrosoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)e results. can you help please?

      Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
    Sony Corporation VGN-NS20E_P
    iTunes 10.6.1.7
    QuickTime 7.7.1
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ACE4032C3EC8
    Current user is not an administrator.
    The current local date and time is 2012-05-26 22:17:26.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name: {78DA402D-66EE-4084-9D5E-8A010E0B8437}
    Description: Atheros AR928x Wireless Network Adapter
    IP Address: 192.168.2.8
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.2.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.2.1
    Lease Obtained: Sat May 26 19:10:42 2012
    Lease Expires: Sat May 26 19:10:41 2012
    DNS Servers: 192.168.2.1
    Adapter Name: {C1458549-CA0B-4A3B-8F8E-9259653AA0DD}
    Description: Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Controller
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway: 0.0.0.0
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Thu Jan 01 00:00:00 1970
    Lease Expires: Thu Jan 01 00:00:00 1970
    DNS Servers:
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-05-26 20:57:29.
    **** Device Connectivity Tests ****
    iPodService 10.6.1.7 is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) ICH9 Family USB Universal Host Controller - 2934. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2935. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2936. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2937. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2938. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2939. Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A. Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    RICOH OHCI Compliant IEEE 1394 Host Controller. Device is working properly.
    Connected Device Information:
    JULES'S IPO, iPod nano (4th Generation) running firmware version 1.0.4
    Serial Number: YM839W553QU
    Bus Speed: 61440
    Most Recent Devices Not Currently Connected:
    iPhone 4S running firmware version 5.0.1
    Serial Number: DNWH3R84DTD2
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    Hello, VvioletT. 
    Thank you for visiting Apple Support Communities.
    I see you are experiencing issues syncing your iOS device.  Here are a couple articles that I would recommend going through when experiencing this issue.
    iOS: Troubleshooting USB-related alerts when syncing
    http://support.apple.com/kb/TS5254
    Resolve issues between iTunes and security software
    http://support.apple.com/kb/ts3125
    Cheers,
    Jason H.

  • Preventing Coldfusion (developer edition) starting on boot up

    Hi,
    Is there an easy way I can prevent my local install of
    coldfusion 7 starting on bootup? I'd rather manually fire it up
    when needed. Would I need to write my own script or is there one
    already available. I haven't been able to google any answers.
    Cheers

    Yes, assuming you are on WinXP, this is what I do on my
    development machine. Go to Start Menu -> Run and type
    services.msc. Turn off all the ColdFusion services by switching
    them to Manual. Then you can write some batch files to start and
    stop the ColdFusion services.
    Start Batch File:
    NET START "ColdFusion MX 7 Application Server"
    NET START "ColdFusion MX 7 ODBC Agent"
    NET START "ColdFusion MX 7 ODBC Server"
    NET START "ColdFusion MX 7 Search Server"
    Stop Batch File:
    NET STOP "ColdFusion MX 7 Application Server"
    NET STOP "ColdFusion MX 7 ODBC Agent"
    NET STOP "ColdFusion MX 7 ODBC Server"
    NET STOP "ColdFusion MX 7 Search Server"

  • [SOLVED - partly] Minidlna won't start on boot, but OK otherwise

    I am using an up-to-date system as of 2012-11-13. The problem is that minidlna fails to start on boot:
    minidlna.service - minidlna server
    Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
    Active: failed (Result: exit-code) since Tue, 2012-11-13 07:53:55 CET; 1h 33min ago
    Process: 401 ExecStart=/usr/sbin/minidlna -P /var/run/minidlna/minidlna.pid (code=exited, status=255)
    CGroup: name=systemd:/system/minidlna.service
    Nov 13 07:53:59 earth minidlna[401]: [2012/11/13 07:53:54] minidlna.c:754: fatal: No IP address automatically detected!
    So I guess it has to do something with the network, I am using DHCP, with systemd + net-auto-wired.service.
    I have found this: https://ask.fedoraproject.org/question/ … r-dhcp-has
    They have solved the problem by changing the after part in the unit by adding: dbus-org.freedesktop.NetworkManager.target
    Since I do not use networkmanager, this is not an option for me. The current, unmanipulated state of the minidlna unit is:
    [Unit]
    Description=minidlna server
    After=network.target
    [Service]
    Type=forking
    User=nobody
    ExecStart=/usr/sbin/minidlna -P /var/run/minidlna/minidlna.pid
    PIDFile=/var/run/minidlna/minidlna.pid
    [Install]
    WantedBy=multi-user.target
    What I have noticed is that it refers to a network.target in the after section, but it seems to me that I don't have one.
    I only have:
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    basic.target loaded active active Basic System
    cryptsetup.target loaded active active Encrypted Volumes
    getty.target loaded active active Login Prompts
    graphical.target loaded active active Graphical Interface
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User
    remote-fs.target loaded active active Remote File Systems
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    12 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    Edit: having run the command again with the --all prefix:
    Notice: network.target         loaded inactive dead       Network
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    basic.target loaded active active Basic System
    cryptsetup.target loaded active active Encrypted Volumes
    emergency.target loaded inactive dead Emergency Mode
    final.target loaded inactive dead Final Step
    getty.target loaded active active Login Prompts
    graphical.target loaded active active Graphical Interface
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User
    network.target loaded inactive dead Network
    nss-lookup.target loaded inactive dead Host and Network Name Lookups
    nss-user-lookup.target loaded inactive dead User and Group Name Lookups
    remote-fs.target loaded active active Remote File Systems
    rescue.target loaded inactive dead Rescue Mode
    shutdown.target loaded inactive dead Shutdown
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    syslog.target loaded inactive dead Syslog
    umount.target loaded inactive dead Unmount All Filesystems
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    21 loaded units listed.
    To show all installed unit files use 'systemctl list-unit-files'.
    My question is what should I add to the after part to make minidlna work upon booting? Wouldn't a graphical.target be an overkill?
    Thanks in advance.
    Last edited by szebenyib (2012-12-02 16:45:26)

    szebenyib wrote:(However I cannot access the internet that way, maybe because of a bad network file. Honestly I have some space to improve my network knowledge.)
    In the case of the possible bad network file. here is what it expects.  First, you need to know the router's IP address.  In the following I will assume 192.168.0.1 for the router's IP address.
    192.168.0.1 is common for D-Link routers, but it does vary by router manufacturer and model.  I believe 192.168.1.1 is common for Linksys.
    /etc/conf.d/network
    interface=eth0                                    # ethernet port to activate, usually eth0
    address=192.168.0.110                     # IP address you want the minidlna computer to have. the first 3 triads must be the same as the router's IP addr in this case 192.168.0  the fourth triad can be from 5 to 250
    netmask=24
    broadcast=192.168.0.255                  # the first 3 triads must be the same as the router's IP address and the fourth triad should be 255
    gateway=192.168.0.1                         # the IP address of your router
    In a terminal window, enter:
    systemctl restart network.service
    ping -c5 127.0.0.1
    which is localhost.  The -c5 means ping 5 times then quit.  If you get: 5 packets transmitted, 5 received, 0% packet loss    then the ping was successful, which means
    that the ethernet port (usually eth0) is active.  If this ping is not successful, go back and check the syntax and spelling in both /etc/conf.d/network and /etc/systemd/system/network.service
    If the ping is successful:
    ping -c5 192.168.0.1
    and ping the router.
    If you cannot ping the router's IP address, then there is still something wrong in one of the two involved files. or the router's settings need to be changed.
    If you can ping the router's IP address successfully and still cannot get to the internet, you probably have DNS server issues.
    ping -c5 google.com
    ping -c5 8.8.8.8
    If you cannot ping google.com but can ping 8.8.8.8 then you have DNS problems, see Arch WIKI resolv.conf
    My network is a mixture of DHCP and STATIC IP addresses.  In my router, I have the DHCP server enabled to give IP addresses between 192.168.0.10 and 192.168.0.60
    this gives the router 50 DHCP addresses to work with which is more that enough for my home network.  The rest of the addresses between 192.168.0.61 and 192.168.0.250
    can be used as static addresses.  Just an example, this can be changed as necessary.
    HTH
    Pudge

  • Exchange 2013 CU5 fresh install suffering issues with services not starting and coexistence with 2007

    Hi everyone,
    Hope you can help me out on a couple of issues I've been experiencing during the initial stages of a project to upgrade an on premise Exchange 2007 to 2013.
    On Monday last week I installed the first Exchange 2013 server into the network after a few weeks of careful planning, information gathering and remediation of our current Exchange 2007 environment and associated systems.
    The server itself has been having some issues from the word go, some of which I've resolved but none that are show stoppers but I want to get them resolved before building more servers and setting up the planned 2 x 2 node DAG's
    The main problems are as follows:
    There's usually one service that does not start following an OS restart and it's not always the same service. So far I've seen the following not start: DAG Management, Migration Workflow, Anti-spam Update, Unified Messaging, UM Call Router, Transport
    Service.
    The critical system event log entries are complaining of timeouts when the services are starting up but I can't imagine that the servers boot time is too long...  It's a 2 vCPU/12Gb vRAM VM, Windows 2012 R2
    I receive an error in the Event Log regarding RPC over HTTP Proxy
    to one of the 2007 CAS servers (not our primary one). The first error was because the Windows Component was missing but since installing it, disabling Outlook Anywhere, reenabling it, restarting the server, I now have a new error which is shown further down
    this post
    The Exchange 2013 server install is pretty default, CAS/MBX roles and some basic configuration performed such as new DNS entries, Public SSL certs installed and assigned, URL's updates, SCP updated. I have review and resolved some errors from the event logs
    for over chatty warnings about disk space (the warning is that we have loads of space...)
    This is a brief outline of the environment:
    Exchange 2007 SP3 RU13
    UK - Two physical locations in a stretch LAN (100Mb WAN)
    4 x CCR Cluster Mailbox Servers in two separate CCR Clusters
    Cluster 1 - Windows 2003 R2: One physical, one virtual server - don't ask, legacy install and I know the virtual is not a supported configuration.
    Cluster 2 - Windows 2008 R2: Two virtuals - New cluster built following a 4 day failure of Cluster 1. The aim was to move to supported config and decommission cluster 1.
    Note: Migration of Cluster 1 to Cluster 2 was halted as 2013 was so close it seemed pointless to continue the migration and instead migrate both Clusters to 2013 once in production.
    2 x Virtual Windows 2003 R2 - Hub Transport Servers
    2 x Virtual Windows 2003 R2 - Client Access Servers
    1 x Virtual Windows 2003 R2 - Unified Messaging Server
    1 x Virtual Windows 2003 R2 - Edge Transport Server (DMZ)
    US - One physical location
    1 x Physical Windows 2008 R2 - Mailbox, Client Access, Hub Transport Server
    Exchange 2013 CU5
    UK - Installed into same site along side Exchange 2007 servers
    1 x Virtual Windows 2012 R2 - Mailbox, Client Access Server
    Problem 2 Error Message - Please note, server names and domain name changed:
    Log Name:      Application
    Source:        MSExchange Front End HTTP Proxy
    Date:          18/07/2014 10:00:37
    Event ID:      3005
    Task Category: Core
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      EXC2013.domain.local
    Description:
    [RpcHttp] Marking ClientAccess 2010 server EXC2007CAS1.domain.local (https://EXC2007CAS1.domain.local/rpc/rpcproxy.dll) as unhealthy due to exception: System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Exchange.HttpProxy.ProtocolPingStrategyBase.Ping(Uri url)
    Event Xml:
    <Event xmlns=http://schemas.microsoft.com/win/2004/08/events/event>
      <System>
        <Provider Name="MSExchange Front End HTTP Proxy" />
        <EventID Qualifiers="32768">3005</EventID>
        <Level>3</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-07-18T09:00:37.000000000Z" />
        <EventRecordID>64832</EventRecordID>
        <Channel>Application</Channel>
        <Computer>EXC2013.domain.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>RpcHttp</Data>
        <Data>EXC2007CAS1.domain.local</Data>
        <Data>https://EXC2007CAS1.domain.local/rpc/rpcproxy.dll</Data>
        <Data>System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Exchange.HttpProxy.ProtocolPingStrategyBase.Ping(Uri url)</Data>
      </EventData>
    </Event>

    Hi Off2work,
    I've gone through the article and the Get-OutlookAnywhere commandlet looks fine (especially when compared with our working CAS).
    Having looked through IIS I have spotted two additional misconfigurations with a missing setting to require SSL on the RPC folder and also the .NET version was not set.
    I've now set those to Require SSL and .NET 2.0.5072 however this has made no difference following restarted of both 2007 CAS and 2013 servers.
    I could potentially reinstall the CAS server or additionally decommission it as we have two of them and the other is not causing any errors with the 2013 server. This broken CAS server doesn't even have DNS records (except it's own hostname) or firewall
    rules pointing to it, nor does it have any active client connections if I check with a quick netstat -a
    As for UM, it's next on my list following some client/server connectivity testing so I have not yet assigned the SSL to the services or setup the dial plans, etc.
    The services do start most of the time, but others then don't so it's not a consistent issue with just this service. On my current boot, the DAG Management service failed to start, but again I don't have a DAG implemented yet.
    I will see if UM drops out of that list once I've configured it shortly
    Thanks for taking the time to respond (and that goes to DareDevil too)

  • Oracle distributed document capture service not started

    Oracle distributed document capture service not started
    and timeout

    I did check the Distributed Document Capture Configuration (from the Start menu) and it also indicates that I have selected "Oracle Distributed Document Capture Prompted Login". Once I click "OK" after I supplied all the paths required by server settings, it also displays the error "The username and password could not be validated". What credentials should be entered in the User ID / Password / Domain fields? You should use the username and password entered while configuring the "capture" security model. Leave the domain field blank.
    I have not yet configured the IIS at this point. Is it required for the Capture application to authenticate the user I specified during the installation configuration at login? IIS will serve web ODDC interface and will be needed for authentication while accessing ODDC web pages. I beleive that it is not needed for authentication from ODC/ODDC applets. However, when something is not working as expected, I would first finish all required installation and especially post installation setup steps.
    I had a look at the IIS configuration in the installation document. It doesn't clearly state which document is the default document for the website one needs to create in IIS. Do you know what it should be? You have to add new web site, say like "Capture" and add virtual directory from assumed path like: C:\Program Files\Oracle\Document Capture\WebPages
    For the default document I have WebCapture.asp.
    The Oracle Distributed Document Capture service does no start on my PC. Is this required for me to atleast login to the Capture application? It's required only for processing the scanned batches.
    I hope that this will help.
    Boris
    Edited by: tombo on 2012.03.16 06:32

  • Weblogic managed service not starting up after Windows restart

    Hi All
    I have an issue with start up of Managed instances configured as windows service. When we reboot the machine the services which are configured to be automatically start are not starting up. When I manually start them they would just run fine. I have no clue why this is happening. We have our applications running on Weblogic Server 8.1 SP6
    I already tried the following method stated in this URL http://www.javagalaxy.com/forum/viewtopic.php?f=8&t=188? and had no luck with the service start up.
    Can someone please guide me through what I can do to fix this issue.
    Thanks in advance for help.
    Edited by: user4970372 on May 7, 2010 7:28 AM

    I did enable the log and see the same error
    <May 19, 2010 1:07:00 PM CDT> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
    [com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
    com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
         at com.rsa.jsafe.JA_PKCS5Padding.a([BIILjava.lang.Object;)I(Unknown Source)
         at com.rsa.jsafe.JG_BlockCipher.decryptFinal([BI)I(Unknown Source)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
         at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
         at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
         at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
         at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
         at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
         at weblogic.Server.main(Server.java:32)
    --------------- nested within: ------------------
    weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
    [com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:77)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
         at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
         at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
         at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
         at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
         at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
         at weblogic.Server.main(Server.java:32)
    >
    <May 19, 2010 1:07:00 PM CDT> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
    [com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]>
    The WebLogic Server did not start up properly.
    com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
         at com.rsa.jsafe.JA_PKCS5Padding.a([BIILjava.lang.Object;)I(Unknown Source)
         at com.rsa.jsafe.JG_BlockCipher.decryptFinal([BI)I(Unknown Source)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
         at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
         at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
         at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
         at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
         at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
         at weblogic.Server.main(Server.java:32)
    --------------- nested within: ------------------
    weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
    [com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:77)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
         at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
         at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
         at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
         at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
         at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
         at weblogic.Server.main(Server.java:32)
    Reason: weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
    [com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
    ***************************************************************************

  • Does the SCOM 2012 agent "look back" in the logs before the service was started?

    Does the SCOM 2012 agent "look back" in the logs before the service was started?<o:p></o:p>
    We raised this question to our Microsoft rep back when we migrated to SCOM 2007. We wanted to know if SCOM would alert on errors generated before the Heath Service started. For example, errors
    logged before the service is started on reboot (which is when some critical errors are logged). We also wondered what happens when the service is restarted...would errors during the same window be missed?
    If I remember correctly the MS response was that the agent looks back on startup/restart based on a timestamp of some kind. We did some testing that seemed to confirm this information. I've
    recently encountered several instances of errors generated while the service was stopped (primarily during boot up) where SCOM failed to alert on the error.
    Can anyone confirm how the SCOM 2012 agent deals with errors generated before the service starts on boot and during service restarts?

    I would suspect it's with watermarks as it has been in the past.  What you should look into is if these alerts you were expecting are event based, and if there are rules set to alert for these conditions.  If so, and you don't get an alert,
    then you can bring that up with your msft rep.  However, they should be caught.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.
    There is a watermark. If the agent has been down for a significant period of time, the watermark may not apply, as the log would have rolled - but the entire log will still be processed regardless of what has already been discarded in the log. This may cause
    some problems if a monitor picks up an unhealthy state, and the healthy state log entry has already been flushed. In this case, you need to reset health on that particular monitor, or just flush the cache on the agent to start anew.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • [Resolved]LXDM service vs Startx on boot

    Quick Newbie Question:
    I current have the lxdm service starting on boot. However I do not start startx on boot. Does this mean xorg and lxdm are not configured properly. Everything works fine as far as i can tell. Are there any consequences to not running lxdm through startx on boot. Input is appreciated :^) thanks!
    Edit: I found this in my lxdm config file. Cons to running xserver with arg? "not fully function" meaning? thanks! :^)
    [server]
    ## arg used to start xserver, not fully function
    arg=/usr/bin/X -background vt1
    # uncomment this if you really want xserver listen to tcp
    # tcp_listen=1
    # uncoment this if you want reset the xserver after logou
    # reset=1
    Last edited by armond (2015-02-03 01:33:16)

    No real advantages, it's really just a matter of opinion.  Pick whichever way you prefer.

  • Firefox won't start on boot

    I have a sporadic, but consistent problem with Firefox. Shortly after booting the computer, I try to launch Firefox, but it doesn't start. I open the task manager and can see firefox.exe running under the Processes tab. I will be patient, having waited for other things that might be monopolizing the memory (such as a startup AV scan) to finish. A couple of times, I waited as long as ten minutes, but the Firefox window never opened. My only solution is to reboot the computer. At that point I get several error messages:
    "DDE Window Server not responding / End Program?"
    and
    "Acrodist.exe not responding / End Program?"
    and then "Firefox is not responding / End Program?"
    I did research on DDE Server Window and found that I could disable it in Windows Services - which I did. Yet, the error message still appears.
    Running Windows XP with SP3.
    Thanks for any help!

    Hello gabryant, sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    also, delete in your [http://kb.mozillazine.org/Profile_folder_-_Firefox#Windows profile folder] the [http://kb.mozillazine.org/User.js_file User.js] file you already have(except if you created).
    The user.js file does not exist by default. If you create the file, forget it, if you have not create the file then delete the User.js file, to see if the problem goes away (some programs create and write in the file also).
    thank you

Maybe you are looking for

  • Crystal report  error

    hi, i'm using crystal reports 11 in java, while calling that in tomcat server the following error is occured. javax.servlet.ServletException: Can't find bundle for base name crystalreportviewer, locale en_US bye

  • Error while loading hierarchies

    Dear all I am faicng the following errors while loading hierarchies from R/3 1.Error"Error in the hierarchial structure" When i open the logs i can see the follwing analysis,but not able to understand Analysis The node with the technical name 0000104

  • Disk Utility can't repair and refuse Partition to work

    Hi, Is there any ways to solve this message appearing in the Disk Utility? When i click repair disk on Disk Utility, message shown; Repairing permissions for “Macintosh HD” Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/

  • Boot Camp Error "You cannot partition an external disk drive"

    Hi all - I am trying to install Windows XP Pro via Boot Camp for the first time. I have all four bays of my MacPro (circa 2007) filled with hard drives. I boot off the first bay, and have a cal digit raid card that controls the other three hard drive

  • 2 Displays without using Mac Mini's thunderbolt connection?

    is it possible to connect to monitors without using the thunderbolt connection. I want to keep the thunderbolt connection for a fast external hard drive in the future. If it's not possible do you think it will be possible with the new 2013 Mini when