Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 03, 2013 3:18 pm 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
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
<?php phpinfo(); ?>
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

"<W>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?


Top
   
PostPosted: Wed Jul 03, 2013 3:25 pm 
Offline
Junior Member

Joined: Thu Nov 25, 2010 7:41 pm
Posts: 27
#mumble on Freenode should be able to help you quicker than the Linode forums. There's a lot of people there.


Top
   
PostPosted: Wed Jul 03, 2013 3:30 pm 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
GLaDOSDan wrote:
#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


Top
   
PostPosted: Sun Jul 14, 2013 12:49 pm 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
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

Quote:
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.



Quote:
Hey.

That requests http://xivstatus.com/MumPI/viewer/?ajax ... TreeAsHtml
which gives “Missing parameter serverId”.

http://xivstatus.com/MumPI/viewer2/
gives a blank page.
Please check your webserver (php) logs for php errors.



Quote:
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/


Quote:

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



^ that is where i get confused


Top
   
PostPosted: Sun Jul 14, 2013 1:45 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
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.


Top
   
PostPosted: Mon Jul 15, 2013 9:40 am 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
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


Top
   
PostPosted: Mon Jul 15, 2013 9:56 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Murmur.ice is provided by the Murmur-server download. Not by ICE


Top
   
PostPosted: Mon Jul 15, 2013 10:01 am 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
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


Last edited by genesizz257 on Mon Jul 15, 2013 11:32 am, edited 2 times in total.

Top
   
PostPosted: Mon Jul 15, 2013 10:17 am 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
/usr/share/slice/Murmur.ice:9: error: Can't open include file "Ice/SliceChecksumDict.ice"
#include <Ice/SliceChecksumDict.ice>
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 <Ice/SliceChecksumDict.ice> to
#include </usr/share/Ice-3.4.2/slice/Ice/SliceChecksumDict.ice>
then did slice2php /usr/share/slice/Murmur.ice

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


Top
   
PostPosted: Mon Jul 15, 2013 1:21 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
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.


Top
   
PostPosted: Mon Jul 15, 2013 2:46 pm 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
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


Top
   
PostPosted: Mon Jul 15, 2013 3:54 pm 
Offline
Senior Newbie

Joined: Sat Dec 29, 2012 2:55 pm
Posts: 13
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


Top
   
PostPosted: Mon Jul 15, 2013 4:01 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Yay, good job :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group