LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-17-2006, 10:13 PM   #1
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
mythtv authentication rejected


I am trying to set up mythtv in debian with a PVR-150MCE. I have the ivtv modules set up and loaded. The mysql database is setup. I ran mythtv-setup already. When I try to run mythbackend I get this:
Code:
$ mythbackend
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
2006-01-17 18:09:46.041 New DB connection, total: 1
Starting up as the master server.
2006-01-17 18:09:46.092 New DB connection, total: 2
2006-01-17 18:09:46.126 New DB scheduler connection
2006-01-17 18:09:46.152 New DB connection, total: 3
2006-01-17 18:09:46.161 mythbackend version: 0.18.1.20050510-1 www.mythtv.org
2006-01-17 18:09:46.162 Enabled verbose msgs : important general
2006-01-17 18:09:46.203 New DB connection, total: 4
2006-01-17 18:09:46.204 New DB connection, total: 5
QServerSocket: failed to bind or listen to the socket
Failed to bind port: 6543
Also set up an account at zap2it.com and put my password in mythtv-setup, but when I try mythfilldatabase I get this:
Code:
$ mythfilldatabase
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
2006-01-17 18:11:43.098 New DB connection, total: 1
2006-01-17 18:11:43.131 New DB connection, total: 2
Refreshing Tomorrow's data
2006-01-17 18:11:43.158 New DB DataDirect connection
Retrieving datadirect data...
Grabbing data for Tue Jan 17 2006 offset 1
From : Wed Jan 18 05:00:00 2006 To : Thu Jan 19 05:00:00 2006 (UTC)
--18:11:43--  http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com|206.18.98.160|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com|206.18.98.160|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
Grab complete.  Actual data from
Always authorization failed. I can log into mysql with the mythtv user and password fine. The card works in windows. Any help would be appreciated (or suggestions for another pvr).
 
Old 01-17-2006, 10:38 PM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
It seems I have the ivtv modules set up right because I can watch tv in mplayer:
Code:
mplayer -vo xv /dev/video0
 
Old 01-18-2006, 06:21 AM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
OK, got mythbackend working now (sort of) but mythfilldatabase still gives lots of unauthorized errors and when I go to watch tv in the frontend there is just a black screen.

the terminal running backend gives lots of this:
Code:
2006-01-17 19:05:37.913 adding: develop as a client (events: 0)
2006-01-17 19:05:37.945 MainServer::HandleAnnounce Playback
2006-01-17 19:05:37.945 adding: develop as a client (events: 0)
2006-01-17 19:05:37.952 adding: develop as a remote ringbuffer
2006-01-17 19:05:37.993 Changing from None to WatchingLiveTV
2006-01-17 19:05:38.074 NVR: Won't work with the streaming interface, falling back
VIDOCGMBUF:: Invalid argument
2006-01-17 19:05:38.083 TVRec: Recording Prematurely Stopped
2006-01-17 19:05:39.493 MainServer::HandleAnnounce Playback
the terminal running frontend gives lots of this:
Code:
2006-01-17 19:05:37.121 Using protocol version 15
2006-01-17 19:05:37.261 Using protocol version 15
2006-01-17 19:05:37.415 Using protocol version 15
2006-01-17 19:05:37.590 Using protocol version 15
2006-01-17 19:05:37.725 Using protocol version 15
2006-01-17 19:05:37.871 Using protocol version 15
2006-01-17 19:05:37.908 Using protocol version 15
2006-01-17 19:05:38.338 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-01-17 19:05:38.550 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-01-17 19:05:38.772 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-01-17 19:05:38.985 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-01-17 19:05:39.199 RemoteFile::Read() failed in RingBuffer::safe_read().
2006-01-17 19:05:39.419 RemoteFile::Read() failed in RingBuffer::safe_read().
Couldn't read file: rbuf://127.0.0.1:6543/home/stephen/mythtv/cache/ringbuf2.nuv2006-01-17 19:05:39.437 LiveTV not successfully started
2006-01-17 19:05:39.447 Changing from None to WatchingLiveTV
2006-01-17 19:05:39.450 Changing from None to None
 
Old 01-18-2006, 02:31 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by ssfrstlstnm
OK, got mythbackend working now (sort of)...
What was wrong with it and how did you fix it? What does "sort of" mean? Details here might supply clues for further troubleshooting.
Quote:
...but mythfilldatabase still gives lots of unauthorized errors...
That's an error coming from the zap2it website. I would hazard a guess that either (1) your login/password is incorrectly entered, or (2) something got screwed up when you initially setup the account using Myth's certificate code. Can you login to the zap2it website manually and set up your profile? Have you contacted zap2it? Have you tried simply setting up another account from scratch?
Quote:
...and when I go to watch tv in the frontend there is just a black screen.
I don't know what this specific error you're getting means, but it sure doesn't sound like one would expect things to work after receiving it:
Code:
Couldn't read file: rbuf://127.0.0.1:6543/home/stephen/mythtv/cache/ringbuf2.nuv2006-01-17 19:05:39.437
LiveTV not successfully started
Do you have sufficient free disk space under /home/stephen/mythtv/cache?

Short of these generic suggestions, posting your questions on the MythTV users (or developers) mailing list might turn up some clues. Try on the users list first. It sounds like you've got multiple different problems. This is not necessarily unusual. MythTV is one of the more complex apps you will likely install on Linux. Also probably one of the apps that will teach you the most about debugging, troubleshooting, and effectively searching out help.
 
Old 01-18-2006, 06:26 PM   #5
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by haertig
That's an error coming from the zap2it website. I would hazard a guess that either (1) your login/password is incorrectly entered, or (2) something got screwed up when you initially setup the account using Myth's certificate code. Can you login to the zap2it website manually and set up your profile? Have you contacted zap2it? Have you tried simply setting up another account from scratch?
Maybe the problem is that I can't get the listings from the zap2it website. I don't know what you mean by "setup the account using Myth's certification code". The installation manual says nothing about that. I just set up an account by going to the website and putting in a username and password that matches what I have put in mythtv-setup screen. Also tried creating a new one which didn't work either. I can get the listing fine by logging into the website with my username and password.

Quote:
Originally Posted by haertig
I don't know what this specific error you're getting means, but it sure doesn't sound like one would expect things to work after receiving it:
Code:
Couldn't read file: rbuf://127.0.0.1:6543/home/stephen/mythtv/cache/ringbuf2.nuv2006-01-17 19:05:39.437
LiveTV not successfully started
Do you have sufficient free disk space under /home/stephen/mythtv/cache?
Yeah, doesn't sound good to me either but I have no idea what it means. I have plenty of disk space.
 
Old 01-18-2006, 06:57 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by ssfrstlstnm
I don't know what you mean by "setup the account using Myth's certification code". The installation manual says nothing about that.
http://www.mythtv.org/docs/mythtv-HOWTO-5.html#ss5.3

My guess is that without this code, zap2it won't allow manual downloads of raw data - thus your "401 denied" error when using mythfilldatabase.
 
Old 01-18-2006, 07:42 PM   #7
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Awesome, that did it. Downloaded the listings. I can now browse the listings and schedule programs to be recorded. Still get a black screen when I go to watch tv. I'll work on it some more and figure it out. I know the card works cause I can change channels with ivtv and watch tv with mplayer. Thanks! I was about to pull my hair out.
 
Old 01-18-2006, 08:16 PM   #8
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Putting "LiveTV not successfully started" into a google search turned up this as the second hit:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=4858&

Looks familiar. They're talking about Firewire, but the posted output from mythfrontend contains a lot of the same errors you're seeing. The tenth post down claims a fix, but who knows if that's what you really need to investigate. Worth a look however.

Then I went over to the MythTV mailing list archives at:

http://www.gossamer-threads.com/lists/mythtv/

And pasted that same search string into their search box. Lots and lots of hits there. Four pages worth. I didn't read any of them, but you've got a starting place.

Google and MythTV mailing list archives are your friends! I used these HEAVILY when I was installing MythTV. It sure wasn't any one-day install for me, but I got it all done eventually. Works flawlessly now. BTW, I had to hack several files in ivtv source and one MySQL file in MythTV source before getting things to work. Also had to use gcc 3.3 rather than 4.0. Lots and lots of little gotcha's when installing MythTV. Be persistant!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
99% Rejected mail sulee Linux - Security 1 01-16-2006 10:07 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
Error: "Tried to connect to session manager, Authentication Rejected, reason : None" randomx Linux - Software 0 01-24-2005 03:44 PM
Kerberos rejected frodema Linux - Networking 0 10-10-2003 12:05 PM
Rejected Connection vcheah Linux - Security 6 04-12-2002 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration