[mythtv-users] Mythtv - database; MySQL good - Myth Lost -

Jeremy Thompson Jeremy.a.thompson+MythtvList at gmail.com
Tue Oct 4 15:26:50 UTC 2005


Wow.....
Ok, checked modprobe

not sure what I am supposed to see, but here it is:

alias eth0 e100
alias snd-card-0 snd-emu10k1
options snd-card-0 index=0
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-emu10k1
alias char-major-81 cx88-blackbird
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394
# nvidia kernel module
alias char-major-195 nvidia-1_0-7667
alias nvidia nvidia-1_0-7667


Here is a dump of lsmod

Module Size Used by
parport_pc 28293 0
lp 12873 0
parport 40073 2 parport_pc,lp
autofs4 28229 0
sunrpc 164229 1
dm_mod 57333 0
video 15685 0
button 6609 0
battery 9285 0
ac 4805 0
nvidia 3698180 12
md5 4033 1
ipv6 262977 10
ohci1394 39945 0
ieee1394 303545 1 ohci1394
ati_remote 12617 0
uhci_hcd 35025 0
ehci_hcd 40013 0
tuner 26737 0
cx8800 33613 1
v4l1_compat 13637 1 cx8800
v4l2_common 5825 1 cx8800
cx88_blackbird 14917 0
cx8802 11973 1 cx88_blackbird
cx88xx 53217 3 cx8800,cx88_blackbird,cx8802
i2c_algo_bit 9033 1 cx88xx
video_buf 23621 4 cx8800,cx88_blackbird,cx8802,cx88xx
ir_common 7365 1 cx88xx
btcx_risc 4937 3 cx8800,cx8802,cx88xx
tveeprom 13017 1 cx88xx
videodev 9537 4 cx8800,cx88_blackbird,cx88xx
i2c_i801 8653 0
i2c_core 21313 5 tuner,cx88xx,i2c_algo_bit,tveeprom,i2c_i801
emu10k1_gp 3649 0
gameport 18377 2 emu10k1_gp
snd_emu10k1 129284 1
snd_rawmidi 27296 1 snd_emu10k1
snd_seq_device 8204 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 76412 1 snd_emu10k1
snd_pcm_oss 48928 0
snd_mixer_oss 16768 1 snd_pcm_oss
snd_pcm 95496 4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 30724 2 snd_emu10k1,snd_pcm
snd_page_alloc 7940 2 snd_emu10k1,snd_pcm
snd_util_mem 4096 1 snd_emu10k1
snd_hwdep 7840 1 snd_emu10k1
snd 53892 10
snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 10785 1 snd
e100 48833 0
mii 5569 1 e100
floppy 64629 0
ext3 130633 3
jbd 83161 1 ext3

Again, no lirc, so I am sure if it's working. I am using an ATI remote
wonder, and it works fine now.

But this is the error I am getting -

root at mythtv mythtv]# mythtv
2005-10-04 17:22:11.830 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-10-04 17:22:11.837 Using screen 0, 1024x768 at 0,0
2005-10-04 17:22:11.879 Switching to square mode (G.A.N.T.)
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2005-10-04 17:22:12.606 Joystick disabled.
2005-10-04 17:22:12.868 New DB connection, total: 2
2005-10-04 17:22:12.893 Connecting to backend server:
127.0.0.1:6543<http://127.0.0.1:6543>(try 1 of 5)
2005-10-04 17:22:12.900 Using protocol version 15
2005-10-04 17:22:12.943 Using protocol version 15
2005-10-04 17:22:18.068 Disable DPMS

2005-10-04 17:22:23.127 taking too long to be allowed to read..
2005-10-04 17:22:28.129 taking too long to be allowed to read..
2005-10-04 17:22:33.145 taking too long to be allowed to read..
2005-10-04 17:22:33.145 Took more than 10 seconds to be allowed to read,
aborting.
Couldn't read file: rbuf://127.0.0.1:6543/video/ringbuf1.nuv
2005-10-04 17:22:33.255 Changing from None to WatchingLiveTV
2005-10-04 17:22:33.256 Decoder not alive, and trying to play..
2005-10-04 17:22:53.258 ReadStringList timeout (quick).
Remote encoder not responding.
2005-10-04 17:22:54.263 Changing from None to None
2005-10-04 17:23:03.389 ReadStringList timeout (quick).
2005-10-04 17:23:03.389 RemoteFile::Read(): No response from control socket.
2005-10-04 17:23:03.389 RemoteFile::Read() failed in
RingBuffer::safe_read().
2005-10-04 17:23:03.391 WriteStringList: Bad socket
2005-10-04 17:23:03.391 ReadStringList: Bad socket
2005-10-04 17:23:03.391 Remote file timeout.

I will check the other things and get back to you,
JT
On 10/4/05, R. Geoffrey Newbury <newbury at mandamus.org> wrote:
>
> On Mon, 3 Oct 2005 18:24:50 +0200, Jeremy Thompson wrote:
>
> [root at mythtv etc]# mythtv
> 2005-10-03 18:16:30.848 New DB connection, total: 1
> Total desktop width=3D1024, height=3D768, numscreens=3D1
> 2005-10-03 18:16:30.857 Using screen 0, 1024x768 at 0,0
> 2005-10-03 18:16:30.897 Switching to square mode (G.A.N.T.)
> mythtv: could not connect to socket
> mythtv: No such file or directory
> lirc_init failed for mythtv, see preceding messages
>
>
> For this one, you have some sort of error with lirc not being compiled or
> loaded properly. There should be an lirc entry in modprobe.conf (or
> whatever your distro uses)... Also check the output of lsmod.
>
>
> 2005-10-03 18:16:31.578 Joystick disabled.
> 2005-10-03 18:16:31.739 New DB connection, total: 2
> 2005-10-03 18:16:31.766 Connecting to backend server:
> 127.0.0.1:6543 <http://127.0.0.1:6543><http://127.0.0.1:6543>(try 1 of 5)
> Connection timed out.
> You probably should modify the Master Server settings
> in the setup program and set the proper IP address.
> 2005-10-03 18:16:34.122 Changing from None to None
>
> I am thoroughly convinced that mythtv-setup does NOT work properly. Every
> time I have tried to make any changes to the name or IP of the mythtv
> system it has failed. And attempting to change back will not work either.
> First check that you have a ~/mythtv/.mythtv/mysql.txt file and that it
> has the correct entries. Also check whether there is a similar file under
> /root/.mythtv/ Chances are that they differ. If you have done an 'su' to
> fix something and forgotten to exit before calling mythtv-setup, then you
> will likely be using the wrong file!
>
> If that does not work, I suggest that, as root, you delete the mythconverg
> folder and start again by running the mc.sql script. You can run that as
> individual commands in mysql after logging in with 'mysql -u root -p
> <enter>' and giving your password.
>
> From my experience, there is no easy way to correct these errors. The
> Mythtv how-to describes how to dump and restore the database. (About
> Chapter 22.5 or so). Not particularly easy to do but worthwhile if you
> must save the data. If you are just setting up then there is no real data
> yet.
>
>
> I changed the backend to localhost, mythtv, 127.0.0.1 <http://127.0.0.1> <
> http://127.0.0.1>,
> and my actual ip. I got this error for actual IP
>
> 2005-10-03 18:21:40.952 Database not open while trying to save setting:
> Language
> 2005-10-03 18:21:40.953 Unable to connect to database!
> 2005-10-03 18:21:40.953 Driver error was [1/1130]:
> QMYSQL3: Unable to connect
> Database error was:
> Host '192.168.1.103 <http://192.168.1.103> <http://192.168.1.103>' is not
> allowed to connect to
> this MySQL server
>
> This says that host '192.168.1.103 <http://192.168.1.103>' is not a proper
> mysql user....there
> are probably only 2 proper users: mythtv ('granted' by the mc.sql script
> and the mysql root user.
>
>
> for localhost, 127.0.0.1 <http://127.0.0.1> <http://127.0.0.1> and mythtv
> I get:
>
> 2005-10-03 18:23:36.950 Writing settings file /root/.mythtv/mysql.txt
> QInputContext: cannot create input context for non-toplevel widgets
> QInputContext: cannot create input context for non-toplevel widgets
> 2005-10-03 18:23:36.954 Unable to connect to database!
> 2005-10-03 18:23:36.954 Driver error was [1/2003]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to MySQL server on 'mythtv' (111)
>
> This seems to say that you have named the host machine as 'mythtv' (rather
> than being user mythtv at my-new-PVR-box)
>
> If you sign in to mysql as root you can run "select * from settings;'
> which will show you all of the entries in the settings 'database' (form).
> There are 450 odd entries. The third column is "hostname". After running
> into the same sort of error and attempting to go back to using
> 'localhost', I had 179 entries still with the old and wrong hostname... I
> had to use a Replace command in mysql to change those entries... This had
> the unfortunate side effect of apparently also deleting all of the
> settings. I had attempted the replacement route as a surrogate for just
> deleting mythconverg and starting again.
>
> And I bought O'Reilly: Mysql in a Nutshell yesterday afternoon...
>
> Geoff
>
>
>
>
> R. Geoffrey Newbury newbury at mandamus.org
> Barrister and Solicitor Telephone: 905-271-9600
> Mississauga,Ontario, Canada Facsimile: 905-271-1638
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20051004/e68181d5/attachment-0001.htm


More information about the mythtv-users mailing list