You are not logged in.

#1 2007-12-26 11:47:24

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

MythWeb problem

Hey Forum.

I have a complet "under the stairs" MythTV solution installed in my house.
But the only thing not working is the Mythweb status: Each time I want to see status using mythweb from the outside - I'll get this error in the top:
Error at /home/httpd/html/mythweb/modules/status/handler.php, line 29:
file_get_contents(http://172.16.20.10:6544) [function.file-get-contents]: failed to open stream: HTTP request failed!

And the Mythbackends shutdown totally without any errors in /var/log/mythbackend.log

Have anybody a clue about this error???

Thanks and happy holidays


Just getting better .... All the time

Offline

#2 2008-01-06 09:29:04

Erroneous
Member
Registered: 2006-08-28
Posts: 35

Re: MythWeb problem

I get the same problem when I try it on my fresh install of arch/myth/apache/php. I also had errors for the Recorded programs tab where it couldn't open the image files because I needed to added my /myth/tv (or wherever you keep your recordings) directory to the list of directories in the open_basedir variable in php. I'm not sure what the other error is though and again, mythbackend leaves no output in /var/log/mythbackend.log. I'm experimenting with changing the verbosity options for the backend so I can see what happens (with all it just shows the last few dozen sql queries). So far the only thing I can get out of it that sounds like the php error is "Event socket closed. No connection to the backend." Google gets me no where with that though...

Offline

#3 2008-01-13 15:08:11

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: MythWeb problem

I don't know if this is the same error or not...

Error at /home/httpd/html/mythweb/includes/mythbackend.php, line 319:
is_file() [function.is-file]: open_basedir restriction in effect. File(/mythtv/2104_20080106080000.mpg.png) is not within the allowed path(s): (/home/:/tmp/:/usr/share/pear/)

I actually get this on the MythWeb recordings page. I havn't found any other errors just yet....


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#4 2008-01-16 10:37:16

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: MythWeb problem

OK.
That is your php setting you need to edit there.
you'll have a line inside php.ini openbase_dir   = where you should put /home/httpd/html/mythweb

That should do the trick about this error !
Hope it'll help you with that !

You could also uncomment the same line - and will not have any problems weith that any more !

Last edited by peque (2008-01-16 10:54:23)


Just getting better .... All the time

Offline

#5 2008-01-16 17:08:12

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: MythWeb problem

peque wrote:

Hey Forum.

I have a complet "under the stairs" MythTV solution installed in my house.
But the only thing not working is the Mythweb status: Each time I want to see status using mythweb from the outside - I'll get this error in the top:
Error at /home/httpd/html/mythweb/modules/status/handler.php, line 29:
file_get_contents(http://172.16.20.10:6544) [function.file-get-contents]: failed to open stream: HTTP request failed!

And the Mythbackends shutdown totally without any errors in /var/log/mythbackend.log

Have anybody a clue about this error???

I had MythTV's status working in mythweb, then I did a reinstall and now it does the same as you describe (using php.ini from before the reinstall) and I can only think of one thing I have changed: I switched from da_DK.ISO-8859-15 to da_DK.UTF-8

I experienced the same crash happens if I did: telnet localhost 6543 or 6544 (can't remember, and can't reproduce it right now) so I don't think it's a php problem.


Kind regards, enrique

Offline

#6 2008-01-17 03:28:40

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: MythWeb problem

peque wrote:

OK.
That is your php setting you need to edit there.
you'll have a line inside php.ini openbase_dir   = where you should put /home/httpd/html/mythweb

That should do the trick about this error !
Hope it'll help you with that !

You could also uncomment the same line - and will not have any problems weith that any more !

Thanks...this did the trick!


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#7 2008-01-17 18:00:53

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: MythWeb problem

QuimaxW wrote:

Thanks...this did the trick!

Crap... not here, if I go to http://localhost:6544 it also crashes, and no PHP or Apache is involved there.

I get this in my /var/log/everything.log :

mythbackend[16915]: segfault at 00000046 eip b5dbc36d esp b2700a30 error 4

if I run at strace of the mythbackend process I get this right before it crashes:

select(15, [6 7 14], [], [], {18, 71825}) = 1 (in [7], left {18, 70000})
read(7, "\0", 1)                        = 1
gettimeofday({1200592733, 167898}, NULL) = 0
gettimeofday({1200592733, 167967}, NULL) = 0
select(15, [6 7 14], [], [], {18, 68823}) = ? ERESTARTNOHAND (To be restarted)
+++ killed by SIGSEGV +++

Kind regards, enrique

Offline

#8 2008-01-17 21:11:22

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: MythWeb problem

I did notice that my mythbackend also crashes if I use the mythweb interface to view status of the backend. And now that I try the IP:6544 it shows the page, but the backend crashes then too.

Hmm...it didn't do this before I configured mythweb. I wonder if it's something in the configuration of mythweb. I'll have to try some other settings and such.


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#9 2008-01-21 09:28:25

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: MythWeb problem

The status you get when you access port 6544 does not have anything to do with mythweb, it's actual mythbackend that provides the information, so you can shutdown apache, and still access it... or in my case: crash it smile


Kind regards, enrique

Offline

#10 2008-01-21 11:35:14

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: MythWeb problem

enrique wrote:

The status you get when you access port 6544 does not have anything to do with mythweb, it's actual mythbackend that provides the information, so you can shutdown apache, and still access it... or in my case: crash it smile

So our plight remains, only it's probably not in mythweb, but rather the backend configuration...now to find out where..


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#11 2008-01-31 11:43:43

kronikabis
Member
Registered: 2007-03-28
Posts: 2

Re: MythWeb problem

http://bbs.archlinux.org/viewtopic.php?id=8346&p=2

sounds like the same thing to me......

i have no idea how to do what it says though...

also the versions are quite different

i just wish i could fix this thing :'(

Offline

#12 2008-03-23 10:36:55

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: MythWeb problem

Well the problem about Mythweb crashes using the mythstatus is a known problem to the developers, and should be solved in the newest release 0.21.
But then I wanted to build the newest packages and looked for those in AUR, but no packages are left behind. And having tryed that much to build packages, so if anyone have the time to make those packages again, that'll be something I'll look forward to recieving and getting the latest updates regarding to MythTV.


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB