Gentoo Archives: gentoo-vdr

From: Antoine Moutiers <antoine.moutiers@×××××.com>
To: gentoo-vdr@l.g.o
Subject: [gentoo-vdr] VDR 1.5.9 failed to start
Date: Sun, 07 Oct 2007 13:38:56
Message-Id: becea450710070629x2bf08d9cl8db387df61894e2e@mail.gmail.com
1 hello,
2
3 I've installed vdr 1.5.9 and it failed to start the error message is :
4
5 vdr / # /etc/init.d/vdr start
6 * Caching service dependencies
7 ... [
8 ok ]
9 * Preparing start of vdr:
10 * config files
11 ...
12 [ ok ]
13 * Waiting for prerequisits (devices nodes etc.)
14 ... [ ok ]
15 * Starting vdr ...
16 * Failed to start vdr.
17
18 the var/log/messages
19
20 Oct 7 14:29:43 vdr vdr: [21133] VDR version 1.5.9 started
21 Oct 7 14:29:43 vdr vdr: [21133] switched to user 'vdr'
22 Oct 7 14:29:43 vdr vdr: [21133] running as daemon (tid=21133)
23 Oct 7 14:29:43 vdr vdr: [21133] codeset is 'UTF-8' - known
24 Oct 7 14:29:43 vdr vdr: [21133] found 0 locales in /usr/share/vdr/locale
25 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'deu,ger'
26 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'slv,slo'
27 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'ita'
28 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'dut,nla,nld'
29 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'por'
30 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'fra,fre'
31 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'nor'
32 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'fin,smi'
33 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'pol'
34 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'esl,spa'
35 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'ell,gre'
36 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'sve,swe'
37 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'rom,rum'
38 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'hun'
39 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'cat,cln'
40 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'rus'
41 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'hrv'
42 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'est'
43 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'dan'
44 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'cze,ces'
45 Oct 7 14:29:43 vdr vdr: [21133] no locale for language code 'tur'
46 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/setup.conf
47 Oct 7 14:29:43 vdr vdr: [21133] unknown locale: '6'
48 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/sources.conf
49 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/diseqc.conf
50 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/channels.conf
51 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/timers.conf
52 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/commands.conf
53 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/reccmds.conf
54 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/svdrphosts.conf
55 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/remote.conf
56 Oct 7 14:29:43 vdr vdr: [21133] loading /etc/vdr/keymacros.conf
57 Oct 7 14:29:44 vdr rc-scripts: Failed to start vdr.
58
59 It seems there a problem with the locale, my /etc/conf.d/vdr
60
61 vdr / # cat /etc/conf.d/vdr
62 # /etc/conf.d/vdr:
63 # $Id: vdr 506 2007-10-03 16:26:19Z zzam $
64 # Global config file for vdr rc-scripts
65
66 ###########################################################
67 # General Settings #
68 ###########################################################
69
70 # The list of Plugins to load has been moved to a
71 # seperate file and can no longer be set in here.
72 # Now it is set in /etc/conf.d/vdr.plugins
73 #
74 # The ebuild should have copied all Plugins listed
75 # in here to the new location.
76
77 # What IR control should be used. Override the default set at
78 # compile time
79 # (Usable at vdr version starting from 1.3.28)
80 # allowed values: lirc rcu
81 # default: use no remote
82 # (up to vdr-1.3.36-r2 : use what was selected by use-flag)
83 IR_CTRL="lirc"
84
85
86 ###########################################################
87 # Language Settings #
88 ###########################################################
89
90 # Set the sort-order vdr uses
91 # allowed values: locale-definitions listed by locale -a
92 # e.g. de_DE, en_GB, ...
93 # default: glibc-default order (posix), or value of LANG if set and >=
94 vdr-1.5.3
95 VDR_SORT_ORDER="fr_FR"
96
97 # Set the locale vdr should use (starting from vdr-1.5.3)
98 # allowed values: locale-definitions listed by locale -a
99 # e.g. de_DE, de_DE@euro, de_DE.utf8, en_GB.utf8, ...
100 # default: use system-wide setting, and if none found, guess some utf8
101 locale
102 LANG="fr_FR.utf8"
103
104
105 ###########################################################
106 # Special Audio Options #
107 ###########################################################
108
109 # send Dolby Digital audio to stdin of command CMD
110 # allowed values: names of executables
111 # default: no command
112 #AC3_AUDIO=""
113
114 # mute audio of the primary DVB device at startup
115 # allowed values: yes no
116 # default: no
117 #MUTE="yes"
118
119
120 ###########################################################
121 # Startup Options #
122 ###########################################################
123
124 # set niceness of vdr process
125 # allowed values: -19 .. 20
126 # default: do not change niceness
127 #VDR_NICENESS="5"
128
129 # set volume at start of vdr to this value
130 # allowed values: 0-255
131 # default: leave volume unchanged
132 #STARTUP_VOLUME="255"
133
134 # set channel to be switched to at start of vdr
135 # allowed values: valid channel number in vdr
136 # default: leave channel unchanged
137 #STARTUP_CHANNEL="1"
138
139 # show vdr-version number when starting vdr
140 # some people like this :)
141 # allowed values: yes no
142 # default: no
143 #SHOW_VDR_VERSION=no
144
145 ###########################################################
146 # Terminal Output / Keyboard Input #
147 ###########################################################
148
149 # Start vdr on Terminal, this enables use of keyboard and
150 # viewing of Terminal output of vdr
151 # allowed values: number of virtual terminal
152 # default: start vdr completely in the background
153 #TERMINAL="8"
154
155 # switch to used terminal
156 # when attaching vdr to a terminal with setting TERMINAL
157 # then switch to this terminal
158 # allowed values: yes no
159 # default: no
160 #SWITCH_TO_TERMINAL="yes"
161
162
163 ###########################################################
164 # Debug Options #
165 ###########################################################
166
167 # set log level
168 # 0 = no logging, 1 = errors only,
169 # 2 = errors and info, 3 = errors, info and debug
170 # if logging should be done to LOG_LOCALn instead of
171 # LOG_USER, add '.n' to LEVEL, as in 3.7 (n=0..7)
172 # allowed values: 0 1 2 3
173 # default: 1
174 LOG="3"
175
176 # switch startskript to debug-mode, set debug-level
177 # allowed values: 0 1 2
178 # default: 0
179 #SCRIPT_DEBUG_LEVEL="1"
180
181
182 ###########################################################
183 # Expert Settings #
184 ############################## #############################
185 #
186 # No need to change anything here for normal usage.
187 # Every setting in here has good defaults (at least I hope so).
188
189 # use DIR as video directory
190 # allowed values: directory names
191 # default: /var/vdr/video
192 #VIDEO="/var/vdr/video"
193
194 # read config files from DIR
195 # allowed values: directory names
196 # default: /etc/vdr
197 #CONFIG="/etc/vdr"
198
199 # write the EPG data into the given FILE; use '-E-' to disable this
200 # if FILE is a directory, the default EPG file will be
201 # created in that directory
202 # allowed values: file/directory names, -E- to disable
203 # default: $VIDEO/epg.data
204 #EPGFILE="/var/vdr/epg.data"
205
206 # activate the (internal to vdr) watchdog timer with
207 # a timeout of SEC seconds (recommended by Klaus Schmidinger)
208 # '0' disables the watchdog
209 # allowed values: 0 1 2 ...
210 # default: enabled / 60 seconds
211 #INTERNAL_WATCHDOG="60"
212
213 # If you seek the settings for the extern watchdog look
214 # in /etc/conf.d/vdr.watchdogd.
215
216 # Change the filename-format to be vfat and samba compatible. Only necessary
217 if
218 # not set at compile time.
219 # (Usable at vdr version starting from 1.3.32)
220 # allowed values: yes no
221 # default: no
222 # (up to vdr-1.3.36-r2: use what was selected by use-flag)
223 #VFAT_FILENAMES="yes"
224
225 # use PORT for SVDRP (default: 2001)
226 # 0 turns off SVDRP
227 # allowed values: numbers for ports between 1024 and 65535
228 # default: 2001
229 #SVDRP_PORT="2001"
230
231 # seconds to wait for a running vdr
232 # allowed values: numbers
233 # default: 40
234 # START_SVDRP_WAIT_SECONDS="40"
235
236 # check 5 seconds for existing dvb devices, for example for slow udev
237 # you need to disable this for systems which only use network input
238 # allowed values: yes no
239 # default: yes
240 #DEVICE_CHECK="no"
241
242 # hostname to access vdr with svdrp
243 # (this normaly should not be changed)
244 # allowed values: hostname or ip-address
245 # default: use localhost
246 #SVDRP_HOSTNAME="localhost"
247
248 # force the use of old linux threads
249 # instead of new posix threads (NPTL)
250 # allowed values: yes no
251 # default: yes
252 #FORCE_OLD_THREADS="yes"
253
254 # for people who really know what they do
255 # and who want to start vdr as user root
256 # allowed values: YES no
257 # default: no
258 #START_VDR_AS_ROOT="no"
259
260 # use only the given DVB device (NUM = 0, 1, 2...)
261 # there may be several NUMs options
262 # allowed values: set of numbers
263 # default: use all DVB devices
264 #DEVICE=""
265
266 # give additional options to vdr process
267 # should not be necessary in normal cases.
268 # please contact developers if you need
269 # special parameters.
270 #VDR_EXTRA_OPTIONS=""
271 vdr / # ls /usr/share/locale/
272 af ca da en_GB et eu_ES ga he id ja lg ms nn
273 pl ro sk sr uk zh
274 be cs de eo et_EE fi gl hr is km locale.alias nb no
275 pt ru sl sv vi zh_CN
276 bg cs_CZ el es eu fr gr hu it ko lt nl pa
277 pt_BR rw sl_SI tr wa zh_TW
278
279
280 the gentoo-vdr-scripts are 0.4.1
281
282 thanks
283 antoine

Replies

Subject Author
Re: [gentoo-vdr] VDR 1.5.9 failed to start Joerg Bornkessel <hd_brummy@g.o>