Murmur service requires manual restart to work after startup

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Murmur service requires manual restart to work after startup

Postby davity » Tue Jun 25, 2013 10:27 pm

Hi

I'm using Archlinux ARM in a Raspberry Pi as a server and I have one server of Mumble (murmur) running on it. I installed it from default repositories, version 1.2.4.
After installing it and load it up with

$this->bbcode_second_pass_code('', 'systemctl start murmur')
it works like a charm, but after reboot the system (in order to assure that everything will work if I suffer a power fail at home) I can't connect the server anymore.

Looking around I discover that I need to enable murmur in systemd (I'm very new to archlinux, specially with systemd). Well, I enabled it, rebooted and it didn't work. After

$this->bbcode_second_pass_code('', 'systemctl restart murmur')
everything works. But I'm still intrigued about why I need to restart the service (or unit, how it looks that it's called now). Just after the bootup, I get this

$this->bbcode_second_pass_code('', '# systemctl status murmur
murmur.service - Mumble Daemon
Loaded: loaded (/usr/lib/systemd/system/murmur.service; enabled)
Active: active (running) since jue 1970-01-01 01:00:06 CET; 43 years 5 months ago
Main PID: 124 (murmurd)
CGroup: name=systemd:/system/murmur.service
ââ124 /usr/bin/murmurd -ini /etc/murmur.ini -fg')
Everything looks fine but it doesn't work. Afther the service restart

$this->bbcode_second_pass_code('', '# systemctl status murmur
murmur.service - Mumble Daemon
Loaded: loaded (/usr/lib/systemd/system/murmur.service; enabled)
Active: active (running) since mar 2013-06-25 19:32:27 CEST; 15s ago
Main PID: 286 (murmurd)
CGroup: name=systemd:/system/murmur.service
ââ286 /usr/bin/murmurd -ini /etc/murmur.ini -fg
')

Still ok, and server working.

I can't figure out what's going on. I tried to reinstall murmur but it doesn't solve anything.

Some idea?
davity
 
Posts: 3
Joined: Tue Jun 25, 2013 6:42 pm

Re: Murmur service requires manual restart to work after sta

Postby xenoxaos » Fri Jun 28, 2013 4:36 pm

Is murmur running at all?
$this->bbcode_second_pass_code('', 'ps -aux |grep murmur')
But one thing I do notice is that it says it's been running for 43 years...so maybe murmur needs to be brought up after the date is set.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Murmur service requires manual restart to work after sta

Postby davity » Sat Jun 29, 2013 4:26 pm

Hi

This is what the command return

$this->bbcode_second_pass_code('', '# ps -aux | grep murmur
murmur 125 1.2 4.2 59812 9184 ? Ssl 18:18 0:01 /usr/bin/murmurd -ini /etc/murmur.ini -fg
root 271 0.0 0.4 4172 944 pts/0 S+ 18:20 0:00 grep murmur')

So it looks like it started well. After restart the process

$this->bbcode_second_pass_code('', '# ps -aux | grep murmur
murmur 306 11.4 4.3 59812 9312 ? Ssl 18:25 0:01 /usr/bin/murmurd -ini /etc/murmur.ini -fg
root 313 0.0 0.4 4172 944 pts/0 S+ 18:25 0:00 grep murmur
')
davity
 
Posts: 3
Joined: Tue Jun 25, 2013 6:42 pm

Re: Murmur service requires manual restart to work after sta

Postby xenoxaos » Mon Jul 01, 2013 1:08 pm

So, that makes me think it might be something to do with the date. You might have to change the .service file to start after ntp is done.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Murmur service requires manual restart to work after sta

Postby davity » Mon Jul 01, 2013 3:52 pm

ed the murmur.service file to look as follow

$this->bbcode_second_pass_code('', '[Unit]
Description=Mumble Daemon
After=network.target
After=ntpd.service # **New line added to file**

[Service]
Type=simple
ExecStart=/usr/bin/murmurd -ini /etc/murmur.ini -fg
Restart=always

[Install]
WantedBy=multi-user.target
')
It didn't work, I don't know if that's the correct way to wait for ntp to be loaded or must be done in other way, could you help me with that? As I said, It's the first time that I work with systemd and I'm kind of lost.
davity
 
Posts: 3
Joined: Tue Jun 25, 2013 6:42 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 7 guests