You are not logged in.

#1 2012-08-18 22:19:55

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 309

problem: murmur (mumble server) restarts on pure systemd system

Hi. I have a pure systemd install (no rc.conf).

I installed murmur form "community" and started it with

systemctl start murmur

The service starts but restarts every two minutes or so with these lines in journalctl:

PID file /run/murmur/murmur.pid not readable (yet?) after start.
murmur.service operation timed out. Terminating.
Unit murmur.service entered failed state.
murmur.service holdoff time over, scheduling restart.

Any clues?

Last edited by SoleSoul (2012-08-18 22:42:41)

Offline

#2 2012-08-18 22:41:32

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,096
Website

Re: problem: murmur (mumble server) restarts on pure systemd system

The default config file says the pidfile should be /var/run/murmur/murmur.pid. Is /var/run a proper symlink to /run?

Offline

#3 2012-08-18 22:45:51

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 309

Re: problem: murmur (mumble server) restarts on pure systemd system

This is from the output of 'ls -l' on /var:

lrwxrwxrwx  1 root root     6 Jul 21 02:46 run -> ../run/

I think it is ok.

Offline

#4 2012-08-18 23:42:33

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,096
Website

Re: problem: murmur (mumble server) restarts on pure systemd system

I know nothing about murmur. Did you change your config to write the pid somewhere else? is the pidfile being written at all (i assume it isn't)?

You could probably jsut avoid the pidfile all together and run the service in non-forking mode.

[Unit]
Description=Mumble Daemon
After=network.target

[Service]
ExecStart=/usr/sbin/murmurd -fg -ini /etc/murmur.ini

[Install]
WantedBy=multi-user.target

Offline

#5 2012-08-19 01:01:44

Svenstaro
Developer
From: Germany
Registered: 2008-11-19
Posts: 365

Re: problem: murmur (mumble server) restarts on pure systemd system

Your friendly murmur packager here. This is likely a packaging issue as I have no clue about systemd. Please report a bug and if you are awesome, find a fix as well.

Offline

#6 2012-08-19 07:45:54

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 309

Re: problem: murmur (mumble server) restarts on pure systemd system

There was an inconsistency in the behavior of murmur today. I tried to run it again after a reboot and after complaining once

systemd[1]: PID file /run/murmur/murmur.pid not readable (yet?) after start.

the daemon stayed alive and working.
If the problem comes again I'll report it as a bug but for now I'm not sure what's happening.

Thanks for your help.

Offline

#7 2012-10-26 16:14:50

snaip
Member
Registered: 2009-08-20
Posts: 21

Re: problem: murmur (mumble server) restarts on pure systemd system

Bumping as I've got exactly the same issue. Looks like no pidfile is created in the first place as falconindy guessed.

Offline

#8 2012-10-26 16:53:08

Svenstaro
Developer
From: Germany
Registered: 2008-11-19
Posts: 365

Re: problem: murmur (mumble server) restarts on pure systemd system

I would like to report that I since switched to systemd on my server and murmur works just fine. If you guys find a bug, fix it and report the fix on the bug tracker.

Offline

#9 2012-12-19 16:58:45

cookiecaper
Member
Registered: 2007-09-22
Posts: 196

Re: problem: murmur (mumble server) restarts on pure systemd system

Same deal. It's periodically killing my server though it seems to run fine. No time to debug yet, but sucks.

Offline

#10 2012-12-19 22:52:06

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 309

Re: problem: murmur (mumble server) restarts on pure systemd system

I couldn't solve it but to work around the problem and see what's going on I run it like that as root:

murmurd -fg -ini /etc/murmur.ini

Offline

#11 2012-12-20 15:49:04

Svenstaro
Developer
From: Germany
Registered: 2008-11-19
Posts: 365

Re: problem: murmur (mumble server) restarts on pure systemd system

Tell me what systemctl status murmur gives you. Guys, I can't reproduce the problem with my setup. You need to give me logs at least to figure out what is going on.

Offline

#12 2012-12-31 15:35:22

cookiecaper
Member
Registered: 2007-09-22
Posts: 196

Re: problem: murmur (mumble server) restarts on pure systemd system

I now use murmur-ice from the AUR, but my problem was resolved after manually creating /run/murmur/murmur.pid, setting permissions, and restarting the systemd service. Never had a problem after that. Not sure why this wasn't getting created automatically; my /var/run and /run symlinks are correct and no problems with other services.

Sorry I can't be of more help, but it seems to have something to do with a conflict between the service and the desired pid file.

Offline

#13 2013-02-03 08:36:49

sklorpion
Member
Registered: 2013-02-03
Posts: 2

Re: problem: murmur (mumble server) restarts on pure systemd system

in my case the solution was to comment

 #uname= 

in /etc/murmur.ini

Offline

#14 2013-03-01 12:25:25

RubenKelevra
Member
Registered: 2013-03-01
Posts: 27

Re: problem: murmur (mumble server) restarts on pure systemd system

Murmur installer just missing to create the directory, just

# mkdir /var/run/murmur
# chown murmur:murmur /var/run/murmur
# chmod 777 /var/run/murmur

Offline

#15 2013-03-01 19:19:36

slint
Member
Registered: 2009-05-22
Posts: 31

Re: problem: murmur (mumble server) restarts on pure systemd system

/var/run is a symlink to /run and /run is a tmpfs, so I guess those commands should be added as

ExecStartPre=

in the unit file

Offline

Board footer

Powered by FluxBB