The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
minimwatch on linux: running as daemon vs manual start (can't run multiple instances)
02-09-2017, 10:01
Post: #1
minimwatch on linux: running as daemon vs manual start (can't run multiple instances)
Hello,

I am using minimwatch on linux (ubuntu 16.04.3 LTS) and did choose to not let it start automatically. But after rebooting I see some minimwatch processes running:

Code:
$ ps axu | grep minim
gert      1616  0.0  0.0   8880   688 ?        S    10:14   0:00 tail -n 1 -f /home/gert/bin/minimwatch/data/minimwatch.pipe
gert      1617  0.0  0.0   4508   128 ?        S    10:14   0:00 /bin/sh /home/gert/bin/minimwatch/bin/startd minimexec
gert      1618  0.0  1.2 6428480 100992 ?      Sl   10:14   0:01 java -jar /home/gert/bin/minimwatch/lib/mwatch.jar --set watch.view=console --noprompt --nohup

When I now want to start the minimwatch client manually I get the following error message:
Code:
$ bin/minimwatch/bin/startc
Migrating autostart configuration
Acquiring root privilege for system configuration update...
[sudo] password for gert:
Sorry, try again.
[sudo] password for gert:
MinimWatch 0.8.4 update 52, Copyright (c) 2012-2017 Simon Nash. All rights reserved.
Enter command (? for help):
>MinimWatch: can't run multiple instances with the same configuration file
Selected media server: MinimWatch
MinimWatch failure: now stopped, use 'relaunch' or 'exit'

I have to stop the running daemon to make the client work:
Code:
sudo /etc/init.d/minimwatch stop

(I have to use "startc" because the minimwatch-icon in the systray ("startd" if I remember correctly) does still not show me the context menu because of a bug in KDE5.)

No I wonder, what am I doing wrong. I have the feeling that I did not understood the concept how to run minimwatch right.

Also I wonder why minimwatch requires root privileges. This feels a little bit unsafe somehow.

Thank you
Gert
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
minimwatch on linux: running as daemon vs manual start (can't run multiple instances) - tarnkappe - 02-09-2017 10:01

Forum Jump:


User(s) browsing this thread: 1 Guest(s)