You are not logged in.
Pages: 1
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
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
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
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
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
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/mythwebThat 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
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
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
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
Kind regards, enrique
Offline
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
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
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
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
Pages: 1