Re: mythbackend starting before mySQLd
Paul Wilson <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Message-ID | <CAP6c-ywt9m39H+z99R7moLXDuA47yOHNp0EacDnX3-xP8S+eWA@mail.gmail.com> |
George, do you allow read/write to your "/var/lib/mythtv/config.xml" message in backend log 2012-09-14 08:16:45.075208 E [2445/2445] CoreContext configuration.cpp:112 (Save) - Could not open settings file /var/lib/mythtv/config.xml for writing On Sun, Sep 2, 2012 at 2:57 AM, George Galt <[email protected]> wrote: > On Sat, Sep 1, 2012 at 5:18 AM, Paul <[email protected]> wrote: > > On Fri 31/08/2012 10:52 PM, The Walters wrote: > >>> > >>> # daemon --user mythtv $binary $OPTIONS > >>> daemon sleep 10; $binary $OPTIONS > >> > >> should be a space between daemon and sleep. Sorry for the new thread > and > >> top post on the > >> previous message one too many mail programs open. > >> > >> _______________________________________________ > >> atrpms-users mailing list > >> [email protected] > >> http://lists.atrpms.net/mailman/listinfo/atrpms-users > >> > > > > I just noticed this in the syslog too > > > > mythbox systemd-tmpfiles[29725]: stat(/run/user/mythtv/gvfs) failed: > > Permission denied > > > > any idea? > > > > Paul > > > > > > _______________________________________________ > > atrpms-users mailing list > > [email protected] > > http://lists.atrpms.net/mailman/listinfo/atrpms-users > > Paul: > > Here is my "mythbackend.service" file, locate at: > /lib/systemd/system/mythbackend.service > > ################################################### > # file located at /lib/systemd/system/mythbackend.service > # use "systemctl enable mythtbackend.service to load > # based on a template from RPMFusion and R.G. Newbury from this thread: > # > http://www.gossamer-threads.com/lists/mythtv/users/516650?search_string=mythbackend.service%20;#516650 > > [Unit] > Description=MythTV backend service > > After=network.target mysqld.service > # for mythweb: not necessary so 'wants' not 'after' > Wants=httpd.service > > [Service] > Type=simple > > > Environment=MYTHTV_HOME=/var/lib/mythtv > Environment=MYTHCONFDIR=/var/lib/mythtv > Environment=HOME=/var/lib/mythtv > # NOTE: using the "mythtv" user, NOT root. > User=mythtv > > # NOTE: if you have other switches you want, insert them below. This > # is set to use log files in /var/log/mythtv. Make sure that the > # location of the HOME/MYTHCONFIG files, logs and the pid file > # are writeable by the user designated above. > ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv > > [Install] > WantedBy=multi-user.target > > ##################################### > ## end of file > > This works fine for me using FC16 x86_64 and Axel's builds. I don't > seem to have any permission problems. I don't think I had to set any > special permissions on any files. > > George > > _______________________________________________ > atrpms-users mailing list > [email protected] > http://lists.atrpms.net/mailman/listinfo/atrpms-users > _______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users