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
hello,

I've installed vdr 1.5.9 and it failed to start the error message is :

vdr / # /etc/init.d/vdr start
 * Caching service dependencies
...                                                                       [
ok ]
 * Preparing start of vdr:
 *   config files
...
[ ok ]
 *   Waiting for prerequisits (devices nodes etc.)
...                                                    [ ok ]
 * Starting vdr ...
 * Failed to start vdr.

the var/log/messages

Oct  7 14:29:43 vdr vdr: [21133] VDR version 1.5.9 started
Oct  7 14:29:43 vdr vdr: [21133] switched to user 'vdr'
Oct  7 14:29:43 vdr vdr: [21133] running as daemon (tid=21133)
Oct  7 14:29:43 vdr vdr: [21133] codeset is 'UTF-8' - known
Oct  7 14:29:43 vdr vdr: [21133] found 0 locales in /usr/share/vdr/locale
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'deu,ger'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'slv,slo'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'ita'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'dut,nla,nld'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'por'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'fra,fre'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'nor'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'fin,smi'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'pol'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'esl,spa'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'ell,gre'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'sve,swe'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'rom,rum'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'hun'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'cat,cln'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'rus'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'hrv'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'est'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'dan'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'cze,ces'
Oct  7 14:29:43 vdr vdr: [21133] no locale for language code 'tur'
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/setup.conf
Oct  7 14:29:43 vdr vdr: [21133] unknown locale: '6'
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/sources.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/diseqc.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/channels.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/timers.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/commands.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/reccmds.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/svdrphosts.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/remote.conf
Oct  7 14:29:43 vdr vdr: [21133] loading /etc/vdr/keymacros.conf
Oct  7 14:29:44 vdr rc-scripts: Failed to start vdr.

It seems there a problem with the locale, my /etc/conf.d/vdr

vdr / # cat /etc/conf.d/vdr
# /etc/conf.d/vdr:
# $Id: vdr 506 2007-10-03 16:26:19Z zzam $
# Global config file for vdr rc-scripts

###########################################################
#          General Settings                               #
###########################################################

# The list of Plugins to load has been moved to a
# seperate file and can no longer be set in here.
# Now it is set in /etc/conf.d/vdr.plugins
#
# The ebuild should have copied all Plugins listed
# in here to the new location.

# What IR control should be used. Override the default set at
# compile time
# (Usable at vdr version starting from 1.3.28)
#   allowed values: lirc rcu
#   default: use no remote
#            (up to vdr-1.3.36-r2 : use what was selected by use-flag)
IR_CTRL="lirc"


###########################################################
#          Language Settings                              #
###########################################################

# Set the sort-order vdr uses
#   allowed values: locale-definitions listed by locale -a
#                   e.g. de_DE, en_GB, ...
#   default: glibc-default order (posix), or value of LANG if set and >=
vdr-1.5.3
VDR_SORT_ORDER="fr_FR"

# Set the locale vdr should use (starting from vdr-1.5.3)
#   allowed values: locale-definitions listed by locale -a
#                   e.g. de_DE, de_DE@euro, de_DE.utf8, en_GB.utf8, ...
#   default: use system-wide setting, and if none found, guess some utf8
locale
LANG="fr_FR.utf8"


###########################################################
#          Special Audio Options                          #
###########################################################

# send Dolby Digital audio to stdin of command CMD
#   allowed values: names of executables
#   default: no command
#AC3_AUDIO=""

# mute audio of the primary DVB device at startup
#   allowed values: yes no
#   default: no
#MUTE="yes"


###########################################################
#          Startup Options                                #
###########################################################

# set niceness of vdr process
#   allowed values: -19 .. 20
#   default: do not change niceness
#VDR_NICENESS="5"

# set volume at start of vdr to this value
#   allowed values: 0-255
#   default: leave volume unchanged
#STARTUP_VOLUME="255"

# set channel to be switched to at start of vdr
#   allowed values: valid channel number in vdr
#   default: leave channel unchanged
#STARTUP_CHANNEL="1"

# show vdr-version number when starting vdr
# some people like this :)
#   allowed values: yes no
#   default: no
#SHOW_VDR_VERSION=no

###########################################################
#          Terminal Output / Keyboard Input               #
###########################################################

# Start vdr on Terminal, this enables use of keyboard and
# viewing of Terminal output of vdr
#   allowed values: number of virtual terminal
#   default: start vdr completely in the background
#TERMINAL="8"

# switch to used terminal
# when attaching vdr to a terminal with setting TERMINAL
# then switch to this terminal
#   allowed values: yes no
#   default: no
#SWITCH_TO_TERMINAL="yes"


###########################################################
#          Debug Options                                  #
###########################################################

# set log level
# 0 = no logging, 1 = errors only,
# 2 = errors and info, 3 = errors, info and debug
# if logging should be done to LOG_LOCALn instead of
# LOG_USER, add '.n' to LEVEL, as in 3.7 (n=0..7)
#   allowed values: 0 1 2 3
#   default: 1
LOG="3"

# switch startskript to debug-mode, set debug-level
#   allowed values: 0 1 2
#   default: 0
#SCRIPT_DEBUG_LEVEL="1"


###########################################################
#          Expert Settings                                #
############################## #############################
#
# No need to change anything here for normal usage.
# Every setting in here has good defaults (at least I hope so).

# use DIR as video directory
#   allowed values: directory names
#   default: /var/vdr/video
#VIDEO="/var/vdr/video"

# read config files from DIR
#   allowed values: directory names
#   default: /etc/vdr
#CONFIG="/etc/vdr"

# write the EPG data into the given FILE; use '-E-' to disable this
# if FILE is a directory, the default EPG file will be
# created in that directory
#   allowed values: file/directory names, -E- to disable
#   default: $VIDEO/epg.data
#EPGFILE="/var/vdr/epg.data"

# activate the (internal to vdr) watchdog timer with
# a timeout of SEC seconds (recommended by Klaus Schmidinger)
# '0' disables the watchdog
#   allowed values: 0 1 2 ...
#   default: enabled / 60 seconds
#INTERNAL_WATCHDOG="60"

# If you seek the settings for the extern watchdog look
# in /etc/conf.d/vdr.watchdogd.

# Change the filename-format to be vfat and samba compatible. Only necessary
if
# not set at compile time.
# (Usable at vdr version starting from 1.3.32)
#   allowed values: yes no
#   default: no
#            (up to vdr-1.3.36-r2: use what was selected by use-flag)
#VFAT_FILENAMES="yes"

# use PORT for SVDRP (default: 2001)
# 0 turns off SVDRP
#   allowed values: numbers for ports between 1024 and 65535
#   default: 2001
#SVDRP_PORT="2001"

# seconds to wait for a running vdr
#   allowed values: numbers
#   default: 40
# START_SVDRP_WAIT_SECONDS="40"

# check 5 seconds for existing dvb devices, for example for slow udev
# you need to disable this for systems which only use network input
#   allowed values: yes no
#   default: yes
#DEVICE_CHECK="no"

# hostname to access vdr with svdrp
# (this normaly should not be changed)
#   allowed values: hostname or ip-address
#   default: use localhost
#SVDRP_HOSTNAME="localhost"

# force the use of old linux threads
# instead of new posix threads (NPTL)
#   allowed values: yes no
#   default: yes
#FORCE_OLD_THREADS="yes"

# for people who really know what they do
# and who want to start vdr as user root
#   allowed values: YES no
#   default: no
#START_VDR_AS_ROOT="no"

# use only the given DVB device (NUM = 0, 1, 2...)
# there may be several NUMs options
#   allowed values: set of numbers
#   default: use all DVB devices
#DEVICE=""

# give additional options to vdr process
# should not be necessary in normal cases.
# please contact developers if you need
# special parameters.
#VDR_EXTRA_OPTIONS=""
vdr / # ls /usr/share/locale/
af  ca     da  en_GB  et     eu_ES  ga  he  id  ja  lg            ms  nn
pl     ro  sk     sr  uk  zh
be  cs     de  eo     et_EE  fi     gl  hr  is  km  locale.alias  nb  no
pt     ru  sl     sv  vi  zh_CN
bg  cs_CZ  el  es     eu     fr     gr  hu  it  ko  lt            nl  pa
pt_BR  rw  sl_SI  tr  wa  zh_TW


the gentoo-vdr-scripts are 0.4.1

thanks
antoine

Replies

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