Author Topic: Problems running mythtv-setup <SOLVED>  (Read 507 times)

Offline HWDude

  • Full Member
  • ***
  • Posts: 193
  • HWDude
    • N8OBJ's Home Page
Problems running mythtv-setup <SOLVED>
« on: January 29, 2012, 09:13:18 PM »
I've run out of ideas and searching the forum doesn't help

I'm trying to setup mythtv on a new install and get the error message:

Cannot execute command ' '/usr/bin/gpasswd -a hdtv mythtv''.

yet if I look in /usr/bin/    gpasswd is there.  and the password I gave was the root password.

I have set the groups for my username "hdtv" to include mysql and mythtv before running the script, yet when I inquire the system about this I get:

hdtv@HDTV_Systm:/home/hdtv$ id
uid=500(hdtv) gid=500(hdtv) groups=500(hdtv),7(lp),19(floppy),22(cdrom),80(cdwriter),81(audio),82(video),83(dialout),100(users),415(mythtv),488(mys,490(polkituser),501(fuse)
hdtv@HDTV_Systm:/home/hdtv$ groups
hdtv lp floppy cdrom cdwriter audio video dialout users mythtv mysql polkituser fuse
hdtv@HDTV_Systm:/home/hdtv$

I made the changes in the PCLCC both under the groups tab and editing the name tab.   Neither one seems to work.... 8-{{


I also "think" I set up the mysql databse by running [with no error messages]:

hdtv@HDTV_Systm:/MythTV$ mysql < mc.sql
hdtv@HDTV_Systm:/MythTV$

I even tried

hdtv@HDTV_Systm:/MythTV$ mysql -u root < mc.sql
hdtv@HDTV_Systm:/MythTV$

it seemed happy (or I just screwed up the database by doing it twice - not really sure) or it just ignored the command entirely.

now when I run mythtv-setup I still get the same error message I got the first time I tried it:

hdtv@HDTV_Systm:/MythTV$ mythtv-setup
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 379 ]  Child pid 8375
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line ""
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 379 ]  Child pid 8381
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line ""
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
/usr/share/mythtv/scripts/dialog_functions.sh: line 161: dcop: command not found
hdtv@HDTV_Systm:/MythTV$


with the error message being

Cannot execute command ' '/usr/bin/gpasswd -a hdtv mythtv''.

it then asks to restart the session which give an identical sequence of error messages - nothing seems to have changed.

I seem to have missed something very fundamental here.

And yes, the mysqld is running when I do this.

HELP!

HWDude
« Last Edit: February 27, 2012, 07:48:45 PM by HWDude »
Welcome My Son -- Welcome -- To -- The Machine ; Pink Floyd "Wish You Were Here"


Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Problems running mythtv-setup
« Reply #1 on: January 30, 2012, 01:24:04 AM »

now when I run mythtv-setup I still get the same error message I got the first time I tried it:

hdtv@HDTV_Systm:/MythTV$ mythtv-setup
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
.......................................
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
/usr/share/mythtv/scripts/dialog_functions.sh: line 161: dcop: command not found
hdtv@HDTV_Systm:/MythTV$


First, are you trying to install this from source? If so, why?
Second, have you installed the documents package mythtv-docs from Synaptic? Install that, open your web browser, paste the URL file:///usr/share/doc/mythtv-docs-0.24/mythtv-HOWTO-singlehtml.html into the address bar and read the instructions.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline HWDude

  • Full Member
  • ***
  • Posts: 193
  • HWDude
    • N8OBJ's Home Page
Re: Problems running mythtv-setup
« Reply #2 on: January 31, 2012, 10:26:43 AM »

now when I run mythtv-setup I still get the same error message I got the first time I tried it:

hdtv@HDTV_Systm:/MythTV$ mythtv-setup
kdesu(8352)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
.......................................
kdesu(8352)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
/usr/share/mythtv/scripts/dialog_functions.sh: line 161: dcop: command not found
hdtv@HDTV_Systm:/MythTV$


First, are you trying to install this from source? If so, why?
Second, have you installed the documents package mythtv-docs from Synaptic? Install that, open your web browser, paste the URL file:///usr/share/doc/mythtv-docs-0.24/mythtv-HOWTO-singlehtml.html into the address bar and read the instructions.



When I installed the package from Synaptic I was following the notes in the pop-up box about manually creating the mysql database and just running the mythtv-setup from the command line to instlll MythTV.  I did this the same way about 18 months ago and it worked 1st try.

I will read the docs and see where I went wrong.....

Thanks for your help... :-[ :-[ :-[

HWDude
 
Welcome My Son -- Welcome -- To -- The Machine ; Pink Floyd "Wish You Were Here"


Offline HWDude

  • Full Member
  • ***
  • Posts: 193
  • HWDude
    • N8OBJ's Home Page
Re: Problems running mythtv-setup
« Reply #3 on: February 09, 2012, 09:49:52 PM »
I discovered my fundamental problem - I was trying to run mythtv-setup from the command line - I should have been running it from the menu system, i.e.

PC -> Video -> mythTV setup

works like a champ - so DON'T follow the instructions "prompt" you get when you install the MythTV package from Synaptic!

HWDude
« Last Edit: February 09, 2012, 09:51:27 PM by HWDude »
Welcome My Son -- Welcome -- To -- The Machine ; Pink Floyd "Wish You Were Here"