[mythtv-users] Storage group question

Phil Bridges gravityhammer at gmail.com
Wed Nov 10 03:16:31 UTC 2010


On Tue, Nov 9, 2010 at 9:57 PM, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>  On 11/09/2010 09:20 PM, Phil Bridges wrote:
>>
>> I'm trying to set up a slave backend again (old one croaked).  Before,
>> I was using .22, and shared my drives using NFS.  Now, I'm going to
>> try to use Storage Groups.
>>
>> I have mythbackend running on my slave backend (tunerless until my
>> HD-PVR comes in).  I have three mount points for recordings:
>>
>> /mnt/video1/recordings
>> /mnt/video2/recordings
>> /mnt/video3/recordings
>>
>> I have added each of those directories on my master backend in the
>> "Default" storage group.  When I exited mythtv-setup, it barked at me
>> that these directories didn't exist.  No big deal, right, since my
>> slave backend wasn't running yet.
>>
>> I started my master backend, and then the slave.  The master backend
>> log shows the slave is connected.  I go to the MythWeb status page,
>> though, and t doesn't show the drives.  I check my frontend status -
>> no drives.  I go to the backend webpage (IP:6544) and it shows the
>> drives.
>>
>> Any suggestions on how to get this working?
>
> Look in the remote backend's logs for errors.  Also, check your file system
> permissions on those directories--they (and all their parent directories)
> need read and execute for the user running mythbackend (and the recordings
> directory needs write permissions).
>
> If you don't see any errors, run the remote backend with:
>
> mythbackend -v important,general,file
>

Nothing I see:

2010-11-09 22:12:46.399 mythbackend version:
branches/release-0-23-fixes [27077] www.mythtv.org
2010-11-09 22:12:46.399 (old)Settings::ReadSettings(settings.txt) - No such file
2010-11-09 22:12:46.399 Using runtime prefix = /usr
2010-11-09 22:12:46.399 Using configuration directory = /root/.mythtv
2010-11-09 22:12:46.399
(old)Settings::ReadSettings(/usr/share/mythtv/mysql.txt) - No such
file
2010-11-09 22:12:46.399
(old)Settings::ReadSettings(/usr/etc/mythtv/mysql.txt) - No such file
2010-11-09 22:12:46.400
(old)Settings::ReadSettings(/root/.mythtv/mysql.txt) - No such file
2010-11-09 22:12:46.400 (old)Settings::ReadSettings(./mysql.txt) - No such file
2010-11-09 22:12:46.400 Unable to read configuration file mysql.txt
2010-11-09 22:12:46.400 Empty LocalHostName.
2010-11-09 22:12:46.400 Using localhost value of slavebackend
2010-11-09 22:12:46.407 New DB connection, total: 1
2010-11-09 22:12:46.407 Unable to connect to database!
2010-11-09 22:12:46.407 Driver error was [1/2002]:
QMYSQL: Unable to connect
Database error was:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)


2010-11-09 22:12:46.960 UPnPautoconf() - Found one UPnP backend
2010-11-09 22:12:47.049 MythXMLClient::GetConnectionInfo Failed -
(604) No Security Pin assigned. Run mythtv-setup to set one.
2010-11-09 22:12:47.049 Testing network connectivity to '192.168.1.50'
2010-11-09 22:12:47.055 Closing DB connection named 'DBManager0'
2010-11-09 22:12:47.060 Connected to database 'mythconverg' at host:
192.168.1.50
2010-11-09 22:12:47.060 Closing DB connection named 'DBManager0'
2010-11-09 22:12:47.060 Deleting UPnP client...
2010-11-09 22:12:47.778 Connected to database 'mythconverg' at host:
192.168.1.50
2010-11-09 22:12:47.783 Using protocol version 23056
2010-11-09 22:12:47.920 Backend is running in EST5EDT time zone.
2010-11-09 22:12:47.940 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-09 22:12:47.942 MythBackend: Running as a slave backend.
2010-11-09 22:12:47.945 MythBackend, Error: No valid capture cards are
defined in the database.
                        Perhaps you should re-read the installation
instructions?
2010-11-09 22:12:47.947 New DB connection, total: 2
2010-11-09 22:12:47.948 Connected to database 'mythconverg' at host:
192.168.1.50
2010-11-09 22:12:47.948 New DB connection, total: 3
2010-11-09 22:12:47.949 Connected to database 'mythconverg' at host:
192.168.1.50
2010-11-09 22:12:48.266 Main::Registering HttpStatus Extension
2010-11-09 22:12:48.266 Enabled verbose msgs: important general file
2010-11-09 22:12:48.269 SG(): CheckAllStorageGroupDirs(): Checking All
Storage Group directories
2010-11-09 22:12:49.271 Connecting to master server: 192.168.1.50:6543
2010-11-09 22:12:49.272 Connected successfully


More information about the mythtv-users mailing list