Difference between revisions of "Running Murmur"

From Mumble Wiki
Jump to: navigation, search
(Setting the SuperUser Password: added remark about -ini parameter, manual Debian way)
(Alternative Murmur Implementations: Edited introduction. Added a note to uMurmur and deleted references to very old releases)
 
(44 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
'''If you find anything incorrect or missing in this article feel free to add it yourself. After you register, you must wait three days before you can edit a page.'''
 
'''If you find anything incorrect or missing in this article feel free to add it yourself. After you register, you must wait three days before you can edit a page.'''
 
= Introduction =
 
= Introduction =
'''For a step-by-step guide to setting up a Murmur server, read [[Murmurguide|this]].'''
+
{{Notice
 +
|message=For a step-by-step guide to setting up a Murmur server, read '''[[Murmurguide|Murmur Guide]]'''.
  
 +
}}
 
Murmur is the server component for Mumble. This article is meant to give you the necessary information to configure and run your own server.
 
Murmur is the server component for Mumble. This article is meant to give you the necessary information to configure and run your own server.
  
Line 18: Line 20:
  
 
== Settings, Ports, and Authentication ==
 
== Settings, Ports, and Authentication ==
The default settings for a Murmur server are configured in ''murmur.ini''. Here, you can configure the welcome text, port number and other settings. However, these are just default settings and can be overwritten via the [[Ice]] RPC without changing the .ini; if you're running multiple virtual servers, each virtual server has it's own configuration, which is maintained internally by Murmur (see below).
+
The default settings for a Murmur server are configured in ''[[murmur.ini]]''. Here, you can configure the welcome text, port number and other settings. However, these are just default settings and can be overwritten via the [[Ice]] RPC without changing the .ini; if you're running multiple virtual servers, each virtual server has its own configuration, which is maintained internally by Murmur (see below).
  
The default port for a Murmur server is UDP and TCP 64738. Have a look at [[URLs]] to see how to publish links to your server.
+
The default port for a Murmur server is UDP and TCP 64738.
 +
<br>
 +
Have a look at [[Mumble URL]] to see how to publish links to your server, and [[SRV_Record | SRV Record configuration]].
  
Adding an authenticated user can be done through various means. Unless you need automated registration of users or authentication against an external database using the functionality built into the client is the easiest method. If you need more control you can use [http://mumble.sourceforge.net/Ice Ice] or [http://mumble.sourceforge.net/DBus DBus].
+
Adding an authenticated user can be done through various means. Unless you need automated registration of users or authentication against an external database using the functionality built into the client is the easiest method. If you need more control you can use [[Ice]] or [[DBus]].
  
 
== Setting the SuperUser Password ==
 
== Setting the SuperUser Password ==
 +
{{Notice
 +
|message=Note this command can be run seperately while the server is running to change the password without restarting.  Also note that in 1.2.2 at least, you must run the server normally at least once before trying to set this.
 +
}}
  
'''Note this command can be run seperately while the server is running to change the password without restarting. Also note that in 1.2.2 at least, you must run the server normally at least once before trying to set this.'''
+
{{Notice
 +
|message=For older versions the SuperUser account is disabled until you setup the password. You don't need the SuperUser account to run a simple server, but you do need it if you want to give your regular user account any privileges.  
 +
}}
  
Until you've set a password for the SuperUser, the account will be disabled. You don't need the SuperUser account to run a simple server, but you do need it if you want to give your regular user account any privileges.  
+
In version >=1.2.4 the SuperUser password is generated automatically on the first server start. You can find it in the logfile. Search for an entry like <code><W>2013-09-03 11:23:44.516 1 => Password for 'SuperUser' set to 'supersecretpassword'</code>. You can of course change this password.
  
To set the password on the Linux static server, run
+
To set/change the password on the Linux static server, run
  murmur.x86 -ini <path to configuration file> -supw <password>
+
  murmur.x86 -ini <path to configuration file> -supw <password> [srv]
 
To set the password on Debian-based systems, run
 
To set the password on Debian-based systems, run
 
<pre>
 
<pre>
Line 38: Line 47:
  
 
  # OR run the server binary manually
 
  # OR run the server binary manually
  sudo -i murmurd -ini /etc/mumble-server.ini -supw <password>
+
  sudo -i murmurd -ini /etc/mumble-server.ini -supw <password> [srv]
 
</pre>
 
</pre>
 
To set the password on Windows systems, run
 
To set the password on Windows systems, run
  <path to murmur.exe> -ini <path to configuration file> -supw <password>
+
  <path to murmur.exe> -ini <path to configuration file> -supw <password> [srv]
  
 
Make sure the <tt>-ini</tt> parameter is the same as for running the server normally to make sure the password gets set in the right database file. If the command does not seem to work, double-check that you are supplying the right path.
 
Make sure the <tt>-ini</tt> parameter is the same as for running the server normally to make sure the password gets set in the right database file. If the command does not seem to work, double-check that you are supplying the right path.
 +
 +
The <tt>[srv]</tt> parameter is the ID of the virtual Mumble-Server you want to change password for. If omitted, ID 1 is used (for the first virtual server).
  
 
This will only set the password and then terminate, it will not start the server. To run the server, start it without the <tt>-supw</tt> parameter.
 
This will only set the password and then terminate, it will not start the server. To run the server, start it without the <tt>-supw</tt> parameter.
Line 60: Line 71:
 
For debugging or real time logging, you might want to add ''-fg -v'' to the command line, which will stop the program from running in the background.
 
For debugging or real time logging, you might want to add ''-fg -v'' to the command line, which will stop the program from running in the background.
  
By default, Murmur opens it's configuration file, database file and logfile in your current directory. The configuration file can be overridden with the ''-ini'' parameter, and the database and logfile can be set from the ini file, using their respective parameters.
+
By default, Murmur opens its configuration file, database file and logfile in your current directory. The configuration file can be overridden with the ''-ini'' parameter, and the database and logfile can be set from the ini file, using their respective parameters.
  
 
= Advanced Configuration and Administration=
 
= Advanced Configuration and Administration=
This section contains different ways of administrating a Murmur Server.
 
  
'''Note:''' Most of these interfaces are created and maintained by third parties and the Mumble developers have no influence on the stability and/or security of these projects. Also, nearly all of the basic administration tasks can be completed '''through the client''' when using > Mumble 1.2.x.
+
To make use of a strong server certificate the users will not have to manually accept, please see [[Obtaining a Let's Encrypt Murmur Certificate]] and [[Obtaining a Comodo Murmur certificate]].
  
 +
{{Notice
 +
|message=Most of these interfaces are created and maintained by third parties and the Mumble developers have no influence on the stability and/or security of these projects.
 +
 +
Also, nearly all of the basic administration tasks can be completed '''through the client''' when using > Mumble 1.2.x.
 +
}}
 
== Compatibility With RPC-Interfaces ==
 
== Compatibility With RPC-Interfaces ==
  
Line 74: Line 89:
  
 
===Ice===
 
===Ice===
For phpBB3, there is [http://gitorious.org/mumble-scripts/mumble-scripts/trees/master/Authenticators/phpBB3 phpBB3auth]. You must point the python script to the ini file; read the in-source documentation for more infomation.
+
For phpBB3, there is [https://github.com/mumble-voip/mumble-scripts/tree/master/Authenticators/phpBB3 phpBB3auth]. You must point the python script to the ini file; read the in-source documentation for more infomation.
  
For SMF (Simple Machines Forum), there is [http://gitorious.org/mumble-scripts/mumble-scripts/trees/master/Authenticators/SMF smfauth]. You must point the python script to the ini file; read the in-source documentation for more infomation.
+
For SMF (Simple Machines Forum), there is [https://github.com/mumble-voip/mumble-scripts/tree/master/Authenticators/SMF smfauth]. You must point the python script to the ini file; read the in-source documentation for more infomation.
  
 
===DBus===
 
===DBus===
Line 84: Line 99:
 
Any group associations the user has on phpBB3 is copied to a temporary group on a root channel (and by default inherited to all subchannels). Please note that this is a temporary group membership and as such will not show up in the Edit ACL dialogs.
 
Any group associations the user has on phpBB3 is copied to a temporary group on a root channel (and by default inherited to all subchannels). Please note that this is a temporary group membership and as such will not show up in the Edit ACL dialogs.
  
== Web-Interfaces ==
+
== 3rd Party Applications ==
  
There are several browser based interfaces which can be used to administrate the Murmur server. If you need something very basic or want to create your own interface you should take a look at Murmur's [http://mumble.git.sourceforge.net/git/gitweb.cgi?p=mumble/mumble;a=tree;f=scripts script folder] which contains some basic web-interface examples which use [[Ice]] or [[DBus]].
+
If you are planning to administrate your Murmur server with an external 3rd Party Application, see the following pages for further information.
Additionally the following table contains a collection of more elaborate Web-Interfaces:
 
  
{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
+
* '''[[3rd_Party_Applications#Web-Interfaces|Web-Interfaces]]'''
! Name
+
* '''[[3rd_Party_Applications#Standalone Applications|Standalone Applications]]'''
! Technology
+
* '''[[3rd_Party_Applications#Commandline-Interfaces|Commandline-Interfaces]]'''
! License
 
! [[DBus]]
 
! [[Ice]]
 
! 1.1.x
 
! 1.2.x
 
! Comment
 
! Weblink
 
  
|-bgcolor="#f8f8ff"
+
{{Notice
| [[MAP - Mumb1e Admin Plugin]]
+
|message=The aforementioned categories have been moved to the page '''[[3rd_Party_Applications|3rd Party Applications]]'''.
| [http://php.net/ PHP]
+
}}
| [http://www.gnu.org/licenses/gpl.html GPLv3]
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| Serverhosting; Permissionssystem; Webinterface to manage Server User, Plugin User and virtual Servers; request function for Server Users; uses DBUS or Slice or nothing; Channelviewer for own homepage; Logging functions; German, English, Frensh; Template functions and more!
 
| [http://www.mumb1e.de/]
 
  
|-bgcolor="#f8f8ff"
+
== Manual Configuration Using DBus ==
| [[Mumble-Django]]
 
| [http://www.python.org Python] + [http://www.djangoproject.com Django]
 
| [http://www.gnu.org/licenses/gpl.html GPLv3]
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| Channel viewer, admin panel, multiserver, registration, textures
 
| [http://bitbucket.org/Svedrin/mumble-django/wiki/Home]
 
  
|-bgcolor="#f8f8ff"
+
If you are not able to use an additional application for administrating Murmur there is still the possibility of manually communicating with the server using [[DBus]]. You can find detailed information on this in our [[DBus|DBus article]].
| [[Mumble PHP Interface|MumPI - Mumble PHP Interface]]
 
| [http://php.net/ PHP]
 
| [http://www.gnu.org/licenses/lgpl-3.0.html LGPLv3]
 
| bgcolor=#ffdddd | No
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| Admin and User functionality; multiserver (start, stop, add, remove, edit virtual servers), registration & online user management, interface admin, admin-group and permission system, (serverviewer in repository)
 
| [https://sourceforge.net/projects/mumpi/]
 
  
|-bgcolor="#f8f8ff"
+
= Alternative Mumble Servers =
| [[MurmurCP]]
+
There are multiple alternative Mumble Servers which support the Mumble protocol. <br>
| [http://www.asp.net/ ASP.NET] + [http://www.zeroc.com/ ICE]
+
Everyone is free to implement their own Mumble server software and add it to this list.
| [http://creativecommons.org/licenses/by-nc-nd/3.0/ Creative Commons v3]
 
| bgcolor=#ffdddd | No
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ffdddd | No
 
| Multiple Virtual Servers, Registration, Server Status, Forgot Password
 
| [http://Murmurcp.hiddenservers.org]
 
  
|-bgcolor="#f8f8ff"
+
{{Notice
| [[Php Mumble Admin]]
+
|message=It is recommended to use the Standard Mumble Server. <br>
| [http://php.net/ PHP]
+
These Servers vary in functionality, so check for features and compatibility before use.
| [http://www.gnu.org/licenses/gpl.html GPLv3]
+
}}
| bgcolor=#ffdddd | No
+
| bgcolor=#ddffdd | Yes
+
== Grumble ==
| bgcolor=#ffdddd | No
+
Grumble is a Mumble Server based on Go (programming language). <br>
| bgcolor=#ddffdd | Yes
+
It is in active development by the official Mumble team. <br>
| Administration panel control for murmur designed for multiple virtual server.
+
Take a look at the Github Repo: https://github.com/mumble-voip/grumble
| [http://sourceforge.net/projects/phpmumbleadmin/]
 
 
 
|-bgcolor="#f8f8ff"
 
| [[Mumble Admin Ice PHP]]
 
| [http://php.net/ PHP]
 
| --
 
| bgcolor=#ffdddd | No
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ffdddd | No
 
| Admin functionality
 
| [http://bitbucket.org/gallagher/mumble-admin-ice-php/downloads/Mumble_Admin.zip]
 
|}
 
  
<small>Note: We recommend using a preferably [[Ice]] or at least [[DBus]] capable interface.</small>
+
{{Notice
 +
|message=For now Grumble lacks support for some features (e.g. remote control, config system). <br>
 +
See https://github.com/mumble-voip/grumble#project-status for more details.
 +
}}
  
== Standalone Applications ==
 
{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
 
! Name
 
! OS
 
! [[DBus]]
 
! [[Ice]]
 
! Comment
 
! Weblink
 
 
|-bgcolor="#f8f8ff"
 
| [[Murmur Admin Console]]
 
| [http://de.wikipedia.org/wiki/Microsoft_Windows Windows]
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ffdddd | No
 
| Add, edit and delete players over SSH
 
| [http://bograt.com/Murmur/]
 
|}
 
 
== Commandline-Interfaces ==
 
{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
 
! Name
 
! OS
 
! [[DBus]]
 
! [[Ice]]
 
! Comment
 
! Weblink
 
 
|-bgcolor="#f8f8ff"
 
| [[mice]]
 
| multi-platform
 
| bgcolor=#ffdddd | No
 
| bgcolor=#ddffdd | Yes
 
| Helper script written in [http://www.python.org Python]
 
| [http://gitorious.org/mumble-scripts/mumble-scripts/blobs/raw/master/Helpers/mice.py]
 
 
|-bgcolor="#f8f8ff"
 
| [[RegMum]]
 
| [http://de.wikipedia.org/wiki/Microsoft_Windows Windows]
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ffdddd | No
 
| Bat script
 
| [http://mumble.sourceforge.net/DBus_scripts#Windows]
 
 
|-bgcolor="#f8f8ff"
 
| [[mmctl]]
 
| [http://www.python.org Python]
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ffdddd | No
 
| 1.1.8 - Easy to use script for managing servers and adding users locally
 
| [http://github.com/mbr/mmctl]
 
|
 
 
|-bgcolor="#f8f8ff"
 
| [[Murmur-manager]]
 
| Ruby
 
| bgcolor=#ddffdd | Yes
 
| bgcolor=#ddffdd | Yes
 
| 1.2.1
 
| [http://github.com/cheald/Murmur-manager/ GitHub]
 
|
 
 
|}
 
 
== Manual Configuration Using DBus ==
 
 
If you are not able to use an additional application for administrating Murmur there is still the possibility of manually communicating with the server using [[DBus]]. You can find detailed information on this in our [[DBus|DBus article]].
 
 
= Alternative Murmur Implementations =
 
The Mumble team appreciates and supports the implementation of the Mumble protocol. Unlike other proprietary applications, everyone is free to their own Mumble server software and add it to this list.
 
 
 
== uMurmur ==
 
== uMurmur ==
uMurmur is a minimalistic Murmur implementation without dependency on QT-core. It lacks features of Murmur but aims at working well on embedded devices like routers.  
+
{{Notice
 +
|message=uMurmur is outdated (last updated: 2017). So it is not recommended for use and might not be compatible with recent versions of Mumble.
 +
}}
  
It supports 1.2.x Mumble clients in the uMurmur 0.2.x releases and 1.1.x clients in 0.1.x releases. Packages are available for [https://dev.openwrt.org/ticket/6829 OpenWRT], [http://trac.freetz.org/ticket/714 Freetz] and [http://www.nas-forum.com/forum/index.php/files/file/252-umurmur-021-ds-207/ Synology].  
+
uMurmur is a minimalistic Murmur implementation without dependency on QT-core. It lacks features of the Mumble server, but aims at working well on embedded devices like routers.  
  
Read more at [http://code.google.com/p/umurmur/ the uMurmur project page].
+
Read more at [http://umurmur.net the uMurmur project page].
  
== Mumble iPhone ==
 
There is currently an iPhone version of Mumble in the works; you can see more information about it from the [http://mumble.git.sourceforge.net/git/gitweb.cgi?p=mumble/mumble-iphoneos;a=summary Git repository]. Any help with the project is always appreciated.
 
  
[[Category:Documentation]]
+
[[Category:Documentation English]]

Latest revision as of 21:12, 29 June 2020

If you find anything incorrect or missing in this article feel free to add it yourself. After you register, you must wait three days before you can edit a page.

Introduction

Icons oxygen 48x48 actions view-pim-notes.png
Note:
For a step-by-step guide to setting up a Murmur server, read Murmur Guide.

Murmur is the server component for Mumble. This article is meant to give you the necessary information to configure and run your own server.

Distribution-Specific Murmur

By default, Murmur is configured to run from a regular user account, and on Windows and OSX this is the only way it works.

However, on distributions with prepackaged Murmur (Debian/Ubuntu), Murmur is configured to run as a system service, just like your webserver, mailserver and whatever else you have running. This "global" installation is a ready, turn-key solution, most of the information here does not apply to you. Most packages also include the 'murmur-user-wrapper' script, which does all of the below for you if you want to run as a regular user (including starting DBus).

So, on these systems, you can still run Murmur manually, but you will then not benefit from the extensive care that has gone into preparing those packages.

If you need to register users externally, or change the settings of a virtual server, read the section on Advanced Configuration.

Basic Configuration

Settings, Ports, and Authentication

The default settings for a Murmur server are configured in murmur.ini. Here, you can configure the welcome text, port number and other settings. However, these are just default settings and can be overwritten via the Ice RPC without changing the .ini; if you're running multiple virtual servers, each virtual server has its own configuration, which is maintained internally by Murmur (see below).

The default port for a Murmur server is UDP and TCP 64738.
Have a look at Mumble URL to see how to publish links to your server, and SRV Record configuration.

Adding an authenticated user can be done through various means. Unless you need automated registration of users or authentication against an external database using the functionality built into the client is the easiest method. If you need more control you can use Ice or DBus.

Setting the SuperUser Password

Icons oxygen 48x48 actions view-pim-notes.png
Note:
Note this command can be run seperately while the server is running to change the password without restarting. Also note that in 1.2.2 at least, you must run the server normally at least once before trying to set this.
Icons oxygen 48x48 actions view-pim-notes.png
Note:
For older versions the SuperUser account is disabled until you setup the password. You don't need the SuperUser account to run a simple server, but you do need it if you want to give your regular user account any privileges.

In version >=1.2.4 the SuperUser password is generated automatically on the first server start. You can find it in the logfile. Search for an entry like <W>2013-09-03 11:23:44.516 1 => Password for 'SuperUser' set to 'supersecretpassword'. You can of course change this password.

To set/change the password on the Linux static server, run

murmur.x86 -ini <path to configuration file> -supw <password> [srv]

To set the password on Debian-based systems, run

 # EITHER use the dpkg management facilities
 sudo dpkg-reconfigure mumble-server

 # OR run the server binary manually
 sudo -i murmurd -ini /etc/mumble-server.ini -supw <password> [srv]

To set the password on Windows systems, run

<path to murmur.exe> -ini <path to configuration file> -supw <password> [srv]

Make sure the -ini parameter is the same as for running the server normally to make sure the password gets set in the right database file. If the command does not seem to work, double-check that you are supplying the right path.

The [srv] parameter is the ID of the virtual Mumble-Server you want to change password for. If omitted, ID 1 is used (for the first virtual server).

This will only set the password and then terminate, it will not start the server. To run the server, start it without the -supw parameter.

Starting Murmur

To start Murmur,

On a static Linux build, cd to the directory where you extracted the files and do

murmur.x86

On Debian-based,

sudo dpkg-reconfigure mumble-server

On Windows,

<path to murmur.exe> (usually C:\Program Files\Mumble\Murmur.exe)

For debugging or real time logging, you might want to add -fg -v to the command line, which will stop the program from running in the background.

By default, Murmur opens its configuration file, database file and logfile in your current directory. The configuration file can be overridden with the -ini parameter, and the database and logfile can be set from the ini file, using their respective parameters.

Advanced Configuration and Administration

To make use of a strong server certificate the users will not have to manually accept, please see Obtaining a Let's Encrypt Murmur Certificate and Obtaining a Comodo Murmur certificate.

Icons oxygen 48x48 actions view-pim-notes.png
Note:
Most of these interfaces are created and maintained by third parties and the Mumble developers have no influence on the stability and/or security of these projects. Also, nearly all of the basic administration tasks can be completed through the client when using > Mumble 1.2.x.

Compatibility With RPC-Interfaces

For full functionality with an RPC interface, Murmur requires either a working DBus daemon or Ice installation that is enabled. We recommend using the Ice interface; DBus is considered deprecated and although it will not be removed in the near future, it is not receiving any new functionality. Once you have Murmur working with the RPC interface, you can install a compatible web interface; see below for possible options.

Authenticating With an External Database/Forum

Ice

For phpBB3, there is phpBB3auth. You must point the python script to the ini file; read the in-source documentation for more infomation.

For SMF (Simple Machines Forum), there is smfauth. You must point the python script to the ini file; read the in-source documentation for more infomation.

DBus

There is an extended example of how to use the authenticator called scripts/dbusauth.pl. You'll need to configure where your phpBB3 database resides, but once that is done you'll simply have to run the script after starting murmur to allow authentication to be done through the phpBB3 database.

Any group associations the user has on phpBB3 is copied to a temporary group on a root channel (and by default inherited to all subchannels). Please note that this is a temporary group membership and as such will not show up in the Edit ACL dialogs.

3rd Party Applications

If you are planning to administrate your Murmur server with an external 3rd Party Application, see the following pages for further information.

Icons oxygen 48x48 actions view-pim-notes.png
Note:
The aforementioned categories have been moved to the page 3rd Party Applications.

Manual Configuration Using DBus

If you are not able to use an additional application for administrating Murmur there is still the possibility of manually communicating with the server using DBus. You can find detailed information on this in our DBus article.

Alternative Mumble Servers

There are multiple alternative Mumble Servers which support the Mumble protocol.
Everyone is free to implement their own Mumble server software and add it to this list.

Icons oxygen 48x48 actions view-pim-notes.png
Note:
It is recommended to use the Standard Mumble Server.
These Servers vary in functionality, so check for features and compatibility before use.

Grumble

Grumble is a Mumble Server based on Go (programming language).
It is in active development by the official Mumble team.
Take a look at the Github Repo: https://github.com/mumble-voip/grumble

Icons oxygen 48x48 actions view-pim-notes.png
Note:
For now Grumble lacks support for some features (e.g. remote control, config system).
See https://github.com/mumble-voip/grumble#project-status for more details.

uMurmur

Icons oxygen 48x48 actions view-pim-notes.png
Note:
uMurmur is outdated (last updated: 2017). So it is not recommended for use and might not be compatible with recent versions of Mumble.

uMurmur is a minimalistic Murmur implementation without dependency on QT-core. It lacks features of the Mumble server, but aims at working well on embedded devices like routers.

Read more at the uMurmur project page.