[opensuse] problems with systemctl and teamviewer daemon
Is anyone successfully running teamviewer8 on opensuse 12.3? If so I'd like to know how you got it to work. When I try to run teamviewer I get the following error: The TeamViewer daemon is not running! Please start the daemon (needs root permissions) before running TeamViewer: teamviewer --daemon start running teamviewer --deamon start produces the following error message: systemctl start teamviewerd.service Failed to issue method call: Unit teamviewerd.service failed to load: No such file or directory. If I manually start the daemon from the commandline using /opt/teamviewer8/tv_bin/teamviewerd -d then teamview will work. Would be grateful for any advice or times. Thanks in advice Eddie -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 01/07/13 18:04, Eddie escribió:
Is anyone successfully running teamviewer8 on opensuse 12.3? If so I'd like to know how you got it to work.
When I try to run teamviewer I get the following error:
The TeamViewer daemon is not running! Please start the daemon (needs root permissions) before running TeamViewer: teamviewer --daemon start
running teamviewer --deamon start produces the following error message:
systemctl start teamviewerd.service Failed to issue method call: Unit teamviewerd.service failed to load: No such file or directory.
If I manually start the daemon from the commandline using
/opt/teamviewer8/tv_bin/teamviewerd -d
then teamview will work.
Would be grateful for any advice or times.
Does /opt/teamviewer8/tv_bin/script/teamviewerd.service exists ??? if so, you have to ln -s /opt/teamviewer8/tv_bin/script/teamviewerd.service /etc/systemd/system/teamviewerd.service and then enable..start the service.. (and hope propietary vendors know how to write systemd services.. do not hold your breath though) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Monday 01 Jul 2013 18:28:33 Cristian Rodríguez wrote:
El 01/07/13 18:04, Eddie escribió:
Is anyone successfully running teamviewer8 on opensuse 12.3? If so I'd like to know how you got it to work.
When I try to run teamviewer I get the following error:
The TeamViewer daemon is not running! Please start the daemon (needs root permissions) before running TeamViewer: teamviewer --daemon start
running teamviewer --deamon start produces the following error message:
systemctl start teamviewerd.service Failed to issue method call: Unit teamviewerd.service failed to load: No such file or directory.
If I manually start the daemon from the commandline using
/opt/teamviewer8/tv_bin/teamviewerd -d
then teamview will work.
Would be grateful for any advice or times.
Does /opt/teamviewer8/tv_bin/script/teamviewerd.service exists ???
if so, you have to ln -s /opt/teamviewer8/tv_bin/script/teamviewerd.service /etc/systemd/system/teamviewerd.service
and then enable..start the service.. (and hope propietary vendors know how to write systemd services.. do not hold your breath though)
Thanks but the file does exist and is already linked. # ls -l /opt/teamviewer8/tv_bin/script/teamviewerd.service -rw-r--r-- 1 root root 359 Jul 1 22:38 /opt/teamviewer8/tv_bin/script/teamviewerd.service # ls -l /etc/systemd/system/teamviewerd.service lrwxrwxrwx 1 root root 50 Jul 1 21:45 /etc/systemd/system/teamviewerd.service -> /opt/teamviewer8/tv_bin/script/teamviewerd.service I ran the following command # systemctl list-unit-files | grep teamviewerd teamviewerd.service enabled However, when I try systemctl start teamviewerd.service I get the No such file or directly error mentioned above. Any suggestions? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 01/07/13 18:44, Eddie escribió:
However, when I try systemctl start teamviewerd.service I get the No such file or directly error mentioned above.
Yes, you need to run systemctl daemon-reload before enable and start., (it is not automagic, making it magic will introduce race conditions) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Monday 01 Jul 2013 18:49:14 Cristian Rodríguez wrote:
El 01/07/13 18:44, Eddie escribió:
However, when I try systemctl start teamviewerd.service I get the No such file or directly error mentioned above.
Yes, you need to run systemctl daemon-reload before enable and start., (it is not automagic, making it magic will introduce race conditions)
Because you suggested that systemctl daemon-reload needed to be run before enable, I attempted to disable it by running systemctl disable teamviewerd.service. This produced the following messages: rm '/etc/systemd/system/teamviewerd.service' rm '/etc/systemd/system/graphical.target.wants/teamviewerd.service' When I tried systemctl enable teamviewerd.service (after the daemon-reload) I got the following error: systemctl enable teamviewerd.service Failed to issue method call: No such file or directory so I tried to recreate the linked files /etc/systemd/system/teamviewerd.service (that went okay) but when I tried to recreate /etc/systemd/system/graphical.target.wants/teamviewerd.service it failed because the directory "graphical.target.wants" didn't exist. So having created the directory and then the link file, the systemctl enable and start commands worked without error. It all seems to be working. I've concluded that the error was caused by the non-existent graphical.target.wants/teamviewerd.service link. Thanks very much for all your help. I really appreciate it. Eddie -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Mon, 01 Jul 2013 18:49:14 -0400
Cristian Rodríguez
El 01/07/13 18:44, Eddie escribió:
However, when I try systemctl start teamviewerd.service I get the No such file or directly error mentioned above.
Yes, you need to run systemctl daemon-reload before enable and start., (it is not automagic, making it magic will introduce race conditions)
It is. systemctl even has extra flag --no-reload ... And in any case, it has to be run after, not before "systemctl enable" :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Mon, 01 Jul 2013 23:44:01 +0100
Eddie
On Monday 01 Jul 2013 18:28:33 Cristian Rodríguez wrote:
El 01/07/13 18:04, Eddie escribió:
Is anyone successfully running teamviewer8 on opensuse 12.3? If so I'd like to know how you got it to work.
When I try to run teamviewer I get the following error:
The TeamViewer daemon is not running! Please start the daemon (needs root permissions) before running TeamViewer: teamviewer --daemon start
running teamviewer --deamon start produces the following error message:
systemctl start teamviewerd.service Failed to issue method call: Unit teamviewerd.service failed to load: No such file or directory.
If I manually start the daemon from the commandline using
/opt/teamviewer8/tv_bin/teamviewerd -d
then teamview will work.
Would be grateful for any advice or times.
Does /opt/teamviewer8/tv_bin/script/teamviewerd.service exists ???
if so, you have to ln -s /opt/teamviewer8/tv_bin/script/teamviewerd.service /etc/systemd/system/teamviewerd.service
and then enable..start the service.. (and hope propietary vendors know how to write systemd services.. do not hold your breath though)
Thanks but the file does exist and is already linked.
# ls -l /opt/teamviewer8/tv_bin/script/teamviewerd.service -rw-r--r-- 1 root root 359 Jul 1 22:38 /opt/teamviewer8/tv_bin/script/teamviewerd.service
# ls -l /etc/systemd/system/teamviewerd.service lrwxrwxrwx 1 root root 50 Jul 1 21:45 /etc/systemd/system/teamviewerd.service -> /opt/teamviewer8/tv_bin/script/teamviewerd.service
It is quite possible that this file is malformed. Check with journalctl if there are some errors from systemd. You can also post file here (better as attachement so it is not mangled).
I ran the following command
# systemctl list-unit-files | grep teamviewerd teamviewerd.service enabled
However, when I try systemctl start teamviewerd.service I get the No such file or directly error mentioned above.
Any suggestions?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday 02 Jul 2013 06:28:20 Andrey Borzenkov wrote:
When I try to run teamviewer I get the following error:
The TeamViewer daemon is not running! Please start the daemon (needs root permissions) before running TeamViewer: teamviewer --daemon start
running teamviewer --deamon start produces the following error message:
systemctl start teamviewerd.service Failed to issue method call: Unit teamviewerd.service failed to load: No such file or directory.
It is quite possible that this file is malformed. Check with journalctl if there are some errors from systemd. You can also post file here (better as attachement so it is not mangled).
I tried running journalctl and got the following Cannot add dependency job for unit teamviewerd.service, ignoring (I have tried rebooting my machine and still get error messages although with some effort I am able to eventually start the daemon usually with some combination of systemctl daemon-reload and teamvierwer --daemon start) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Cristian Rodríguez
-
Eddie