This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

Mumble & Ice [No connection ?]


pymous67
 Share

Recommended Posts

Hi !


So first, sorry for my english, i'm a french little guy ^^ .


I try to make a link between my Mumble server and a PHP page for have a list a channel and player.


So i've read the wiki about Ice and PHP, and the extension look correctly installed.


I download the page "weblist.php" and upload it on my server.


This is the result, and it's don't looks ok :P


Here's a c/p of the error:

Ice_UnknownLocalException Object ( [unknown] => Network.cpp:1220: Ice::ConnectionRefusedException: connection refused: Connection refused [message:protected] => [string:private] => [code:protected] => 0 [file:protected] => /var/www/test/weblist.php [line:protected] => 12 [trace:private] => Array ( [0] => Array ( [file] => /var/www/test/weblist.php [line] => 12 [function] => ice_checkedCast [class] => Ice_ObjectPrx [type] => ->  [args] => Array ( [0] => ::Murmur::Meta ) ) ) ) 

 

My server run on Ubuntu, and this is the pieces of my murmur.ini about Ice:

# Path to database. If blank, will search for
# murmur.sqlite in default locations or create it if not found.
database=mumble

# If you wish to use something other than SQLite, you'll need to set the name
# of the database above, and also uncomment the below.
# Sticking with SQLite is strongly recommended, as it's the most well tested
# and by far the fastest solution.
#
dbDriver=QMYSQL
dbUsername=root
dbPassword=THISISSPARTAANDIDONTGIVEUMYPASSWORD§§§§
dbHost=localhost
#dbPort=
dbPrefix=murmur_
#dbOpts=

# Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the
# RPC methods available in murmur, please specify so here.
#
dbus=session

# Alternate service name. Only use if you are running distinct
# murmurd processes connected to the same D-Bus daemon.
#dbusservice=net.sourceforge.mumble.murmur

# If you want to use ZeroC ICE to communicate with Murmur, you need
# to specify the endpoint to use. Since there is no authentication
# with ICE, you should only use it if you trust all the users who have
# shell access to your machine.
# Please see the ICE documentation on how to specify endpoints.
ice="tcp -h 127.0.0.1 -p 6502"

 

U can also find the result of a phpinfo(): HERE


Thanks in advance for you'r help ;)

Link to comment
Share on other sites

  • Administrators

Are you sure murmur is running and using the right configuration? You should also check whether port 6502 is actually open.


As far as I can tell, my experience with Ice and PHP is very limited, your PHP configuration looks fine.

Link to comment
Share on other sites

  • Administrators

Well. That doesn't really tell you if you loaded the right configuration and whether Ice is actually listening where weblist expects it to be.


Check whether the port shows up if you do a

netstat -l | grep 6502

to make sure it is actually open.

Link to comment
Share on other sites

When i enter you'r command, the _ begin to blink, and nothing happend, it's normal ?


EDIT: I don't know if it's normal, so i've try something else:

lsof -i :6502


And the result:

http://img46.imageshack.us/img46/6549/20100224222517.png


EDIT2: Finally, i've let it run the all night, and she finally give me a response:

http://img6.imageshack.us/img6/9682/83285149b.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...