Jump to content

Ubuntu crash on boot


xiphoid24

Recommended Posts

I am running Ubuntu 17.04 on a laptop and desktop. On both machines synergyd crashes shortly after boot. In order t use Synergy 2 I hace to manually run /usr/bin/synergyd in a terminal. Then open the synergy window to connect the two. After they are connected I can close both terminals

Link to comment
Share on other sites

Thanks for the quick response. I read the whole thread but I am still having issues. I no longer get a crash popup on boot but the service is still not starting. Should I continue to reply here or should I reply on the other thread?

Link to comment
Share on other sites

This is what is displayed

● synergy.service - Synergy Service
   Loaded: loaded (/lib/systemd/system/synergy.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2017-10-24 10:26:58 EDT; 2h 34min ago
 Main PID: 1054 (code=exited, status=203/EXEC)

Oct 24 10:26:58 heimdallr systemd[1]: synergy.service: Failed with result 'exit-code'.
Oct 24 10:26:58 heimdallr systemd[1]: synergy.service: Service has no hold-off time, scheduling restart.
Oct 24 10:26:58 heimdallr systemd[1]: Stopped Synergy Service.
Oct 24 10:26:58 heimdallr systemd[1]: synergy.service: Start request repeated too quickly.
Oct 24 10:26:58 heimdallr systemd[1]: Failed to start Synergy Service.
Oct 24 10:26:58 heimdallr systemd[1]: synergy.service: Unit entered failed state.
Oct 24 10:26:58 heimdallr systemd[1]: synergy.service: Failed with result 'exit-code'.

 

One thing I did notice. Your response in the other post says to modify /usr/lib/systemd/system/synergy.service. Which I did. There is also a service located at /lib/systemd/system/synergy.service. This is the one systemctl seems to be using. I modified both acordingly

/usr/lib/systemd/system/synergy.service

$ cat /usr/lib/systemd/system/synergy.service 
[Unit]
Description=Synergy Service
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=0
SyslogLevel=err
ExecStart=/bin/env HOME=/home/greg /usr/bin/synergyd

[Install]
WantedBy=multi-user.target

/lib/systemd/system/synergy.service

$ cat /lib/systemd/system/synergy.service 
[Unit]
Description=Synergy Service
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=0
SyslogLevel=err
ExecStart=/bin/env HOME=/home/greg /usr/bin/synergyd

[Install]
WantedBy=multi-user.target

Thanks for your help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...