Can't access web configure interface
Added by Howard Chan over 10 years ago
Hi,
I don’t what has happen? I can’t access web configure interface after I complied and installed the program. The configure message as below:
root@test:~/software/tvheadend# ./configure Checking support/features checking for cc execinfo.h ... ok checking for cc -mmmx ... ok checking for cc -msse2 ... ok checking for cc getloadavg ... ok checking for cc atomic64 ... ok checking for cc lockowner ... ok checking for cc qsort_r ... ok checking for py module gzip ... ok checking for bzip2 ... ok checking for pkg openssl ... ok checking for cc linux/dvb/version.h ... ok checking for pkg zlib ... ok checking for pkg libcurl ... ok checking for pkg liburiparser ... ok checking for pkg avahi-client ... ok checking for pkg libavcodec <=55.0.0 ... ok checking for pkg libavcodec >=52.96.0 ... ok checking for pkg libavutil >=50.43.0 ... ok checking for pkg libavformat <=55.0.0 ... ok checking for pkg libavformat >=53.10.0 ... ok checking for pkg libswscale >=0.13.0 ... ok checking for cc sys/inotify.h ... ok fetching dvb-scan files ... ok Compiler: Using C compiler: cc Build for arch: x86_64 Binaries: Using PYTHON: python Options: cwc yes v4l no linuxdvb yes iptv yes tsfile yes dvbscan yes timeshift yes trace yes imagecache yes avahi yes zlib yes libav yes inotify yes curl yes epoll yes uriparser yes ccache no bundle no dvbcsa no kqueue no mpegts_dvb yes execinfo yes mmx yes sse2 yes getloadavg yes atomic64 yes lockowner yes qsort_r yes py_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes inotify_h yes mpegts yes mpegps no Packages: openssl 1.0.1 zlib 1.2.3.4 libcurl 7.22.0 liburiparser 0.7.5 avahi-client 0.6.30 libavcodec 53.35.0 libavutil 51.22.2 libavformat 53.21.1 libswscale 2.1.0 Installation paths: Prefix: /usr/local Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: ${datadir}/man Final Binary: /root/software/tvheadend/build.linux/tvheadend Tvheadend Data Directory: /usr/local/share/tvheadend
The install message as below:
root@test:~/software/tvheadend# make install CC src/version.o CC src/uuid.o CC src/main.o CC src/tvhlog.o CC src/idnode.o CC src/prop.o CC src/utils.o CC src/wrappers.o CC src/access.o CC src/dtable.o CC src/tcp.o CC src/url.o CC src/http.o CC src/notify.o CC src/file.o CC src/epg.o CC src/epgdb.o CC src/epggrab.o CC src/spawn.o CC src/packet.o CC src/streaming.o CC src/channels.o CC src/subscriptions.o CC src/service.o CC src/htsp_server.o CC src/htsmsg.o CC src/htsmsg_binary.o CC src/htsmsg_json.o CC src/htsmsg_xml.o CC src/misc/dbl.o CC src/misc/json.o CC src/settings.o CC src/htsbuf.o CC src/trap.o CC src/avg.o CC src/htsstr.o CC src/tvhpoll.o CC src/huffman.o CC src/filebundle.o CC src/config.o CC src/lang_codes.o CC src/lang_str.o CC src/imagecache.o CC src/tvhtime.o CC src/descrambler/descrambler.o CC src/service_mapper.o CC src/input.o CC src/http/http_client.o CC src/fsmonitor.o CC src/api.o CC src/api/api_status.o CC src/api/api_idnode.o CC src/api/api_input.o CC src/api/api_channel.o CC src/api/api_service.o CC src/api/api_mpegts.o CC src/api/api_epg.o CC src/api/api_epggrab.o CC src/api/api_imagecache.o CC src/parsers/parsers.o CC src/parsers/bitstream.o CC src/parsers/parser_h264.o CC src/parsers/parser_latm.o CC src/parsers/parser_avc.o CC src/parsers/parser_teletext.o CC src/epggrab/module.o CC src/epggrab/channel.o CC src/epggrab/module/pyepg.o CC src/epggrab/module/xmltv.o CC src/plumbing/tsfix.o CC src/plumbing/globalheaders.o CC src/dvr/dvr_db.o CC src/dvr/dvr_rec.o CC src/dvr/dvr_autorec.o CC src/dvr/dvr_cutpoints.o CC src/webui/webui.o CC src/webui/comet.o CC src/webui/extjs.o CC src/webui/simpleui.o CC src/webui/statedump.o CC src/webui/html.o CC src/webui/webui_api.o CC src/muxer.o CC src/muxer/muxer_pass.o CC src/muxer/muxer_tvh.o CC src/muxer/tvh/ebml.o CC src/muxer/tvh/mkmux.o CC src/input/mpegts/mpegts_input.o CC src/input/mpegts/mpegts_network.o CC src/input/mpegts/mpegts_mux.o CC src/input/mpegts/mpegts_service.o CC src/input/mpegts/mpegts_table.o CC src/input/mpegts/dvb_support.o CC src/input/mpegts/dvb_charset.o CC src/input/mpegts/dvb_psi.o CC src/input/mpegts/tsdemux.o CC src/input/mpegts/mpegts_network_dvb.o CC src/input/mpegts/mpegts_mux_dvb.o CC src/input/mpegts/scanfile.o CC src/epggrab/otamux.o CC src/epggrab/module/eit.o CC src/epggrab/support/freesat_huffman.o CC src/epggrab/module/opentv.o CC src/input/mpegts/linuxdvb/linuxdvb.o CC src/input/mpegts/linuxdvb/linuxdvb_adapter.o CC src/input/mpegts/linuxdvb/linuxdvb_frontend.o CC src/input/mpegts/linuxdvb/linuxdvb_satconf.o CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o CC src/input/mpegts/linuxdvb/linuxdvb_switch.o CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o CC src/input/mpegts/iptv/iptv.o CC src/input/mpegts/iptv/iptv_mux.o CC src/input/mpegts/iptv/iptv_service.o CC src/input/mpegts/iptv/iptv_http.o CC src/input/mpegts/iptv/iptv_udp.o CC src/input/mpegts/tsfile/tsfile.o CC src/input/mpegts/tsfile/tsfile_input.o CC src/input/mpegts/tsfile/tsfile_mux.o CC src/timeshift.o CC src/timeshift/timeshift_filemgr.o CC src/timeshift/timeshift_writer.o CC src/timeshift/timeshift_reader.o CC src/dvr/dvr_inotify.o CC src/avahi.o CC src/libav.o CC src/muxer/muxer_libav.o CC src/plumbing/transcoding.o CC src/descrambler/tvhcsa.o CC src/descrambler/cwc.o CC src/descrambler/capmt.o CC src/descrambler/ffdecsa/ffdecsa_interface.o CC src/descrambler/ffdecsa/ffdecsa_int.o CC src/descrambler/ffdecsa/ffdecsa_mmx.o CC src/descrambler/ffdecsa/ffdecsa_sse2.o CC tvheadend install -d /usr/local/bin install /root/software/tvheadend/build.linux/tvheadend /usr/local/bin/tvheadend install -d /usr/local/share/man/man1 install /root/software/tvheadend/man/tvheadend.1 /usr/local/share/man/man1/tvheadend.1 for bundle in docs/html docs/docresources src/webui/static data/conf data/dvb-scan; do \ mkdir -p /usr/local/share/tvheadend/$bundle ;\ cp -Lr /root/software/tvheadend/$bundle/* /usr/local/share/tvheadend/$bundle ;\ done find /usr/local/share/tvheadend -name .git -exec rm -rf {} \; &>/dev/null || /bin/true
First start command:
root@test:~# tvheadend -C 2014-06-01 09:21:37.836 [ INFO] charset: 138 entries loaded 2014-06-01 09:21:37.838 [ INFO] CSA: Using SSE2 128bit parallel descrambling 2014-06-01 09:21:37.838 [ INFO] epggrab: module eit created 2014-06-01 09:21:37.838 [ INFO] epggrab: module uk_freesat created 2014-06-01 09:21:37.838 [ INFO] epggrab: module uk_freeview created 2014-06-01 09:21:37.838 [ INFO] epggrab: module viasat_baltic created 2014-06-01 09:21:37.840 [ INFO] epggrab: module opentv-ausat created 2014-06-01 09:21:37.840 [ INFO] epggrab: module opentv-skyuk created 2014-06-01 09:21:37.840 [ INFO] epggrab: module opentv-skyit created 2014-06-01 09:21:37.841 [ INFO] epggrab: module pyepg created 2014-06-01 09:21:37.841 [ INFO] epggrab: module xmltv created 2014-06-01 09:21:37.842 [ INFO] epgdb: loaded v2 2014-06-01 09:21:37.842 [ INFO] epgdb: channels 0 2014-06-01 09:21:37.842 [ INFO] epgdb: brands 0 2014-06-01 09:21:37.842 [ INFO] epgdb: seasons 0 2014-06-01 09:21:37.842 [ INFO] epgdb: episodes 0 2014-06-01 09:21:37.842 [ INFO] epgdb: broadcasts 0 2014-06-01 09:21:37.842 [ INFO] dvr: Creating new configuration '' 2014-06-01 09:21:37.843 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface. 2014-06-01 09:21:37.843 [ NOTICE] START: HTS Tvheadend version 3.9.512~gb917ffa-dirty started, running as PID:3721 UID:0 GID:0, CWD:/root CNF:/root/.hts/tvheadend 2014-06-01 09:21:38.718 [ INFO] AVAHI: Service 'Tvheadend' successfully established.
It only show 'Electronic Program Guide' and 'Digital Video Recorder' in the web interface.
What can I do?
Linux version: Unbuntu LTS 12.04.4(3.11.0-22-generic x86_64)
Thanks!!
Replies (1)
RE: Can't access web configure interface - Added by Prof Yaffle over 10 years ago
I wouldn't personally recommend running from the command line with -C or running it as root.
Either way, it's most likely that your access control is screwed. Check in your .hts directory (/root/.hts/tvheadend), see what's there for both superuser and individual access control rules.
However, since you're on 'bunut, I'd use the Autobuild.sh script to create a .deb and then install it with dpkg - that'll ensure that everything is in the right place, and you don't have to have a privileged process running just to record TV.