View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Oct 14, 2008 11:49 pm 
Offline
Joined: Fri May 27, 2005 9:33 pm
Posts: 106
Location: Cairns, Australia.
I have auto-installed version 5.5 to a new HD and all went really well.
As always I get way more channels after a channel scan (DVB) than I wish to see so I normally go into Mythweb and clean it all up, but no Mythweb just a timeout screen unavailable. I don't get a screen requesting login:password which I used to get.
I can access the mythbox via putty using the username I entered but I cannot access it using mythtv (the password fails). Obviously I can ping the box as well. I can access the myth files via a saamba share using mythtv:mythtv as well??
The passwords are the same in mysql.txt and mythweb-htaccess if that helps.
I can not find a .htaccess file in /etc/mythtv which some other posts referred to.
Children are home from school so pressure is on now :D

_________________
R8.1 combined backend/frontend
ASUS P7H55-M Pro
Intel i3-550, 4Gb Ram
Seagate 500GB (Sata)
2x Dvico DVB-T Lite & Sony PlayTV (usb twin tuner)
TP-Link TL-WN881ND PCIe wifi card (not working)
Logitech Harmony One remote, CoolerMaster ATC-S case


Last edited by bearwood on Fri Oct 17, 2008 3:46 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 15, 2008 3:49 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
I can't remember if there is anything specifically you need to do to fix this, but I'd suggest reading the hints and tips thread by tjc. It may give you some answers, however as an alternative, you can tweak your channel listings through Mythtv-setup.
HTH.
Regards Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
PostPosted: Wed Oct 15, 2008 5:45 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
bearwood wrote:
I can access the mythbox via putty using the username I entered but I cannot access it using mythtv (the password fails).


User mythtv has been denied ssh access for quite a few versions (3 or 4?). The reason is that everyone in the world knows the password!

If you want to enable access for mythtv, just modify /etc/ssh/sshd_config. If you do this, you are really asking for everyone to hack your machine (really, don't do it).

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 15, 2008 6:51 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Create another user, login as that, then do:
Code:
su - mythtv

As Mike said, the mythtv account is blocked from logging in directly with ssh for good reason.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 15, 2008 2:38 pm 
Offline
Joined: Fri May 27, 2005 9:33 pm
Posts: 106
Location: Cairns, Australia.
Thanks guys.

This accounts for ssh into the box as user mythtv but what about mythweb. I don't even get a login screen.

I'll search back thru the hints and tips for earlier installs more thoroughly to see if I can find the reference to mythweb being blocked

_________________
R8.1 combined backend/frontend
ASUS P7H55-M Pro
Intel i3-550, 4Gb Ram
Seagate 500GB (Sata)
2x Dvico DVB-T Lite & Sony PlayTV (usb twin tuner)
TP-Link TL-WN881ND PCIe wifi card (not working)
Logitech Harmony One remote, CoolerMaster ATC-S case


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 15, 2008 7:43 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

I am going to assume you may mean webmin ? It isn't started as default. Do your loggin (non mythtv user ) then you can su - to become root.

Once as root you can then /etc/init.d/webmin start

Once done stop it to save resources and close another direct doorway in to your system.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 4:24 am 
Offline
Joined: Fri May 27, 2005 9:33 pm
Posts: 106
Location: Cairns, Australia.
Hi Mike,
No I do not use webmin. I am wanting to use mythweb so I can schedule recordings, delete recordings etc from another computer on the network.
I used to type http://192.168.0.5 into the browser and up came a login box and then mythweb after a succesful login.

I am not even getting the login box, just a timeout
Quote:
You tried to access the address http://192.168.0.5/, which is currently unavailable


Eddy

_________________
R8.1 combined backend/frontend
ASUS P7H55-M Pro
Intel i3-550, 4Gb Ram
Seagate 500GB (Sata)
2x Dvico DVB-T Lite & Sony PlayTV (usb twin tuner)
TP-Link TL-WN881ND PCIe wifi card (not working)
Logitech Harmony One remote, CoolerMaster ATC-S case


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 1:36 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
bearwood wrote:
Hi Mike,
No I do not use webmin. I am wanting to use mythweb so I can schedule recordings, delete recordings etc from another computer on the network.
I used to type http://192.168.0.5 into the browser and up came a login box and then mythweb after a succesful login.

I am not even getting the login box, just a timeout
Quote:
You tried to access the address http://192.168.0.5/, which is currently unavailable


Eddy


Is apache2 running on the mythbox?

Code:
# /etc/init.d/apache2 start



At the least you should see something -- an error message even. Not just connection timed out. If it is running, maybe the box you're attempting to connect from is blocking it somehow. Try going to the local machine (the mythtvbox), exit the frontend and load up a shell and try to connect via lynx or firefox if you have it installed. Lynx is there by default:

Code:
$ lynx localhost


What happens there? Also try reading your apache2 logs in /var/log/apache2

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 17, 2008 1:54 am 
Offline
Joined: Fri May 27, 2005 9:33 pm
Posts: 106
Location: Cairns, Australia.
Graysky thanks for the input. It is obviously a password/permissions?? problem with apache.


Apache2 is running already.

lynx localhost from the mythbox brings up a window with which states:

Show the 401 message body (y/n) --pressing yes brings up a statement along the lines Authorization Required. This s erver can verify that you are authorized to access the document requested. Either you supplied the wrong credentials ( e.g, bad password ), or your browser doesn't understand how to give the right credentials.

The apache2 access.log just had one entry for the lynx localhost thing.

The apache2 error.log:
[list=][Tue Oct 14 20:19:47 2008] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 14 20:19:47 2008] [notice] Digest: done
[Tue Oct 14 20:19:48 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Tue Oct 14 20:20:23 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 15 13:23:51 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 15 13:23:51 2008] [notice] Digest: done
[Wed Oct 15 13:23:51 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 15 13:24:10 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 15 13:44:10 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 15 13:44:10 2008] [notice] Digest: done
[Wed Oct 15 13:44:10 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 15 13:59:25 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 15 13:59:25 2008] [notice] Digest: done
[Wed Oct 15 13:59:26 2008] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 15 13:59:26 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 15 15:13:25 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 15 15:14:17 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 15 15:14:17 2008] [notice] Digest: done
[Wed Oct 15 15:14:18 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 15 15:52:06 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 15 15:52:06 2008] [notice] Digest: done
[Wed Oct 15 15:52:07 2008] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 15 15:52:07 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 15 17:16:22 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 15 17:17:16 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 15 17:17:16 2008] [notice] Digest: done
[Wed Oct 15 17:17:17 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Thu Oct 16 06:59:40 2008] [notice] caught SIGTERM, shutting down
[Thu Oct 16 07:23:27 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 16 07:23:28 2008] [notice] Digest: done
[Thu Oct 16 07:23:28 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[Thu Oct 16 11:50:47 2008] [notice] caught SIGTERM, shutting down
[Thu Oct 16 20:04:18 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 16 20:04:19 2008] [notice] Digest: done
[Thu Oct 16 20:04:19 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.4-2 with Suhosin-Patch configured -- resuming normal operations
[/list]

Quote:
root@mythtv:/etc/apache2# ls -l
total 60
-rw-r--r-- 1 root root 28 Oct 8 2006 README
-rw-r--r-- 1 root root 24428 Oct 15 13:44 apache2.conf
drwxr-xr-x 2 root root 4096 Sep 29 2007 conf.d
-rw-r--r-- 1 root root 895 Oct 8 2006 envvars
-rw-r--r-- 1 root root 0 Oct 31 2006 httpd.conf
-rw-r--r-- 1 root root 27 Oct 8 2006 magic
drwxr-xr-x 2 root root 4096 Feb 4 2008 mods-available
drwxr-xr-x 2 root root 4096 Sep 26 2007 mods-enabled
-rw-r--r-- 1 root root 10 Oct 31 2006 ports.conf
drwxr-xr-x 2 root root 4096 Jun 3 2007 sites-available
drwxr-xr-x 2 root root 4096 Nov 5 2006 sites-enabled


Is the httpd.conf meant to be a zero byte file?
I'll have to do some reading about permissions again to remember what the 3 groups are for the xrw.

_________________
R8.1 combined backend/frontend
ASUS P7H55-M Pro
Intel i3-550, 4Gb Ram
Seagate 500GB (Sata)
2x Dvico DVB-T Lite & Sony PlayTV (usb twin tuner)
TP-Link TL-WN881ND PCIe wifi card (not working)
Logitech Harmony One remote, CoolerMaster ATC-S case


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 17, 2008 2:16 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
So "lynx localhost" works (or at least gets to auth failure, but that is probably because the -auth parm wasn't set), but typing http://192.168.0.5/ on a different computer gets no response.

Sounds like a connectivity problem.

Are you sure the ip address is correct and the remote computer can reach it? Ex. can you putty into 192.168.0.5 box from the computer you are trying http from?

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject: Mythweb acces SOLVED
PostPosted: Fri Oct 17, 2008 3:15 am 
Offline
Joined: Fri May 27, 2005 9:33 pm
Posts: 106
Location: Cairns, Australia.
The problem lies with the browser "Opera" .I tried Firefox out of frustration and it works. Go figure.

Maybe I should have said I am trying access from a windows computer. I don not know if the linux version of Opera has this problem but the windoze version certainly does


Thanks to all

_________________
R8.1 combined backend/frontend
ASUS P7H55-M Pro
Intel i3-550, 4Gb Ram
Seagate 500GB (Sata)
2x Dvico DVB-T Lite & Sony PlayTV (usb twin tuner)
TP-Link TL-WN881ND PCIe wifi card (not working)
Logitech Harmony One remote, CoolerMaster ATC-S case


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 17, 2008 10:06 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
Have you by any chance set up a proxy in opera? An external proxy would not find the local IP address of your mythbox.

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 17, 2008 1:14 pm 
Offline
Joined: Fri May 27, 2005 9:33 pm
Posts: 106
Location: Cairns, Australia.
Opera does have a proxy, so that explains that I guess. :oops:

_________________
R8.1 combined backend/frontend
ASUS P7H55-M Pro
Intel i3-550, 4Gb Ram
Seagate 500GB (Sata)
2x Dvico DVB-T Lite & Sony PlayTV (usb twin tuner)
TP-Link TL-WN881ND PCIe wifi card (not working)
Logitech Harmony One remote, CoolerMaster ATC-S case


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 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
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu