Murmur is not listening on startup and needs manual restart

This forum is for discussion about general software issues.

Murmur is not listening on startup and needs manual restart

Postby mrdehate » Wed Feb 26, 2014 2:54 am

Hello,

I'm having the same problem that is reported in this thread, and I'm hoping someone can help.

I just got a Beaglebone Black and installed Arch Linux on it, along with the normal murmur server using pacman. When I boot the device, the murmur server claims to be running, but I can't connect to it. If I manually restart the service, it works fine.

Here's what is reported from systemctl status:

$this->bbcode_second_pass_code('', '[mrdehate@bbb ~]$ sudo systemctl -l status murmur
murmur.service - Mumble Daemon
Loaded: loaded (/usr/lib/systemd/system/murmur.service; enabled)
Active: active (running) since Sat 2000-01-01 14:09:22 MST; 14 years 1 months ago
Main PID: 140 (murmurd)
CGroup: /system.slice/murmur.service
└─140 /usr/bin/murmurd -ini /etc/murmur.ini -fg

Jan 01 14:09:23 bbb murmurd[140]: <W>2000-01-01 14:09:23.550 OpenSSL: OpenSSL 1.0.1f 6 Jan 2014
Jan 01 14:09:23 bbb murmurd[140]: <C>2000-01-01 14:09:23.557 Successfully switched to uid 86
Jan 01 14:09:24 bbb murmurd[140]: <W>2000-01-01 14:09:24.667 ServerDB: Opened SQLite database /var/lib/murmur/murmur.sqlite
Jan 01 14:09:24 bbb murmurd[140]: <W>2000-01-01 14:09:24.695 Resource limits were 0 0
Jan 01 14:09:24 bbb murmurd[140]: <W>2000-01-01 14:09:24.698 Successfully dropped capabilities
Jan 01 14:09:24 bbb murmurd[140]: <W>2000-01-01 14:09:24.708 Failed to connect to D-Bus session
Jan 01 14:09:24 bbb murmurd[140]: <W>2000-01-01 14:09:24.937 Murmur 1.2.5 (1.2.5) running on X11: Arch Linux: Booting servers
Jan 01 14:09:25 bbb murmurd[140]: <W>2000-01-01 14:09:25.178 1 => Announcing server via bonjour
Jan 01 14:09:25 bbb murmurd[140]: <W>2000-01-01 14:09:25.272 1 => Not registering server as public
Jan 01 14:09:25 bbb murmurd[140]: <W>2000-01-01 14:09:25.273 Object::connect: No such slot MurmurDBus::userTextMessage(const User *, const TextMessage &)
[mrdehate@bbb ~]$ sudo systemctl restart murmur
[mrdehate@bbb ~]$ sudo systemctl -l status murmur
murmur.service - Mumble Daemon
Loaded: loaded (/usr/lib/systemd/system/murmur.service; enabled)
Active: active (running) since Tue 2014-02-25 19:47:54 MST; 2s ago
Main PID: 292 (murmurd)
CGroup: /system.slice/murmur.service
└─292 /usr/bin/murmurd -ini /etc/murmur.ini -fg

Feb 25 19:47:54 bbb murmurd[292]: <C>2014-02-25 19:47:54.675 Successfully switched to uid 86
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:54.999 ServerDB: Opened SQLite database /var/lib/murmur/murmur.sqlite
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.010 Resource limits were 0 0
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.013 Successfully dropped capabilities
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.018 Failed to connect to D-Bus session
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.087 Murmur 1.2.5 (1.2.5) running on X11: Arch Linux: Booting servers
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.209 1 => Server listening on [::]:64738
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.291 1 => Announcing server via bonjour
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.386 1 => Not registering server as public
Feb 25 19:47:55 bbb murmurd[292]: <W>2014-02-25 19:47:55.389 Object::connect: No such slot MurmurDBus::userTextMessage(const User *, const TextMessage &)')

Notice the date - apparently on startup, the murmur server starts before the date is set. I've tried to update murmur.service to include "After=ntpd.service", but adding this line actually prevents the time from being set at all.

Can anybody help me figure out what's going on here? Thanks!
mrdehate
 
Posts: 2
Joined: Wed Feb 26, 2014 2:19 am

Re: Murmur is not listening on startup and needs manual rest

Postby WarheadsSE » Wed Feb 26, 2014 3:11 am

Make sure ntp is installed, and put a ExecPost into your netctl profile to set the date. Or, add ntpdate.service
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Murmur is not listening on startup and needs manual rest

Postby mrdehate » Wed Feb 26, 2014 4:23 am

I verified that ntpd was enabled...then I found the following line in my netctl profile, which looks like it's setting the date already?

$this->bbcode_second_pass_code('', 'ExecUpPost='/usr/bin/ntpd -gq || true'')

But good news, I added $this->bbcode_second_pass_code('', '"After=ntpdate.service"') to my murmur.service file, made sure ntpdate was enabled, and everything works great. I don't exactly understand why, but I appreciate the help regardless!
mrdehate
 
Posts: 2
Joined: Wed Feb 26, 2014 2:19 am


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests