Tip regarding the "systemd[1]: Failed to start Journal Service" error

Just a tip regarding the well-known
systemd[1]: Failed to start Journal Service
error (which I ran into last weekend) to maybe save one or two among you a couple of hours of your time:
The error is described here https://bbs.archlinux.org/viewtopic.php?id=151012 as well as in several other threads in other language boards / in other forums etc. It is usually (as in the linked thread) 'solved' by reinstalling the system - good old Windows magic, also useful when dealing with systemd.
The Problem with this error is that you do not get into your system. Instead, systemd will print you the mentioned "Failed to start Journal Service" error message a couple of million times. There are also no logs that you could retrieve (when booting from a livesystem) and that would give you any helpful hints, since journal is systemd's logging service, old-style system logs are not kept, and the dmesg log doesn't survive the reboot with default settings.
As pointed out in the above mentioned thread, you will see a few more instructive error messages when adding 'emergency' to the kernel line in the bootloader config.
Now there may be plenty of reasons why the systemd journal service might not work. The most common and most annoying, however, appears to be this one:
In this case you will see that the problem actually lies in
systemd[1]: Cannot open /etc/machine-id: No such file or directory
Now, 'man machine-id' reveals that "the /etc/machine-id file contains the unique machine id of the local system that is set during installation. (...) The machine ID is usually generated from a random source (...)". It is obviously perfectly justified to refuse to boot the system because an absolutely insignificant random number is missing. As far as systemd is concerned anyway.
Usually, it seems, the /etc/machine-id is set by /usr/bin/systemd-machine-id-setup during installation or system upgrade. It is not documented anywhere that this is a rather important step and that you should better check if this was or was not actually done before rebooting. Obviously (but for no apparent reasons) systemd fails to run this (or to run this successfully) sometimes.
Also to be recommended: Always retain (back up) your old kernel and initramfs and edit your bootloader config appropriately to be able to boot with your old kernel again ... just to have one or two options left to get back into the system in case of running into an unpleasant surprise from the side of systemd or other packages.
The solution is, obviously, to create this file /etc/machine-id ... You probably want to do that from a livesystem (if you want to try it from the emergency shell, you would need to remount / (i.e. root) as rw and hope that systemd will not punish you for that) by just running the program that was designed for creating this file manually:  /usr/bin/systemd-machine-id-setup
http://permalink.gmane.org/gmane.comp.s … devel/7528 states that it might also work with merely creating the file 'touch /etc/machine-id'. Though I didn't try that since I had enough fun with systemd for one week and didn't want to break my system again just to see if that works.

Jristz wrote:
ackalker wrote:Sorry for necrobumping this.
Generating the machine-id in a consistent way is very important when working with KVM and containers, where the machine-id can be set for the VM or container. See `man systemd-machine-id-setup`.
Again, _don't_ just put some random UUID in there, especially not in the systemd package install script, this makes provisioning Arch Linux containers a PITA.
If you thing that the way that arch is handlynbg the machine-id is wrong or can be improved, then file a bug.
He already did.
Jristz wrote:Anyway, I thing if reinstalling systemd package or if systemd have a command to reinitialize the machine-id file.
Like so many of your posts, I had to read this a half dozen times before it made any sense. I think you're hinting at the utility that ackalker already pointed out in the post you're replying to. And, if you read the install scriptlet, you wouldn't need to think about whether or not reinstalling would be an option. You would know that it isn't.

Similar Messages

  • Systemd logind.service reports an error: Failed to start login service

    Hello,
    I found this error in /var/log/errors.log and /var/log/daemon.log although my system functions normally.
    It's been written there every 90 seconds!!!!:
    Dec 19 23:52:59 localhost systemd[1]: Failed to start Login Service.
    Dec 19 23:54:29 localhost systemd[1]: Failed to start Login Service.
    Dec 19 23:55:59 localhost systemd[1]: Failed to start Login Service.
    Dec 19 23:57:29 localhost systemd[1]: Failed to start Login Service.
    Dec 19 23:58:59 localhost systemd[1]: Failed to start Login Service.
    the process: systemd-logind.service seems to be working fine:
    [xxx@archbox ~]$ sudo systemctl status systemd-logind.service
    [sudo] password for xxx:
    systemd-logind.service - Login Service
    Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
    Active: activating (start) since Wed, 2012-12-19 23:49:59 CET; 49s ago
    Docs: man:systemd-logind.service(8)
    man:logind.conf(5)
    http://www.freedesktop.org/wiki/Software/systemd/multiseat
    Main PID: 11822 (systemd-logind)
    CGroup: name=systemd:/system/systemd-logind.service
    └─11822 /usr/lib/systemd/systemd-logind
    Dec 19 23:49:59 archbox systemd[1]: Starting Login Service...
    Dec 19 23:49:59 archbox systemd-logind[11822]: New seat seat0.
    Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event6 (P...on)
    Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event7 (V...us)
    Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event4 (L...ch)
    Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event5 (S...on)
    Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event3 (T...ns)
    Dec 19 23:49:59 archbox systemd-logind[11822]: New session 1 of user xxx.
    Dec 19 23:49:59 archbox systemd-logind[11822]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-...ay.
    and journalctl _PID=11822 returns:
    Dec 19 23:38:01 archbox sudo[21335]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
    Dec 19 23:38:01 archbox sudo[21335]: pam_unix(sudo:session): session opened for user root by xxx(uid
    Dec 19 23:38:01 archbox sudo[21335]: pam_unix(sudo:session): session closed for user root
    Dec 19 23:38:44 archbox sudo[22682]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
    Dec 19 23:38:44 archbox sudo[22682]: pam_unix(sudo:session): session opened for user root by xxx(uid
    Dec 19 23:38:44 archbox sudo[22682]: pam_unix(sudo:session): session closed for user root
    Dec 19 23:39:10 archbox sudo[23516]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
    Dec 19 23:39:10 archbox sudo[23516]: pam_unix(sudo:session): session opened for user root by xxx(uid
    Dec 19 23:39:29 archbox systemd[1]: systemd-logind.service operation timed out. Terminating.
    Dec 19 23:39:29 archbox systemd[1]: Failed to start Login Service.
    Dec 19 23:39:29 archbox systemd[1]: Unit systemd-logind.service entered failed state
    Dec 19 23:39:29 archbox systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
    Dec 19 23:39:29 archbox systemd[1]: Stopping Login Service...
    Dec 19 23:39:29 archbox systemd[1]: Starting Login Service...
    Dec 19 23:39:29 archbox systemd-logind[24096]: New seat seat0.
    Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event6 (Power B
    Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event7 (Video B
    Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event4 (Lid Swi
    Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event5 (Sleep B
    Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event3 (ThinkPa
    Dec 19 23:39:29 archbox systemd-logind[24096]: New session 1 of user xxx.
    Dec 19 23:39:29 archbox systemd-logind[24096]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-displa
    Dec 19 23:39:30 archbox sudo[23516]: pam_unix(sudo:session): session closed for user root
    Dec 19 23:40:08 archbox sudo[25314]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
    Dec 19 23:40:08 archbox sudo[25314]: pam_unix(sudo:session): session opened for user root by xxx(uid
    Dec 19 23:40:09 archbox sudo[25314]: pam_unix(sudo:session): session closed for user root
    Dec 19 23:40:43 archbox slim[641]: error 8: BadMatch (invalid parameter attributes) request 142 mino
    Dec 19 23:40:43 archbox slim[641]: error 9: BadDrawable (invalid Pixmap or Window parameter) request
    Dec 19 23:40:43 archbox slim[641]: error 4: BadPixmap (invalid Pixmap parameter) request 54 minor 0
    Dec 19 23:40:56 archbox sudo[26739]: xxx : TTY=pts/0 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
    Dec 19 23:40:56 archbox sudo[26739]: pam_unix(sudo:session): session opened for user root by xxx(uid
    Dec 19 23:40:59 archbox systemd[1]: systemd-logind.service operation timed out. Terminating.
    Dec 19 23:40:59 archbox systemd[1]: Failed to start Login Service.
    Dec 19 23:40:59 archbox systemd[1]: Unit systemd-logind.service entered failed state
    Dec 19 23:40:59 archbox systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
    Dec 19 23:40:59 archbox systemd[1]: Stopping Login Service...
    Dec 19 23:40:59 archbox systemd[1]: Starting Login Service...
    Dec 19 23:40:59 archbox systemd-logind[26935]: New seat seat0.
    Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event6 (Power B
    Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event7 (Video B
    Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event4 (Lid Swi
    Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event5 (Sleep B
    Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event3 (ThinkPa
    Dec 19 23:40:59 archbox systemd-logind[26935]: New session 1 of user xxx.
    Dec 19 23:40:59 archbox systemd-logind[26935]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-displa
    Updating system with pacman didn't solve it.
    Did I miss something out while migrating to systemd, is it a problem with SLiM or user session maybe ? Do you guys have any ideas where to start ? Thanks.
    Last edited by nastycino (2012-12-30 17:46:43)

    My /etc/systemd/logind.conf:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See logind.conf(5) for details
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #Controllers=
    #ResetControllers=cpu
    #InhibitDelayMaxSec=5
    HandlePowerKey=poweroff
    HandleSuspendKey=suspend
    HandleHibernateKey=hibernate
    HandleLidSwitch=suspend
    #PowerKeyIgnoreInhibited=no
    #SuspendKeyIgnoreInhibited=no
    #HibernateKeyIgnoreInhibited=no
    #LidSwitchIgnoreInhibited=yes
    Is there any way of reinstalling parts of systemd like logind.service?

  • Failed to start login service

    I have a simple system set up in virtualbox, mostly to browse and torrent. Rarely have major problems. Recently I realized that cron was not working when flexget was not activated as expected. A check of journalctl threw up repeated instances of the following:
    Jun 04 15:41:11 arch32VB systemd[1]: systemd-logind.service operation timed out. Terminating.
    Jun 04 15:41:11 arch32VB systemd[1]: Failed to start Login Service.
    Jun 04 15:41:11 arch32VB systemd[1]: Unit systemd-logind.service entered failed state.
    Jun 04 15:41:11 arch32VB systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
    Jun 04 15:41:11 arch32VB systemd[1]: Stopping Login Service...
    Jun 04 15:41:11 arch32VB systemd[1]: Starting Login Service...
    Jun 04 15:41:11 arch32VB systemd-logind[665]: Watching system buttons on /dev/input/event3 (Power Button)
    Jun 04 15:41:11 arch32VB systemd-logind[665]: Watching system buttons on /dev/input/event4 (Sleep Button)
    Jun 04 15:41:11 arch32VB systemd-logind[665]: New seat seat0.
    Jun 04 15:41:11 arch32VB systemd-logind[665]: New session 1 of user calvin.
    Jun 04 15:42:41 arch32VB systemd[1]: systemd-logind.service operation timed out. Terminating.
    Jun 04 15:42:41 arch32VB systemd[1]: Failed to start Login Service.
    Jun 04 15:42:41 arch32VB systemd[1]: Unit systemd-logind.service entered failed state.
    Jun 04 15:42:41 arch32VB systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
    Jun 04 15:42:41 arch32VB systemd[1]: Stopping Login Service...
    Jun 04 15:42:41 arch32VB systemd[1]: Starting Login Service...
    Jun 04 15:42:41 arch32VB systemd-logind[693]: Watching system buttons on /dev/input/event3 (Power Button)
    Jun 04 15:42:41 arch32VB systemd-logind[693]: Watching system buttons on /dev/input/event4 (Sleep Button)
    Jun 04 15:42:41 arch32VB systemd-logind[693]: New seat seat0.
    Jun 04 15:42:41 arch32VB systemd-logind[693]: New session 1 of user calvin.
    I use autologin to console (and then to X via bash_profile) and there is no glitch except that I find that getting to desktop takes a little longer these days. Thought it is due to psd. I have no idea when this happened as things have been OK.
    Any advice? I suspect that cron's failure is due to this issue though honestly I have no basis to think so. Systemctl shows cronie.service loaded and running. System is up to date.

    With all the changes over the past year, I have been wanting to set up a fresh installation to remove any old issues that might not have been properly dealt with over time. This current issue, and the fact that the move to consolidate everything to /usr/bin has happened, tilted the balance.
    New installation, login is OK, no repeated messages from systemd-logind, cronie is working.
    Why the problems, I have no idea. But the new installation is working well.

  • Failed to start Fail2Ban Service

    Hi All,
    I used to use fail2ban service to avoid SSH DDos hack in my Arch system.
    However, I found faiil2ban service failed to be started recently after I perform a system upgrade (pacman -Syu).
    I keep getting failure when try to start fail2ban service by "systemctl start fail2ban.service".
    Checked the status, I got below informatoin:
    [root@archx system]# systemctl status fail2ban.service
    ● fail2ban.service - Fail2Ban Service
       Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled)
       Active: failed (Result: start-limit) since Fri 2014-11-28 09:40:14 CST; 20min ago
         Docs: man:fail2ban(1)
      Process: 493 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=1/FAILURE)
    Nov 28 09:40:14 archx systemd[1]: Failed to start Fail2Ban Service.
    Nov 28 09:40:14 archx systemd[1]: Unit fail2ban.service entered failed state.
    Nov 28 09:40:14 archx systemd[1]: fail2ban.service failed.
    Nov 28 09:40:14 archx systemd[1]: start request repeated too quickly for fail2ban.service
    Nov 28 09:40:14 archx systemd[1]: Failed to start Fail2Ban Service.
    Nov 28 09:40:14 archx systemd[1]: Unit fail2ban.service entered failed state.
    Nov 28 09:40:14 archx systemd[1]: fail2ban.service failed.
    From the latest /var/log/error.log.1 I see below information:
    [root@archx log]# tail errors.log.1
    Nov 21 08:14:56 archx sshd[2646]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:14:58 archx sshd[2646]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:00 archx sshd[2646]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:02 archx sshd[2646]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:06 archx sshd[2657]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:08 archx sshd[2657]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:10 archx sshd[2657]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:12 archx sshd[2657]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:15:15 archx sshd[2657]: pam_tally(sshd:auth): pam_get_uid; no such user
    Nov 21 08:30:07 archx systemd-udevd[135]: [/usr/lib/systemd/network/99-default.link:2] Failed to parse interface name policy, ignoring: kernel
    I have no idea about systemd-udevd so I googled about it and found "Predictable Network Interface Names".
    http://www.freedesktop.org/wiki/Softwar … faceNames/
    Is the failure related to it or it's totally different?
    And any idea or guideline that could help me troubleshoot and resolve it?
    Your help is appreciated! Thanks!

    try to set 'backend = systemd' in the /etc/fail2ban/jail.conf file if 'sudo journalctl -xe' say some like
    -- Unit fail2ban.service has begun starting up.
    nov 27 21:39:38 sL1pKn07 fail2ban-client[1813]: ERROR No file(s) found for glob /var/log/auth.log
    nov 27 21:39:38 sL1pKn07 fail2ban-client[1813]: ERROR Failed during configuration: Have not found any log file for sshd jail
    nov 27 21:39:38 sL1pKn07 systemd[1]: fail2ban.service: control process exited, code=exited status=255
    nov 27 21:39:38 sL1pKn07 systemd[1]: Failed to start Fail2Ban Service.
    -- Subject: Unit fail2ban.service has failed
    Last edited by sl1pkn07 (2014-11-27 20:49:03)

  • What do i do when i try to sync my ipod touch to itunes and it shows me an error message that the sync session failed to start?

    what do i do when i try to sync my ipod touch to itunes and it shows me an error message that the sync session failed to start?

    Hello brainiac08
    Typically that error occurs because of a backup issue. Check out the article below to resolve it.
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Out of the box workflow failed on start when started programatically

    I have an approval workflow (out of the box) associated with a list and need to start it for some items programmatically when some conditions are met. 
    My application runs under an account which is a farm admin. I do have another user dedicated to start workflows. I'm using the code below but it always results in a 'failed on start'  with these errors
    2/27/2015 4:54 PM
    Workflow Cancelled
    System
    Account
    Workflow 'WorkflowName' was canceled by System Account.
    2/27/2015 4:54 PM
    Error
    System
    Account
    'WorkflowName' failed to start.
    Code is : 
    SPUserToken userToken = null;
                using (SPSite site = new SPSite("SiteName"))
                    using (SPWeb web = site.OpenWeb())
                        site.AllowUnsafeUpdates = true;
                        web.AllowUnsafeUpdates = true;
                        userToken = web.AllUsers["WorkflowAccount"].UserToken;
        site.AllowUnsafeUpdates = false;
                        web.AllowUnsafeUpdates = false;
                using (SPSite site = new SPSite("SiteName", userToken))
                    using (SPWeb web = site.OpenWeb())
                        site.AllowUnsafeUpdates = true;
                        web.AllowUnsafeUpdates = true;
                        SPWorkflowManager workflowManager = web.Site.WorkflowManager;
                        SPList list = web.Lists["LibName"];
                        SPListItem item = list.Items[1];
                        SPWorkflowAssociationCollection associationCollection = list.WorkflowAssociations;
                        foreach (SPWorkflowAssociation association in associationCollection)
                            if (association.Name == "WorkflowName")
                                association.AutoStartChange = true;
                                association.AutoStartCreate = false;
                                association.AssociationData = string.Empty;
                        site.WorkflowManager.StartWorkflow(item, association, association.AssociationData);
        break;
    site.AllowUnsafeUpdates = false;
                            web.AllowUnsafeUpdates = false;
    Is there any requirement on who can create the workflow? I can control who creates if I absolutely have to
    Any help/clues/directions appreciated.

    Hi LNFei,
    To troubleshooting the issue, I recommend to follow the steps as below:
    1.Start the workflow manually to check whether it works.
    2.Use another account not System Account to check whether it works.
    3.Publish the workflow as a different user (rather than System Account).
    4.Deactivate and Reactive the “Workflow” Feature.
    5.Check other workflows on other lists/libraries could work well.
    6.Create a simple workflow having only one activity which will log history only, check if it works well.
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • When I try to install Itunes64setup software in a w vista 64 notebook I get an error message "The application has failed to start because its side-by-side configuration is incorrect." Can you help me ?

    When I try to install Itunes64setup software in a w vista 64 notebook I get an error message "The application has failed to start because its side-by-side configuration is incorrect." Can you help me ?

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes for Windows forum.
    Regards.

  • OBIEE 10g Installation error "The application has failed to start because its side-by-side configuration is incorrect"

    Hi,
    I did installation of OBIEE10g on windows server 2008r2 which is placed on VM ware, Installation completed successfully. but while starting the BI services or opening the administration tool it is showing error as below
    "The application has failed to start because its side-by-side configuration is incorrect.Please see application event log or use the command line sxtrace.exe tool for more detail."
    Please guide me any suggestions.
    Thanks in advance
    Regards,
    Satya

    check these Error: The application has failed to start because the side by - Microsoft Community https://forums.oracle.com/message/10578756
    https://forums.oracle.com/thread/958782
    Resolving Side-by-Side Configuration Issues - OJ's perspective

  • Systemd Issues - Failed to start MyApp daemon

    Hi all,
    Sorry if I'm asking a stupid question, I'm new to Arch Linux, Pi, and Python. I have a Python script I'd like to start automatically after boot so I created a myapp.service file:
    [Unit]
    Description=MyApp daemon
    Requires=network.target
    [Service]
    Type=forking
    ExecStart=/root/bin/myapp/initmyapp.py
    ExecStop=/bin/kill $MAINPID
    [Install]
    WantedBy=multi-user.target
    After initmyapp.py runs it calls "myapp.py &" that's why I tried type=forking. I tested "systemctl start myapp" and it looks like it's working; I can see the process running. So, I did "systemctl enable myapp" which ran without errors and then I rebooted. After reboot, however, the process is not running and "systemctl status myapp" tells me this:
    myapp.service - MyApp daemon
              Loaded: loaded (/etc/systemd/system/myapp.service; enabled)
              Active: failed (Result: exit-code) since Wed, 1969-12-31 19:00:10 EST; 43 years and 0 months ago
             Process: 102 ExecStart=/root/bin/myapp/initmyapp.py (code=exited, status=1/FAILURE)
              CGroup: name=systemd:/system/myapp.service
    Dec 31 19:00:09 mybox initmyapp.py[102]: '_open', req)
    Dec 31 19:00:09 mybox initmyapp.py[102]: File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    Dec 31 19:00:09 mybox initmyapp.py[102]: result = func(*args)
    Dec 31 19:00:09 mybox initmyapp.py[102]: File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
    Dec 31 19:00:09 mybox initmyapp.py[102]: return self.do_open(httplib.HTTPConnection, req)
    Dec 31 19:00:09 mybox initmyapp.py[102]: File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
    Dec 31 19:00:10 mybox initmyapp.py[102]: raise URLError(err)
    Dec 31 19:00:10 mybox initmyapp.py[102]: urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
    Dec 31 19:00:10 mybox systemd[1]: Failed to start MyApp daemon.
    Dec 31 19:00:10 mybox systemd[1]: Unit myapp.service entered failed state
    Does this mean that networking is not ready yet? Instead of Requires=network.target I also tried Requires=multi-user.target but didn't work. I have no idea what I'm doing so any suggestion would be appreciated.

    Thank you for the quick response. I removed the kill part and "stop" still works. I also removed all the network includes to test it out and the background call too and after hours of trial and error I was finally able to make it work. Now I just have to figure out how to tell when the network is up. That article covers it for C (I think) but not for Python. It also seems very technical.
    Anyway, thanks again for your help.

  • I just tried to install the 11.4 update (or whichever one is the most recent update as of 1/26/2014) and when it failed i tried to install manually and now whenever i try to use it, i get the following error: the application has failed to start because MS

    i just tried to install the 11.4 update (or whichever one is the most recent update as of 1/26/2014) and when it failed i tried to install manually and now whenever i try to use it, i get the following error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." Right after i click ok i then get this error: "Itunes was not installed correctly. Please reinstall Itunes. Error 7 (Windows error 126)." I tried to uninstall Itunes and then reinstall the 11.03 version but that didnt work either. I want to know if i copy all of the music in my itunes folder to an external without consolidating can i still transfer all my itunes music from my current windows xp pc to a brand new one and have my current itunes library in my new pc? Basically i just want to know 3 things: What exactly does consolidating the itunes library do? Can i copy, paste, and transfer my itunes library to an external and from there to a new pc? Will i be able to transfer my itunes library without consolidating the files?

    I have found a temporary solution, allowing the previous version of iTunes (v. 11.1.3 (x64) in my case) to be re-installed.  It will allow you to re-establish use of iTunes until the Apple software engineers fix the most recent disasterous upgrade (v. 11.1.4).  Please see and follow the procedure in the following article:http://smallbusiness.chron.com/reverting-previous-version-itunes-32590.html   The previous version works beautifully.

  • My iphone 5 won't sync, even i restored. it always appeared " The iPhone could not be synced because the sync session failed to start.

    my iPhone 5 won't sync even i restored. it always appeared  "The iPhone could not be synced because the sync session failed to start.

    https://discussions.apple.com/thread/3415227?start=0&tstart=0
    https://discussions.apple.com/message/16400530#16400530

  • HT1296 My iphone wont sync and all I get is a message saying that the sync session failed to start, any ideas on what I do next?

    Pretty much as above, when I plug my iphone in it just comes up with the message saying the sync session failed to start and thats all I can get out of it :/
    Any ideas on what I need to do to get my iphone to talk to my itunes again please?

    Hi hblower,
    As a first step, I would suggest quitting your open apps:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Then sign out of iTunes:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311?viewlocale=en_US
    Restart and/or reset the device:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Are you running the latest version of iTunes?  If not, update the software and try syncing again …
    Cheers,
    Judy

  • "The ipod could not be synced because the sync session failed to start"  What does this mean?

    When syncing on iTunes, the syncing meter runs in iTunes in my computer but nothing appears in my device (It should have Sync In Progress).  Whenever I edit my music files (editing title, album and artwork), it edits in iTunes but when I eject my device, nothing's changed.  My device is a 3rd Gen iTouch and this is my second 3rd gen iTouch unit.  I lost my first unit and am familiar with how it operates so I do not understand what is causing this.  The 4 view option buttons "show items in a song list... etc" (beside the search field, upper right corner) won't work. Now in my 3rd attempt to sync, as i right click on my ipod name in iTunes to select sync, this appears ,"The ipod could not be synced because the sync session failed to start" and my only option is to click OK.  Please help.  My apps are kinda slow too and theres a slight delay opening files and apps in my iTouch.

    Try this previous discussion:
    Sync Session Failed to Start iTouch iOS5: Apple Support Communities

  • IOS 5: The iPad "..." could not be synced because the sync session failed to start.

    Am trying to migrate into the iCloud and updated:
    1. Mac Air to 10.7.2
    2. iTunes to 10.5.(141)
    3. iPad (1) to iOS 5 (9A334)
    Was able to sychronize and then found out I lost all my apps and rearranged them in iTunes and hoping I could resync them again and received:
    The iPad “...” could not be synced because the sync session failed to start.
    I saw various entries for this in the the communites mainly caused by earlier Betas but I haven't seen anything for the latest versions released last week.
    Anybody who can help?

    Try resetting your iPad an see if that will let you sync.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Try restarting your computer as well.

  • HT1386 I see a iTunes message that says the sync session failed to start. How can I fix this?

    I am trying to sync my iPod, but whenever I do iTunes says that it cannot sync because the sync session failed to start. It will sync my other devices. How can I get it to sync this one?

    Maybe:
    Sync Session Failed to Start iTouch iOS5: Apple Support Communities

Maybe you are looking for

  • Latest Skype is bad

    I just had to upgrade my Skype to latest version and am not impressed. Firstly it saves all the files I get now to a directory which is dam hard to get to like user/appdate/.... Why on earth would they take away the ability to set to which folder you

  • ALV , How to add a Field after it has been deleted

    Hi, I am formating a ABAP Webdynpro ALV: I remove a field by using :     l_value->if_salv_wd_column_settings~delete_column( lv_field_name). How will I be able to add the field again ? I tried the following :     l_value->if_salv_wd_column_settings~CR

  • Question about importing Albums

    I just moved from Windows Vista to Windows 7 and reinstalled Photoshop Elements 6.0 and brought over my photos to the new computer. Everything looks good except that when I click on my albums, I don't see any photos associated with the albums. Is the

  • Orainst.sh scripts not respond on RAC Node 2

    Hi every one, I am configuring RAC with 2 nodes. during cluster installation the root.sh and orainst.sh runs successfully on Node1.. root.sh scripts also runs fine on Node 2...but when running orainst.sh scripts its starts and hangs on "90 seconds" n

  • Is JSP the most used technique in Enterprise applications ?

    which is most needed in software companies ? is jsp the mostly needed one ?thanks .