View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Feb 12, 2006 8:22 pm 
Offline
Joined: Fri Feb 10, 2006 7:32 pm
Posts: 2
Hello,

I have searched the forums and found a guy with my problem but I have some diffrences then him.

we both had these issues:
Quote:
but when i click on watch tv.. it says "unable to connect to master backend.. is it running? is the ip address for it in the setup program correct?"

Quote:
i tried exiting the program and typing mythtv from xterm.. it says "connecting to backend server: 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.

and someone asked him to check if the backend was running we both got this error
Code:
root@mythtv:~# mythbackend
2005-05-10 00:02:44.005 new DB connection, total: 1
setting up as the master server.
2005-05-10 00:02:44.074 new DB connection, total: 2
2005-05-10 00:02:44.150 new DB connection, total: 3
2005-05-10 00:02:44.177 new DB scheduler connection
2005-05-10 00:02:44.200 mythbackend version: 0.18.20050409-1 www.mythtv.org
2005-05-10 00:02:44.208 Enabled verbose msgs : important general
/myth/tv/nfslockfile.lock: No space left on device
Unable to open lockfile!
Be sure that ' /myth/tv' exists and that both the directory and that the file are writeable by this user.


then there is disscussion about how we both have 6gig HD's, our IP's are set to local host, and how our HD are partiontioned with the DF command
mine isnt exact as his but damned close
Quote:
ok.. so did the df command.

/dev/hda1 = 2034404k blocks - used = 1275616, used = 67% mounted on /
/dev/hda3 = 2100008k blocks - used = 24, 1% /cache
/dev/hda4 = 1271328k blocks - used = 3% /myth.

thats an abbreviated version of what linux returned.

then i found deeper in the forum the commands to find if the back end is running
Quote:
Code:
ls -al /var/run/mythtv/
total 8
drwxr-xr-x 2 mythtv root 4096 Feb 18 02:29 .
drwxr-xr-x 13 root root 4096 May 14 11:21 ..


Now that seems like an issue.....I've got a total of 8 vs your 12 and I'm missing the last line.

No, that's actually fine... It just means it isn't running.


now that is where mine differs from his, mine is running.
mine reads
Code:
sh-3.00$ ls -al /var/run/mythtv
total 12
drwxr-xr-x   2 mythtv root    4096 feb 12 19:51 .
drwxr-xr-x   13 root root     4096 feb 12 19:51 ..
-rw-r--r--   1 mythtv mythtv 5  feb 12 1951 mythbackend.pid
sh-3.00$


Basically he had a bad install and re burned and got it working... I have burned versions R5A30.1 and R5A30.2 and performed multi installs, from my research efforts its not a bad install. what else can i do to get my frontend to see my back end? let it be know im a lunix noob too, thanks for the help
Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 9:05 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I think you're just out of disk space on the /myth partition, and if you're not out of disk space you may be out of inodes. Try these commands:
Code:
df -k
df -i

A 6Gb HD is really, really not enough for this application.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 9:35 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
You can make it fit in a 6 gig drive however it isn't really a project for a beginner and has to be done manually. As tjc points out, you run out of inodes and the /myth partion does not set up properly. Try for some thing a little larger, 13 gig and up. You probably can get a used one for ~$5 - $10.

If you really want to try for the 6 gig, suggest you make two partitions with cfdisk, size hda1 to be ~384 - 512 meg less than max available. Make partition hda2 the remaining 384 ~ 512. Make hda1 bootable, type 83 is ok and hda2 type 82 (swap).

Now setup hda2 for swap useage with : mkswap /dev/hda2 and follow that with swapon -a Reboot to update the drive tables.

When it comes back up do an auto upgrade. You won't have much space to record tv however will be fine for pictures, music and all the other tools. Great way to learn so can later do a larger drive for real home system :)

The original error is because things aren't fully setup and therefore the backend can't run.
Have a great day.
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 9:50 pm 
Offline
Joined: Fri Feb 10, 2006 7:32 pm
Posts: 2
Yes tjc got it.

df -i
showed /dev/hda4 with 100% of its inodes in use.

if all it takes to reduce the inode usage is grab a bigger hard drive i will find one.

But like the other poster, i did not want to invest in alot of additional hardware if (this noob to linux) couldnt get it up and running first..[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 10:09 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi jeffszalaj,

You don't
Quote:
reduce the inode useage with a bigger drive
, you just have more to use :)

Depending in what part of the world you live in, most likely the stores are closed so for the fun of it try the walk through I posted earlier. To get to cfdisk, boot the install cd and then use the menu item Quit to get the prompt. type cfdisk and hit return, it is rather intuitive to use.

It will run in 6 gig . Ensure the cache buffer is minimum of 1 gig. I use /myth/tv for storeage and cache. Later when you get a larger hd, (add it as /dev/hdb1 or /dev/hdd1) format it for ext3 (guide in the wiki) make a mount point, copy your current /myth stuff to it and then remount /dev/hdx1 /myth (changes in the /etc/fstab needed) It can even be an external usb as /dev/sda1. I haven't tried with digital but does work analog.

Mike
Have fun
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2006 6:44 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You can also do a manual install and format the file system with a higher % of inodes. The default setup configures for a relatively small number of very large files (since video recordings run ~1-5Gb each for SDTV). People also run into problems with this when they've got a lot of music or other relatively small files. If you're doing a manual install I'd setup only 3 partitions hda1 for / , hda2 for swap, (skip hda3), and hda4 for /myth, then in the configuration move the live TV caching into /myth/tv since that's where it's going in MythTV 0.19 anyway.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2006 7:12 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi tjc,

That is about what I do with my small drives. Question I have is how do you skip a partition? I make all four, then go back and delete the first three remaking only two. Otherwise the numbering shifts to be hda3 instead of hda4.

For a 6 ~ 10 gig, I usually only make 2 partitions, / and swap. One can't record much anyway so it works great for the small files of pictures, music and my oo files :)

Thanks
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2006 8:13 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
mjl wrote:
Question I have is how do you skip a partition? I make all four, then go back and delete the first three remaking only two. Otherwise the numbering shifts to be hda3 instead of hda4.

Well them that's probably how you do it. ;-) Honestly I don't know of a better answer, and when I got rid of my /cache partition I was keeping hda4 and the data on it, so I did effectively the same thing... I'm sure there must be a way, maybe in expert mode... :?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2006 8:29 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi tjc,

When one only has a small drive, you can't make a large enough /myth partition to finish the auto install. I have removed my cache also on my main drive and added the space to the / for my extra toys / tools.

I'm still a looong way from being able to use the expert mode :) but it is fun trying to make what you have work.

Have a great day
Mike


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 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