Ich bekomme unter Debian bullseye oder bookworm epgd nicht an laufen.
Ich kann es ohne Probleme kompilieren und beim start kommt dann der folgende Fehler:
Code
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Checking table 'timers'
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Checking table 'timersdone'
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Checking table 'useevents'
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Checking table 'users'
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Checking table 'vdrs'
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Closing mysql connection and calling mysql_thread_end(2175)
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Checking table structure and indices succeeded
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Calling mysql_init(2175)
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: State now 'init'
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: SQL-Error in 'select epglv('123', '123')' - FUNCTION epg2vdr.epglv does not exist (1305)
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: SQL-Error in 'select epglvr('123', '123')' - FUNCTION epg2vdr.epglvr does not exist (1305)
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Error: Missing functions epglv/epglvr, please install first!
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Closing mysql connection and calling mysql_thread_end(2175)
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Calling sd_notify(STOPPING=1$)
Dez 07 16:14:30 bullseye-testsystem epgd[2175]: Info: Released the last usage of mysql_lib, calling mysql_library_end() now
Alles anzeigen
Zu der Fehlermeldung hab ich den folgenden Thread gefunden:
Allerdings kann ich mit der Lösung nichts anfangen (ich kompiliere epgd selbst) bzw. ein manuelles kopieren des Plugins in das Verzeichnis hat bei mir nicht funktioniert.
Code
mysql_config --plugindir
/usr/lib/x86_64-linux-gnu/libmariadb3/plugin
mysql -u root -p -e "SELECT @@plugin_dir;"
Enter password:
+------------------------+
| @@plugin_dir |
+------------------------+
| /usr/lib/mysql/plugin/ |
Code
root@bullseye-testsystem:/usr/src/VDR/vdr-epg-daemon-1.1.165# make install
(cd lib && make lib)
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/lib" wird betreten
make[1]: Für das Ziel „lib" ist nichts zu tun.
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/lib" wird verlassen
g++ -rdynamic main.o update.o plugin.o epgdconfig.o channelmap.o series.o svdrpclient.o levenshtein.o episode.o tvdbmanager.o moviedbmanager.o tools/fuzzy.o tools/stringhelpers.o scraper/thetvdbscraper/thetvdbscraper.o scraper/thetvdbscraper/tvdbseries.o scraper/thetvdbscraper/tvdbmirrors.o scraper/thetvdbscraper/tvdbmedia.o scraper/thetvdbscraper/tvdbactor.o scraper/thetvdbscraper/tvdbepisode.o scraper/themoviedbscraper/themoviedbscraper.o scraper/themoviedbscraper/moviedbmovie.o scraper/themoviedbscraper/moviedbactor.o -L./lib -lhorchi -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib/x86_64-linux-gnu/ -lmariadb -ljansson -lsystemd -lcurl -lxml2 -lxslt -lxml2 -lexslt -o epgd
g++ -rdynamic epgdconfig.o webstore.o webdo.o webauth.o webtools.o httpd.o svdrpclient.o -L./lib -lhorchi -lmicrohttpd -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib/x86_64-linux-gnu/ -lmariadb -ljansson -lsystemd -lcurl -lxml2 -lxslt -lxml2 -lexslt -ljpeg -lImlib2 -o epghttpd
if ! test -d /usr/local/bin; then \
mkdir -p "/usr/local/bin" \
chmod a+rx /usr/local/bin; \
fi
install -D ./scripts/epgd-*[!~] /usr/local/bin/
install -D ./scripts/epgh-*[!~] /usr/local/bin/
install -D ./scripts/epgsearchdone.pl /usr/local/bin/
if ! test -d /etc/epgd; then \
mkdir -p /etc/epgd; \
chmod a+rx /etc/epgd; \
fi
install --mode=644 -D ./configs/getupdflg.sql /etc/epgd
install --mode=644 -D ./configs/getcrosslvr.sql /etc/epgd
install --mode=644 -D ./configs/getlvrmin.sql /etc/epgd
install --mode=644 -D ./configs/mergeepg.sql /etc/epgd
install --mode=644 -D ./configs/reverseepg.sql /etc/epgd
install --mode=644 -D ./configs/thetvdbview.sql /etc/epgd
install --mode=644 -D ./configs/epg.dat /etc/epgd
for i in ./configs/eventsview*.sql; do\
install --mode=644 -D "$i" /etc/epgd/; \
done;
if ! test -f /etc/epgd/epgd.conf; then \
install --mode=644 -D ./configs/epgd.conf /etc/epgd/; \
fi
if ! test -f /etc/epgd/recording.py; then \
install --mode=644 -D ./configs/recording.py /etc/epgd/; \
else \
install --mode=644 -D ./configs/recording.py /etc/epgd/recording.py.dist; \
fi
if ! test -f /etc/epgd/channelmap.conf; then \
install --mode=644 -D ./configs/channelmap.conf /etc/epgd/; \
fi
make[1]: Für das Ziel „all" ist nichts zu tun.
mkdir -p "/usr/local/lib/epgd/plugins"
for i in ./PLUGINS/*/Makefile; do\
grep -q "PLUGIN.*=" "$i" || continue;\
i=`dirname $i`;\
(cd "$i" && make install);\
done;
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/PLUGINS/epgdata" wird betreten
if ! test -d /etc/epgd; then \
mkdir -p /etc/epgd; \
chmod a+rx /etc/epgd; \
fi
if ! test -f /etc/epgd/channelmap.conf-epgdata-astra; then \
install --mode=644 -D ./configs/channelmap.conf-epgdata-astra /etc/epgd/; \
fi
for i in ./configs/epgdata-category.xml ./configs/epgdata-genre.xml ./configs/epgdata-iso-8859-1.xsl ./configs/epgdata-utf-8.xsl ./configs/epgdata.xsl; do\
if ! test -f "/etc/epgd/`basename $i`"; then\
install --mode=644 -D "$i" /etc/epgd/; \
fi;\
done;
if ! grep -q "^epgdata" /etc/epgd/epgd.conf; then \
cat ./configs/epgd.conf >> /etc/epgd/epgd.conf; \
fi
install -D libepgd-epgdata.so /usr/local/lib/epgd/plugins/
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/PLUGINS/epgdata" wird verlassen
install -D epgd /usr/local/bin/
(cd epglv; make install)
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/epglv" wird betreten
strip mysqlepglv.so
if ! test -f //usr/lib/x86_64-linux-gnu/libmariadb3/plugin/mysqlepglv.so; then \
install -D --mode=644 -t //usr/lib/x86_64-linux-gnu/libmariadb3/plugin mysqlepglv.so; \
fi
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/epglv" wird verlassen
(cd "http/" && make install)
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/http" wird betreten
cp -u ./www/epgd.js ./www/common.js ./www/favicon.ico /var/epgd/www/
cp ./www/epgd.css /var/epgd/www/
if test -f ./custom.css; then \
cat ./custom.css >> /var/epgd/www/epgd.css; \
fi
cp -u ../HISTORY.h /var/epgd/www/
cp -u ../TODO /var/epgd/www/
cp -ua ./www/lang/* /var/epgd/www/lang
cp -ua ./www/font/* /var/epgd/www/font
cp -ua ./www/images/* /var/epgd/www/images
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165/http" wird verlassen
install -D epghttpd /usr/local/bin/
make install-systemd
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165" wird betreten
cat contrib/epgd.service | sed s:"<BINDEST>":"/usr/local/bin":g | sed s:"<AFTER>":"mysql.service":g | sed s:"<PLGDEST>":"/usr/local/lib/epgd/plugins":g | install --mode=644 -C -D /dev/stdin /etc/systemd/system/epgd.service
chmod a+r /etc/systemd/system/epgd.service
cat contrib/epghttpd.service | sed s:"<BINDEST>":"/usr/local/bin":g | install --mode=644 -C -D /dev/stdin /etc/systemd/system/epghttpd.service
chmod a+r /etc/systemd/system/epghttpd.service
systemctl daemon-reload
make[1]: Verzeichnis „/usr/src/VDR/vdr-epg-daemon-1.1.165" wird verlassen
root@bullseye-testsystem:/usr/src/VDR/vdr-epg-daemon-1.1.165
Alles anzeigen
Vielen Dank für eure Hilfe
Gruß dile