[SOLVED] Problem getting mythweb to work in debian/squeeze
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Mythweb has been installed in Debian/testing
It was installed from the "Squeeze" repo using the
Synaptic package manager. Mythtv was was also installed using the squeeze repo and synaptic package manager.
Mythtv works; Mythweb does not. It looks like both packages took care of the configuration.
If I type the URL "http://localhost/index" into a browser, it works.
However "http://localhost/mythweb" does not.
here is the apache2 error log:
Quote:
[Fri Aug 20 22:05:50 2010] [error] [client 127.0.0.1] PHP Warning: require(modules/_shared/tmpl/tmpl/header.php): failed to open stream: No such file or directory in /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 23
[Fri Aug 20 22:05:50 2010] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required 'modules/_shared/tmpl/tmpl/header.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 23
Sounds like apache isn't configured properly, it may have downloaded the packages for it, but not configured apaches http.conf file. Could you post it so we can see how it's configured, most likely be /etc/http/http.conf
Sounds like apache isn't configured properly, it may have downloaded the packages for it, but not configured apaches http.conf file. Could you post it so we can see how it's configured, most likely be /etc/http/http.conf
Thank you for the response.
No http.conf, what I found was "httpd.conf" --- and it is empty.
Apache2 is the one that is installed. It looks like some of the file names have changes and that Apache2 is placing some things in different locations. If that’s true, I need to find a reference that shows the correspondence.
Perhaps I should check the mythweb irc;
Before that though a little more research is in order.
No http.conf, what I found was "httpd.conf" --- and it is empty.
Oops, sorry that was an error on my part, I meant httpd.conf file. Most likely the developers of you distro has placed files in different places, if you compile from source it will go in the default locations that apache developers have set, unless you choose a different location. See how you go, if you still have trouble i would be glad to post my httpd.conf file i use for my myhtbox, it's uses apache2, so it will work for yours.
First one is that there is a bug in the version of mythweb that is in the debian repository. I retrieved the latest mythweb from subversion, and the php error went away.
Second problem is my interpretation of the install document.
I went thru it three times from scratch and each time received the same results.
After entering "http://<local ip address>" on the browser address line, this is displayed:
Quote:
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
If I enter "http://<local ip address>/mythweb", I get: Oops! This link appears to be broken." what I really get is the mythweb index listing
I believe that means I'm missing something in one of the config files -
but I know next to nothing about apache and network/server configuration.
Gary
Last edited by garyg007; 08-25-2010 at 09:18 PM.
Reason: Corrected error - which is marked with strike-out
I had placed the folder "mythweb" as a sub directory in /etc/apache2"; with a symbolic link to it in "/var/www" and that affected the way I had modified the "mythweb.conf.apache" file. (I gotta remember the kiss principle - keep it simple)
I moved "mythweb" to /var/www and re-did the changes to "mythweb.conf.apache". almost works.
The version of mythweb in the debian repository, contains a bug that prevents it from working.
So I got a copy of mythweb from subversion trunk; and that is causing compatability problems.
ONE OF MANY MESSAGES
" Notice at /var/www/mythweb/classes/MythBackend.php, line 100:!!NoTrans: Incompatible protocol version (mythweb=58, backend=56)!! "
now what --- really not looking forward to installing mythtv from source
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.