MurMur Ice, and mumble reader web interface

heya sorry to bother you peeps, but i have been having a lot of trouble with a mumble server i have been running on my linode, i wanted to use "mumble Reader" but looking at it i needed PhpIce so off i go, i followed this guide here http://mumble.sourceforge.net/Ice

so i do this

"ice="tcp -h 127.0.0.1 -p 6502"

then this

netstat -apn | grep 6502

and it shows

tcp 0 0 127.0.0.1:6502 0.0.0.0:* LISTEN 5073/murmurd

so murmurd is listen on that port

all is good so far

i get on to the "installing Ice for PHP with Apache"

everything is going well i make a PHPINFO file

and heck if ICE is running

Ice support enabled

Ice version 3.4.2

the next part is here

tail -n10 /var/log/mumble-server/mumble-server.log

when i do this i am meant to get something like

"2012-03-24 13:37:11.316 MurmurIce: Endpoint "tcp -h 127.0.0.1 -p 6502" running"

but i get nothing all i get is my standard log stuff,

the problem with using this Wiki stuff is it doesn't give you any info if stuff goes wrong, does anyone have any idea's of what might be up? or anything i can try to see if i can get it working?

12 Replies

#mumble on Freenode should be able to help you quicker than the Linode forums. There's a lot of people there.

@GLaDOSDan:

mumble on Freenode should be able to help you quicker than the Linode forums. There's a lot of people there.

heya thanks for the reply, i will put a post there as well, tbh i am still new to this Ubuntu stuff :P

so after talking to those guys they eventually found out i used Apache and wouldn't help, anyways i got told to try MumPi, which i did and again am having nothing but problems with Ice, i even spoke to the person who made it, but she is using all this Lingo xD

i shall put what i have said to tthem and hopefully you peeps can help me understand what i have to do

> Sorry for sending this to your personal mail i had tried to message you on github but i was just getting Error's,

basically i have installed your MumPi and after struggling with a few things got it mostly working,

i can log in on a Admin account, i can see who is online, but can't generate a Channel-Tree or click the Config button

Also i am guessing this stems from the same problems but it is the same with the viewers as you can see here

http://xivstatus.com/MumPI/viewer/

it is just never ending of loading,

P.s i do have it in Debug mode to see if there was any errors or anything but nothing.

> Hey.

That requests http://xivstatus.com/MumPI/viewer/?ajax … TreeAsHtml">http://xivstatus.com/MumPI/viewer/?ajax=getServerTreeAsHtml

which gives “Missing parameter serverId”.

http://xivstatus.com/MumPI/viewer2/

gives a blank page.

Please check your webserver (php) logs for php errors.

> Sun Jul 14 15:14:38 2013] [error] [client 78.43.234.244] PHP Fatal error: Uncaught exception ::Ice::UnmarshalOutOfBoundsException\n{\n reason = \n}\n thrown in /MumPI/classes/MurmurClasses.php on line 111, referer: http://xivstatus.com/MumPI/viewer2/

> Make sure your ice.slice / Murmur.php setting matches the Murmur version you connect to.

^ that is where i get confused

Alright so basically, each version of Murmur comes with a file called Murmur.ice. You execute Slice2php on this file to convert it to a PHP file, and then you can communicate with that version of Murmur through PHP.

The command is something like this:

/opt/Ice-3.4.2/bin/slice2php -I/opt/Ice-3.4.2/slice Murmur.ice

Make sure to include/require the generated Murmur.php script in the application that you use. I don't know how MumPi does this since I've never used it.

thanks for the replay, my derectories are not set up like that my Ice is in

/usr/share/Ice-3.4.2/

but in there i have no Bin i have

php

slice

and in them there is nothing called murmur.ice

Murmur.ice is provided by the Murmur-server download. Not by ICE

ok so i found it and it is located at

/usr/share/slice Murmur.ice

so thos should be the correct thing to do right

slice2php /usr/share/slice/Murmur.ice -I/usr/share/slice/Murmur.php

P.S i also have this at the bottom of my php.ini

ice.slice = -I/usr/share/Ice-3.4.2/slice/ -I/usr/share/slice/Murmur.ice

/usr/share/slice/Murmur.ice:9: error: Can't open include file "Ice/SliceChecksumDict.ice"

include 1 error in preprocessor.

i i had a look on the net and some site told me to do this

slice2php -I/usr/share/Ice-3.4.2/slice /usr/share/slice/Murmur.ice

now i have done that but nothing happens just makes a new line and no murmur.php file

Also what i have done now is edit the slice files' #include to

include

then did slice2php /usr/share/slice/Murmur.ice

still nothing does the php file go to a different directory?

I don't have ice.slice in my php.ini - so not sure if that would be needed.

In my case I executed the command when I was in the murmur server directory. after that the php file was placed in the same (current) directory. Are you sure you have zeroc-ice installed as well? That comes with the slice2php files and things you need.

yeah i am pretty sure i have i have all the Slice files etc i might try and put this on the Ice forums see if they can help

EDIT

ok i did cd../usr/share/slice then

slice2php /usr/share/slice/Murmur.ice

and it made the php file

now do i just include this in the PHP ini?

i have done that and now its working when people are offline but when someone is on

its still throwing me the same Error

[Mon Jul 15 20:18:46 2013] [error] [client 94.192.102.235] PHP Fatal error: Uncaught exception ::Ice::UnmarshalOutOfBoundsException\n{\n reason = \n}\n thrown in /home/holo/public/XivStatus.com/public/MumPI/classes/MurmurClasses.php on line 111, referer: http://xivstatus.com/MumPI/viewer/

this is what is actually on that line

return MurmurTree::fromIceObject($this->iceObj->getTree(), $this);

–-------------------------

i have just added

include_path = ".:/usr/share/slice/Murmur.php"

to me php5.ini and it gives me "Debug: Error was added] The Ice.php file could not be found. Please make sure the ice php file inclusion dir is in the phps include_path (check your PHP configuration)."

if i take it away it starts working again (only if no one is connected to mumble, i will try and put mumble in the same director as

include_path = ".:/usr/share/Ice-3.4.2/php/lib/"


Tried that and am still getting the same thing QQ

ok so after all of that + editing a Murmur settings file to the write one, it's finally working ^.^, thanks for all the help peeps

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct