How to build Murmur (Mumble server) in a FreeNAS (FreeBSD) jail

Status
Not open for further replies.

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Looks like what is happening here:

The ports tree attempts to FTP the necessary source packages for building on your local system, and THAT is what appears to be failing. Obviously, without the code, it can't build :)

Most likely this is because you do not have the nameservers (DNS) or default gateway for this jail properly configured. Try the following tests:

try to ping something you know exists on the WAN, such as 8.8.8.8 (Google DNS).

If that doesn't work, your "gateway" (which should be the IP address of your router) is broken, and we'll deal with that in a followup post if needed.

If that DOES work, go to nslookup, and at the prompt, try to resolve something that will always resolve, like www.ibm.com.

See if that works. If the ping works, but the DNS lookup does not, then the problem is probably your nameserver, and we'll deal with that in a followup post if needed.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Looks like what is happening here:

The ports tree attempts to FTP the necessary source packages for building on your local system, and THAT is what appears to be failing. Obviously, without the code, it can't build :)

Most likely this is because you do not have the nameservers (DNS) or default gateway for this jail properly configured. Try the following tests:

try to ping something you know exists on the WAN, such as 8.8.8.8 (Google DNS).

If that doesn't work, your "gateway" (which should be the IP address of your router) is broken, and we'll deal with that in a followup post if needed.

If that DOES work, go to nslookup, and at the prompt, try to resolve something that will always resolve, like www.ibm.com.

See if that works. If the ping works, but the DNS lookup does not, then the problem is probably your nameserver, and we'll deal with that in a followup post if needed.
Perform these tests from the jail's command line, of course.
 

pelle1101

Dabbler
Joined
Apr 3, 2013
Messages
11
So I am able to ping googles DNS and nslookup does resolve an IP. I have other jails running with no problems (multiple minecraft jails, plex, minidlna). I am getting these error messages from a brand new jail, so I don't know what the issue is.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Well, the error messages clearly show that the files necessary for downloading the dependencies of that port are not downloadable.

You can clearly see the thing trying many, many, many different mirrors for the same files. None of them appear to work. That STRONGLY suggests that your jail is not resolving IPs, but you say that's not the problem. What does /etc/resolv.conf show? When you type nslookup *IN THE NEW JAIL*, you are able to manually resolve hostnames?
 

pelle1101

Dabbler
Joined
Apr 3, 2013
Messages
11
So I got it working....I did the ol delete the jail/recreate the jail trick and I got it working. Thanks for the help tho, great tutorial.
 

indy

Patron
Joined
Dec 28, 2013
Messages
287
Thanks for the tutorial, however I am stuck with the same error as pelle.
Unfortunately trying it twice did not help in my case.

Here is the part of the installation where things seem to go wrong:
Code:
===>   Returning to build of mumble-1.2.4_5
===>   mumble-1.2.4_5 depends on file: /usr/local/lib/qt4/libQtDBus.so - not found
===>    Verifying install for /usr/local/lib/qt4/libQtDBus.so in /usr/ports/devel/dbus-qt4
===>  License LGPL21 accepted by the user
=> qt-everywhere-opensource-src-4.8.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/KDE.
=> Attempting to fetch http://download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://master.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://master.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://anychimirror101.mirrors.tds.net/pub/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://anychimirror101.mirrors.tds.net/pub/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.las.ic.unicamp.br/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.las.ic.unicamp.br/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://linorg.usp.br/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://linorg.usp.br/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://ftp.jaist.ac.jp/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://ftp.jaist.ac.jp/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://mirrors.neusoft.edu.cn/qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://mirrors.neusoft.edu.cn/qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-everywhere-opensource-src-4.8.5.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/KDE and try again.
*** [do-fetch] Error code 1

Stop in /usr/ports/devel/dbus-qt4.
*** [build-depends] Error code 1

Stop in /usr/ports/audio/mumble.
*** [install] Error code 1

Stop in /usr/ports/audio/mumble.


It downloads everything nicely before that file, the connection should not be the problem.
Also when I try to follow the links manually the file does not exist.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
You should be building murmur, not mumble.

And you're like 6 versions out of date. Before you begin the building process, you need the most up-to-date tree possible. Did you begin with
Code:
portsnap fetch update
?
 

indy

Patron
Joined
Dec 28, 2013
Messages
287
I mixed that up on my 3rd attempt it seems, thanks for the hint.

Anyway I ran the update command in a new jail and the installation afterwards produces a similar error.

Code:
===>   Returning to build of murmur-1.2.4
===>   murmur-1.2.4 depends on file: /usr/local/lib/qt4/libQtCore.so - not found
===>    Verifying install for /usr/local/lib/qt4/libQtCore.so in /usr/ports/devel/qt4-corelib
======================================================================

Qt 4 can be built with optional support for:
 - Common UNIX Printing System (CUPS) (enabled by default)
 - Network Audio System (NAS)
 - Qt style that renders using GTK (QGTKSTYLE)

In order to enable them, you have to add
        QT4_OPTIONS=    CUPS NAS QGTKSTYLE
to your /etc/make.conf and compile devel/qt4-corelib and
x11-toolkits/qt4-gui ports.

Attention! Whenever you change the QT4_OPTIONS both
devel/qt4-corelib and x11-toolkits/qt4-gui ports must be rebuilt!

======================================================================
===>  License LGPL21 accepted by the user
=> qt-everywhere-opensource-src-4.8.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/KDE.
=> Attempting to fetch http://download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://master.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://master.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://anychimirror101.mirrors.tds.net/pub/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://anychimirror101.mirrors.tds.net/pub/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.las.ic.unicamp.br/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.las.ic.unicamp.br/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://linorg.usp.br/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://linorg.usp.br/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://ftp.jaist.ac.jp/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://ftp.jaist.ac.jp/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://mirrors.neusoft.edu.cn/qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://mirrors.neusoft.edu.cn/qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-everywhere-opensource-src-4.8.5.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/KDE and try again.
*** [do-fetch] Error code 1

Stop in /usr/ports/devel/qt4-corelib.
*** [build-depends] Error code 1

Stop in /usr/ports/audio/murmur.
*** [install] Error code 1

Stop in /usr/ports/audio/murmur.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
This is an error installing the QT plugin library.

Type
Code:
pkg info
and tell me what version of 'pkg' is listed.

Change into the directory, and try to build the port manually.

Code:
cd /usr/ports/devel/qt4-corelib
make deinstall
make install clean


See if you get the same error. If not, and it seems to build, go back to the /usr/ports/audio/murmur directory and rebuild.
 

indy

Patron
Joined
Dec 28, 2013
Messages
287
Same error unfortunately.

Code:
root@murmur_1:/usr/ports/audio/murmur # pkg info
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
_http._tcp.pkg.FreeBSD.org
[murmur_1] Installing pkg-1.3.5.1: 100%
Message for pkg-1.3.5.1:
 If you are upgrading from the old package format, first run:

  # pkg2ng
pkg-1.3.5.1                    Package manager


Code:
root@murmur_1:/usr/ports/devel/qt4-corelib # make deinstall
===>  Deinstalling for devel/qt4-corelib
===>   qt4-corelib not installed, skipping
root@murmur_1:/usr/ports/devel/qt4-corelib # make install clean
======================================================================

Qt 4 can be built with optional support for:
 - Common UNIX Printing System (CUPS) (enabled by default)
 - Network Audio System (NAS)
 - Qt style that renders using GTK (QGTKSTYLE)

In order to enable them, you have to add
        QT4_OPTIONS=    CUPS NAS QGTKSTYLE
to your /etc/make.conf and compile devel/qt4-corelib and
x11-toolkits/qt4-gui ports.

Attention! Whenever you change the QT4_OPTIONS both
devel/qt4-corelib and x11-toolkits/qt4-gui ports must be rebuilt!

======================================================================
===>  License LGPL21 accepted by the user
=> qt-everywhere-opensource-src-4.8.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/KDE.
=> Attempting to fetch http://download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://master.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://master.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://qtmirror.ics.com/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://anychimirror101.mirrors.tds.net/pub/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://anychimirror101.mirrors.tds.net/pub/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://www.las.ic.unicamp.br/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://www.las.ic.unicamp.br/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://linorg.usp.br/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://linorg.usp.br/Qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://ftp.jaist.ac.jp/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://ftp.jaist.ac.jp/pub/qtproject/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch http://mirrors.neusoft.edu.cn/qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: http://mirrors.neusoft.edu.cn/qt/official_releases/qt/4.8/4.8.5//qt-everywhere-opensource-src-4.8.5.tar.gz: Not Found
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-everywhere-opensource-src-4.8.5.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-everywhere-opensource-src-4.8.5.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/KDE and try again.
*** [do-fetch] Error code 1

Stop in /usr/ports/devel/qt4-corelib.
 

indy

Patron
Joined
Dec 28, 2013
Messages
287
The installation (seemingly) went fine after manually placing the qt-everywhere-opensource-src-4.8.5.tar.gz in /usr/port/distfiles/KDE
Basically what the error message said :)
 

indy

Patron
Joined
Dec 28, 2013
Messages
287
placing the qt-everywhere-opensource-src-4.8.5.tar.gz in /usr/port/distfiles/KDE
Yep, that worked... server is up and running.
Thanks for your guide and help KK!

edit:
For anyone maybe not comfortable running 1.2.4 (which installs by default):
As far as I can tell there have been no security fixes to the server-side of mumble in more recent versions.
http://blog.mumble.info/mumble-1-2-5/
 
Last edited:

audiosmurf

Cadet
Joined
Oct 5, 2014
Messages
2
hey, your guide is great and everything is working as desired, with 1 exception. Im not sure, why im having this issue, but im starting to assume that its source is in the way ive setup MurMur. I can access it locally (only sometimes remotely), and my friends can access it.... sometimes. One of them can always connect, no matter what. Another few can connect only every other day. Some cant connect at all. Im using dnsdynamic.org and it has never given me any trouble so im ruling out any issues there. My Router is a brand new Dlink DIR850L and so far im highly pleased with it. Do you have any clues on how to solve this?
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
There is only one thing that can be causing this.

DNS.

The fact that you can access it locally, and your friends from the outside sometimes can, and sometimes can't, means that the propagation to the DNS servers of your IP address is dodgy. Almost certainly this has nothing to do with your murmur setup, and has everything to do with your dynamic DNS setup.
 

Ste

Dabbler
Joined
Sep 12, 2014
Messages
45
I'm definitely bookmarking this tutorial - thanks! I run an OpenSimulator virtual world which, like Second Life, uses Vivox for voice, but there is work underway to let us swap it out for Murmur/Mumble.
 

Bmck26

Dabbler
Joined
Dec 9, 2013
Messages
48
so i should try a different DNS provider?

I'm having the same issue. Murmur works fine on my LAN but the connection times out when I try to connect from outside. I've tried it several times and I had a friend from out of state try. My router is also a DLINK, model DIR860L. I know I have the port forward setup correctly since I have a port opened for subsonic and it works fine, plus I checked the murmur port with an open port check tool. I'm using FreeDNS instead of dnsdynamic.org though.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
I'm having the same issue. Murmur works fine on my LAN but the connection times out when I try to connect from outside. I've tried it several times and I had a friend from out of state try. My router is also a DLINK, model DIR860L. I know I have the port forward setup correctly since I have a port opened for subsonic and it works fine, plus I checked the murmur port with an open port check tool. I'm using FreeDNS instead of dnsdynamic.org though.
I wonder if the problem is this:

Murmur uses TCP **AND** UDP on its port. TCP for the control, UDP for the voice. You guys have to forward ***BOTH*** protocols.
 

Bmck26

Dabbler
Joined
Dec 9, 2013
Messages
48
I wonder if the problem is this:

Murmur uses TCP **AND** UDP on its port. TCP for the control, UDP for the voice. You guys have to forward ***BOTH*** protocols.

Here's how I have the ports setup. I assumed it's correct since subsonic seems to work.
 

Attachments

  • Ports.PNG
    Ports.PNG
    17.9 KB · Views: 445

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Here's how I have the ports setup. I assumed it's correct since subsonic seems to work.
Well, you blanked out the only thing that could be a problem.

have you put in the IP address ***OF THE JAIL***? Putting in the IP address of the FreeNAS appliance would be stupid.
 
Status
Not open for further replies.
Top